If your Kontakt 5 player has encountered a major problem and has been terminated, please try the following solution.
To reset Kontakt's database information to its default library and user paths
please do the following:
For PC go to C:\Users\*username*\AppData\Local\Native Instruments\Kontakt 5
To enable hidden folders on PC read this:
For Mac go to Macintosh HD > Users > ~ > Library > Application Support > Native Instruments > Kontakt 5 > Db
Note: On newer Mac OS computers where 10.7 or a later version is installed, the User Library folder is hidden. To access it, click on the Apple task bar entry
named Go and press down the Alt key. The Library entry will become visible in the drop-down menu and can now be selected.
Delete the Factory.kdb.cache, kontaktdb2 and kontaktdb2lock files
Empty Trash/Recycling Bin
Then restart Kontakt. This rescan will take a few minutes.