Policy to make individual computers shut down at night

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am looking for a group policy to make certain peoples computers shut down
at night. Some people like to leave all of their programs open and running,
and I would like to have them shut down so the back ups work properly.

Thanks in advance,
Mark
 
Hi,

There is a program called shutdown.exe on XP and 2003 that works awesome.
However, you would have to schedule it on the individual computers. I use it
all the time to remotely restart and shutdown machines. It gives users
notice and then logs them off.

Personally I just have WUS setup to install updates in the middle of the
night and 90% of the time they restart.

Cheers,

Lara
 
On that note - the following is a vbs script I use to shut down computers
for specific users:

Option Explicit
On Error Resume Next

Dim objNetwork, WSHShell
Const WindowStyle = 0
Const WaitOnReturn = True

Set objNetwork = CreateObject("WScript.Network")

Select Case objNetwork.UserName
Case "Nate", "Nick", "Tyler"
Set WSHShell = WScript.CreateObject("WScript.Shell")
WSHShell.Run "shutdown -s -f -t 60 -c ""TIME TO GET OFF THE
COMPUTER...""", WindowStyle, WaitOnReturn
Set WSHShell = Nothing
End Select
Set objNetwork = Nothing

HTH
 
Back
Top