Run registry key Windows 7 x64

Posted on

Problem :

I’m trying to run a script on start-up using:

 HKCUSoftwareMicrosoftWindowsCurrentVersionRun    Reg_SZ:"C:TempFile.bat"

It works fine on X32, but not on x64. Is there maybe a policy locking this from running? UAC is off.

Solution :

On windows 64-bit you must always put 64 bit entries in HKEY_CURRENT_USERSoftwareWow6432Node ore one of the “Wow6432Node” folders accordingly

Hope this helps

Leave a Reply

Your email address will not be published. Required fields are marked *