ERROR:
Error Creating Registry HKey:KEY_LOCAL_MACHINE\SOFTWARE\CLASSES\.nqa\ShellNew
RegCreateKeyEx failed; code 5
Access Denied
“Hitting RETRY or IGNORE does nothing. I then hit ABORT and it cancelled the installation”
SOLUTION:
Sometimes even administrators will not have full permission to access the registry, so you might not have full access to certain areas in the registry that nQuery accesses during program launch. Also it may appear if the user has insufficient rights on their machine.
This message appears if the keys are not deleted from a previous install of nQuery even though it appears that nQuery has been uninstalled from the machine, they need now to be manually deleted.
Check if any of the following registry keys still exist (these keys could exist from a failed install)
HKEY_CLASSES_ROOT\.nqa
HKEY_CLASSES_ROOT\.nqd
HKEY_CLASSES_ROOT\.nqr
HKEY_CLASSES_ROOT\nQueryAdvisor.DatEntrDocument
HKEY_CLASSES_ROOT\nQueryAdvisor.Document
HKEY_CLASSES_ROOT\CLSID\{32681D62-DAA8-11D1-BCA7-540611C10000}
HKEY_CLASSES_ROOT\CLSID\{32681D62-DAA8-11D1-BCA7-540611C10001}
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.nqa
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.nqd
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.nqr
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\nQueryAdvisor.DatEntrDocument
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\nQueryAdvisor.Document
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{32681D62-DAA8-11D1-BCA7-540611C10000}
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{32681D62-DAA8-11D1-BCA7-540611C10001}
If any of the above keys persist after uninstalling nQuery/nTerim it means you need to manually delete them (change permissions, owner on keys and child keys until you can delete them). You can find detailed instructions on how to take control or registry keys here.
Once all the keys are gone, right click the setup.exe file and select run as administrator. Or go to desktop icon and right click and chose run as administrator.
If the above does not resolve your issue
We have created another installer which does resolve the above issues however it has created separate issues for other users.
Please follow the steps below:
- Please make sure to un-install any version you have currently installed and restart your machine
- Once you have uninstalled and rebooted, please download the new installer by clicking here - (This may take a few moments to start downloading)
- Once you have downloaded the installation file, unzip this file
- Follow the onscreen prompts and install the software
- As you have already activated the software with previous install you should not be asked to register again.