• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 466
  • Last Modified:

Run a script after every reboot, but not after log off and log on

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.
0
ddantes
Asked:
ddantes
  • 2
1 Solution
 
tjc123IT DirectorCommented:
I think you can use Task Scheduler to run a program on system startup.  Have you tried that?
0
 
tjc123IT DirectorCommented:
Yep:  Administrative Tools - Task Scheduler.  Add a new task and set the Trigger to begin the task on startup.  Give that a shot.
0
 
ddantesAuthor Commented:
Perfect.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now