Wise Script is unable to Read/Get Registry value on 64 bit OS

Article:TECH32411  |  Created: 2007-07-20  |  Updated: 2010-02-09  |  Article URL http://www.symantec.com/docs/TECH32411
Article Type
Technical Solution


Issue



Wise Script is unable to retrieve information from a 64 bit registry key. 

Cause



WiseScript was originally designed to read from 32-bit registry entries only.  It does not know where to determine the regedit.exe is in a 64-bit environment.


Solution



When a 32 bit installation is installed on a 64 bit machine some keys will go to a 32-bit regedit.  You can see the keys by going to C:\Windows\Syswow64\regedit.exe which will open the 32-bit regedit and the keys will appear in the correct location.

If an application is installed as a 64bit app, and you are looking for the standard 32 bit key, Wise script will not find it, because it will be in the Syswow64 bit registry.

Another way to see the key are getting installed is to go to regedit from Start > Run and look under the wow6432node.  For example a registry entry that is as follows:  HKLM\Software\MyApplication\Key1 will be found under HKLM\Software\wow6432Node\MyApplication\Key1


Legacy ID



36414


Article URL http://www.symantec.com/docs/TECH32411


Terms of use for this information are found in Legal Notices