Solved

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

Posted on 2013-02-06
3
456 Views
Last Modified: 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.
0
Comment
Question by:ddantes
  • 2
3 Comments
 
LVL 5

Accepted Solution

by:
tjc123 earned 500 total points
ID: 38862546
I think you can use Task Scheduler to run a program on system startup.  Have you tried that?
0
 
LVL 5

Expert Comment

by:tjc123
ID: 38862548
Yep:  Administrative Tools - Task Scheduler.  Add a new task and set the Trigger to begin the task on startup.  Give that a shot.
0
 

Author Closing Comment

by:ddantes
ID: 38862635
Perfect.
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

By now, it is common knowledge that Windows 7 has been successfully been able to live up to the hype of being touted as Microsoft’s most anticipated O.S. ever. This latest 2010 Windows release builds up on its predecessor’s positives, adding new…
One of the features I've come to appreciate about Windows 7 and Windows Server 2008 R2 is the ability to pin applications to the task bar. As useful a feature as I've found this, it does have some quirks.  For example, have you ever tried pinning an…
This Micro Tutorial will go in depth within Systems and Security in Windows 7 and will go into detail regarding Action Center, Windows Firewall, System, etc. This will be demonstrated using Windows 7 operating system.
This Micro Tutorial will give you a basic overview of Windows DVD Burner through its features and interface. This will be demonstrated using Windows 7 operating system.

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now