Jump to content

Easiest way to set this up in AD: nightly shutdown


Recommended Posts

Guest Thee Chicago Wolf
Posted

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

  • Replies 2
  • Created
  • Last Reply
Guest Meinolf Weber
Posted

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

>

Guest Thee Chicago Wolf
Posted

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


×
×
  • Create New...