Always getting NO$KEY when using CHECK REGISTRY
Posted: Tue Oct 01, 2013 10:54 am
Hello,
I am using Check Registry to see if certain keys/values exists. Unfortunately I am always receiving NO$KEY even if there's actually a key/value in the registry. I am using the following code:
These two are working properly:
Check Registry Key HKLM\SOFTWARE\Microsoft\Office\14.0\Outlook\Bitness into OUTLOOK_BITNESS_2010
Check Registry Key HKLM\SOFTWARE\Microsoft\Office\15.0\Outlook\Bitness into OUTLOOK_BITNESS_2013
The next four are always returning NO$KEY even though under HKLM\SOFTWARE\Microsoft\Office\14.0\Outlook\InstallRoot\Path is actually a value.
Check Registry Key HKLM\SOFTWARE\Microsoft\Office\14.0\Outlook\InstallRoot\Path into OUTLOOK_2010_INSTALLROOT_EXISTS (this must return a value the key definately exists on the machine I am testing)
Check Registry Key HKLM\SOFTWARE\Microsoft\Office\15.0\Outlook\InstallRoot\Path into OUTLOOK_2013_INSTALLROOT_EXISTS
Check Registry Key HKLM\SOFTWARE\Wow6432Node\Microsoft\Office\14.0\Outlook\InstallRoot\Path into OUTLOOK_2010_WOW6432_INSTALLROOT_EXISTS
Check Registry Key HKLM\SOFTWARE\Wow6432Node\Microsoft\Office\15.0\Outlook\InstallRoot\Path into OUTLOOK_2013_WOW6432_INSTALLROOT_EXISTS
Please advice.
I am using Check Registry to see if certain keys/values exists. Unfortunately I am always receiving NO$KEY even if there's actually a key/value in the registry. I am using the following code:
These two are working properly:
Check Registry Key HKLM\SOFTWARE\Microsoft\Office\14.0\Outlook\Bitness into OUTLOOK_BITNESS_2010
Check Registry Key HKLM\SOFTWARE\Microsoft\Office\15.0\Outlook\Bitness into OUTLOOK_BITNESS_2013
The next four are always returning NO$KEY even though under HKLM\SOFTWARE\Microsoft\Office\14.0\Outlook\InstallRoot\Path is actually a value.
Check Registry Key HKLM\SOFTWARE\Microsoft\Office\14.0\Outlook\InstallRoot\Path into OUTLOOK_2010_INSTALLROOT_EXISTS (this must return a value the key definately exists on the machine I am testing)
Check Registry Key HKLM\SOFTWARE\Microsoft\Office\15.0\Outlook\InstallRoot\Path into OUTLOOK_2013_INSTALLROOT_EXISTS
Check Registry Key HKLM\SOFTWARE\Wow6432Node\Microsoft\Office\14.0\Outlook\InstallRoot\Path into OUTLOOK_2010_WOW6432_INSTALLROOT_EXISTS
Check Registry Key HKLM\SOFTWARE\Wow6432Node\Microsoft\Office\15.0\Outlook\InstallRoot\Path into OUTLOOK_2013_WOW6432_INSTALLROOT_EXISTS
Please advice.