Run a script after every reboot, but not after log off and log on
Posted on 2013-02-06
I'm running Windows 7 Professional SP-1, and there is a script which I need to run after every instance of rebooting the system. However, I don't need the script to run if I simply log off and log on, and I would prefer to avoid running it under those conditions. So far, I've kept this script in the Startup folder, but of course it runs whether I reboot or simply log off and log on.