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.
Who is Participating?
tjc123Connect With a Mentor IT DirectorCommented:
I think you can use Task Scheduler to run a program on system startup.  Have you tried that?
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.
ddantesAuthor Commented:
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.