Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Schedule task at login via script

Status
Not open for further replies.

rollox

MIS
Oct 21, 2002
15
0
0
GB
Howdy,

I would like to know how to add a scheduled task via a login script (if it possible). The script I created produces an access denied error message when it runs. I think it is user permissions related and I know there is no GP preventing access.

I do not wish to elevate user permissions on the desktops but on a test account I made the user a local admin and the AT command is executed OK.

Below is the script:

@echo off
at 10:00 shutdown.exe -s -f
exit

Any suggestions would be most welcome.

Cheers

Rollox
 
Yes, there are a couple of quirks with it but it does work fairly well!


Carlsberg don't run I.T departments, but if they did they'd probably be more fun.
 
Pinkpanther56/Grenage

Thanks for the suggestions - I will download and try.

cheers

Paul
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top