Re: scheduled shut down of PC's on network

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Hello bstuart177@xxxxxxxxxxxxxx,

This one is for restart the machine at 5AM, if you change "/r" to "/s" it will shutdown:

-----------------------------------------------------------------------------------------
;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 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"
-----------------------------------------------------------------------------------------

All between the lines copy to "shutdown.cmd" for example and add "shutdown.cmd" as a startup script to a GPO. The GPO link to the OU where your computers are located.

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


Hi Meinolf ,

Have you a location of where you obtained this script or did you
create from scratch?

Thanks,

Brian.



.



Relevant Pages

  • Re: Im not the administrator?
    ... Per user Group Policy Restrictions for XP Home and XP Pro ... I have Remote assistance turned ... > assistance...I'm the administrator though. ...
    (microsoft.public.windowsxp.security_admin)
  • Re: remote shutdown
    ... Remote computer is on peer network, and I can ping the remote ... Those should work great - if you are a system administrator of the ... Two machines in a workgroup. ...
    (microsoft.public.windowsxp.work_remotely)
  • Re: how to share a host computer using "remote desktop connection"?
    ... administrator users mutually exclusively dominates the host ... administrator can connect to that console session remotely ... With Windows 2000/2003- you can have multiple Terminal ... "How a Remote Desktop Connection Affects Windows XP Professional ...
    (microsoft.public.windowsxp.basics)
  • Re: rebooting OK when locked out of computer?
    ... have remote access. ... I'm locked out of my server. ... >> which were administrator accounts, for the old IT guy, ... >> administrative password works to access folders on the ...
    (microsoft.public.win2000.security)
  • Re: Performance monitor on a remote computer
    ... In the right pane of the subsequent two pane window, ... that is selected is "Local System Account". ... log counters on the remote machine. ... >> I am logged into both machines as an administrator. ...
    (microsoft.public.windowsxp.perform_maintain)