Do you need to be able to automatically run scripts or services at startup in Windows? I recently needed to have all of my Windows pc’s run a script everytime the box started up. For instance, every time my Windows boxes started up, I wanted all of my install scripts re-copied over to the desktop every time I rebooted the box. That way if I made a change to any of my startup scripts, I would only need to reboot a box for the new scripts to be install automatically for me. If you need this to be able to do this, just follow these quick and easy instructions:
I have tested this method and it works on the following Windows operating systems:
Windows XP, Windows Vista, Windows 7, Windows Server 2003, Windows Server 2008
1.) Go to “Start” -> “Run” -> “Notepad.exe” and type the following into your notepad document:
Windows Registry Editor Version 5.00
2.) Now save this document as “installCron.reg“.
3.) Now all that you need to do is to Double-Click the file “installCron.reg” and answer yes to the prompts. Depending on what versions of Windows that you run this on, you should get a prompt similar to the following:
“Do you want to allow the following program to make changes to this computer?”
4.) Click the “Yes” button.
5.) You should then see “Are you sure you want to continue?”
6.) Click the “Yes” button again.
7.) You should now see “The keys and values contained in C:\installCron.reg have been successfully added to the registry.”
8.) Reboot. When you Windows computer restarts, it should automatically run your script or services for you.