• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 472
  • 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
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.

Join & Write a Comment

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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