Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .