Computing.Net > Forums > Windows XP > rebooting with batch file

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

rebooting with batch file

Reply to Message Icon

Name: hobeau
Date: June 8, 2004 at 12:18:55 Pacific
OS: Windows XP
CPU/Ram: 1 Ghz, 512 Mb
Comment:

I'm trying to set up a scheduled task to reboot my computer at night with a batch file. The batch file I created works fine when I click on it, but when I set it up with my scheduled task manager, it didn't run the file for some reason. Can anyone help?



Sponsored Link
Ads by Google

Response Number 1
Name: wanderer
Date: June 8, 2004 at 13:01:57 Pacific
Reply:

make sure you are the account the schedule is running under and not the default system account which doesn't have enough permissions


0

Response Number 2
Name: trdj
Date: June 8, 2004 at 16:01:11 Pacific
Reply:

it's true dbl-clicking a bat file yourself and having it run under the scheduled tasks are going to run from two different accounts and it most likely the cause of your problem.

You can use the RUNAS command to specify which user to run a specific command.

hope that helps.


0

Response Number 3
Name: hobeau
Date: June 9, 2004 at 09:44:40 Pacific
Reply:

Thanx guys, Got it.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows XP Forum Home


Sponsored links

Ads by Google


Results for: rebooting with batch file

Change prompt with batch file www.computing.net/answers/windows-xp/change-prompt-with-batch-file/147732.html

amending ini with batch file www.computing.net/answers/windows-xp/amending-ini-with-batch-file/165397.html

Help with BATCH FILE www.computing.net/answers/windows-xp/help-with-batch-file/129579.html