Easiest way to set this up in AD: nightly shutdown

  • Thread starter Thread starter Thee Chicago Wolf
  • Start date Start date
T

Thee Chicago Wolf

Guest
Our site is testing and will eventually migrate to AD on Server 2003.
I've had the client machines set up with a scheduled task to shut down
nightly at 10:10PM using Run As local Admin. A couple of test machines
we've joined to AD no longer shut down.As far as I can tell, the
local admin account no longer does it's job and the scheduled task no
longer runs. What's the easiest way to set this up via AD? Cheers.

- Thee Chicago Wolf
 
Re: Easiest way to set this up in AD: nightly shutdown

Hello Thee,

We have created a scheduled task with a startup script for rebooting:

;Create the scheduled task on remote workstation's
if not exist c:\winnt\tasks\at1.job at 05:00 /every:m,t,w,th,f,s,su shutdown.exe
/r /t 120 /c "This computer will shutdown and restart automatically, please
close your open applications. Your Administrator." /f

:Copy the shutdown.exe to remote workstation
if not exist c:\WINNT\system32\shutdown.exe copy "\\domainname\netlogon\shutdown.exe"
"c:\WINNT\system32\shutdown.exe"

So modify it for your needs of shutdown instead of rebooting.

Best regards

Meinolf Weber
Disclaimer: This posting is provided "AS IS" with no warranties, and confers
no rights.
** Please do NOT email, only reply to Newsgroups
** HELP us help YOU!!! http://www.blakjak.demon.co.uk/mul_crss.htm


> Our site is testing and will eventually migrate to AD on Server 2003.
> I've had the client machines set up with a scheduled task to shut down
> nightly at 10:10PM using Run As local Admin. A couple of test machines
> we've joined to AD no longer shut down.As far as I can tell, the
> local admin account no longer does it's job and the scheduled task no
> longer runs. What's the easiest way to set this up via AD? Cheers.
>
> - Thee Chicago Wolf
>
 
Re: Easiest way to set this up in AD: nightly shutdown

>Hello Thee,
>
>We have created a scheduled task with a startup script for rebooting:
>
>;Create the scheduled task on remote workstation's
>if not exist c:\winnt\tasks\at1.job at 05:00 /every:m,t,w,th,f,s,su shutdown.exe
>/r /t 120 /c "This computer will shutdown and restart automatically, please
>close your open applications. Your Administrator." /f
>
>:Copy the shutdown.exe to remote workstation
>if not exist c:\WINNT\system32\shutdown.exe copy "\\domainname\netlogon\shutdown.exe"
>"c:\WINNT\system32\shutdown.exe"
>
>So modify it for your needs of shutdown instead of rebooting.
>
>Best regards
>
>Meinolf Weber
>Disclaimer: This posting is provided "AS IS" with no warranties, and confers
>no rights.
>** Please do NOT email, only reply to Newsgroups
>** HELP us help YOU!!! http://www.blakjak.demon.co.uk/mul_crss.htm


Cheers. I'll give it a shot.

- Thee Chicago Wolf
 
Back
Top