Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

 HKCU\Software\Microsoft\Windows\CurrentVersion\Run    Reg_SZ:"C:\Temp\File.bat"

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

share|improve this question
    
We need additional information. How can you tell the script is never being ran? –  Ramhound Aug 22 '12 at 14:07
    
For test purposes I used a simple display which just echoed some text and paused, also I do not see a cmd.exe in the processes task window. –  Nimjox Aug 22 '12 at 14:15
    
I am going to guess you using the wrong registry key. –  Ramhound Aug 22 '12 at 14:49
    
I thought I must have been mistyping it, but I've triple check the directory spelling, and location. I've tried using the run key under HKCU and HKLM, like I mentioned it works fine under x32 in HKCU. –  Nimjox Aug 22 '12 at 15:05

1 Answer 1

On windows 64-bit you must always put 64 bit entries in HKEY_CURRENT_USER\Software\Wow6432Node ore one of the "Wow6432Node" folders accordingly

Hope this helps

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.