> Thank you for your reply. I am not sure if you read the > entire thread. My script runs fine on a NT 4 server scheduled > with the AT command. It works with out a glitch if I launch > it manually from a command window while I am logged in on a > 2000 or 2003 server, and it runs correctly if I schedule it > using " Task Scheduler " on a 2000 or 2003 server.
When you use Task Scheduler you have to put in a username/password - presumably you're putting in a username with rights to shutdown a remote server. > The problem I am having is, It does not work if I try and > schedule it on a 2000 or 2003 server if I use the AT command. When you use AT you don't put in an explict username/password; instead it uses the one specified in the service control app; unless you've changed it, this will be LocalSystem - this doesn't have rights to shutdown a remote server. > I know that this may seem trivial, since it works using the " > Task Scheduler ", but just for the sake of curiosity and for > my own better under standing, I would like to try and solve > how I can make it run using the AT command. Change the account under which the Task Scheduler service runs to the one which can shutdown remote systems (ie Start | Settings | Control Panel | Admin Tools | Services. Find Task Scheduler, look at properties, and on the logon tab put in a username and password) Steve List info : http://www.activedir.org/List.aspx List FAQ : http://www.activedir.org/ListFAQ.aspx List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/
