andguent Posted March 8, 2005 Posted March 8, 2005 (edited) I have a larger complicated script which is supposed to do multiple things to the computer (XPPro) and then force the computer to reboot. It does 99% of the work, but never reboots. I made a one line AutoIt Script that does this and only this: Shutdown(6) I then compiled it, and set it as a scheduled task (sched task is running as admin). It still will not reboot the computer. Other scheduled tasks work fine while logged out. Am I doing something wrong? I have everything except this one little thing working. Any and all ideas appreciated. Thanks. --Edit-- Oh, and the compiled shutdown script works fine if I double click on it while logged in. Edited March 8, 2005 by andguent
CyberSlug Posted March 8, 2005 Posted March 8, 2005 (edited) Might apply:http://www.jsifaq.com/subn/tip6600/rh6655.htmhttp://www.microsoft.com/resources/documen...oubleshoot.mspxhttp://support.microsoft.com/?kbid=814761Alternative that looks promising:http://www.beyondlogic.org/solutions/shutdown/shutdown.htm Edited March 8, 2005 by CyberSlug Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig!
andguent Posted March 9, 2005 Author Posted March 9, 2005 The built in C:\Windows\System32\shutdown.exe did the trick for me. It is short on features (and ability for user to cancel) but it works. I just hoped that AutoIt's built in function would do what I wanted. Thanks for the great info slug. The beyondlogic site looks impressive.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now