Удаленная перезагрузка

Обсуждение программ nnCron и nnCron LITE

Удаленная перезагрузка

Postby tim777 » Thu, 11 Jul 2013, 23:41

Подскажите, пожалуйста, как удалённо по локальной сети перезагрузить ( отключить ) компьютер?
reboot shutdown вроде только локально работают.
Posts: 28
Joined: Tue, 22 Jun 2010, 15:07

Re: Удаленная перезагрузка

Postby elos » Fri, 12 Jul 2013, 07:44

У sysinternals есть великолепно работающее:
Code: Select all
psshutdown -s|-r|-h|-d|-k|-a|-l|-o [-f] [-c] [-t [nn|h:m]] [-v nn] [-e [u|p]:xx:yy] [-m "message"] [-u Username [-p password]] [-n s] [\\computer[,computer[,...]|@file]
   -a          Abort a shutdown (only possible while countdown is in progress)
   -c          Allow the shutdown to be aborted by the interactive user
   -d          Suspend the computer
   -e          Shutdown reason code (available on Windows XP and higher).
               Specify 'u' for unplanned and 'p' for planned
               shutdown reason codes.
               xx is the major reason code (must be less than 256)
               yy is the minor reason code (must be less than 65536)
   -f          Forces running applications to close
   -h          Hibernate the computer
   -k          Poweroff the computer (reboot if poweroff is not supported)
   -l          Lock the computer
   -m          Message to display to logged on users
   -n          Specifies timeout in seconds connecting to remote computers
   -o          Logoff the console user
   -p          Specifies optional password for user name. If you omit this
               you will be prompted to enter a hidden password.
   -r          Reboot after shutdown
   -s          Shutdown without poweroff
   -t          Specifies countdown in seconds until shutdown (default is 20) or
               the time of shutdown (in 24 hour notation)
   -u          Specifies optional user name for login to remote
   -v          Display message for the specified number of seconds before
               the shutdown. If you omit this parameter the shutdown
               notification dialog displays and specifying a value of 0
               omits the dialog.
   computer    Shutdown the computer or computers specified
   @file       Shutdown the computers listed in the file specified

psshutdown \\NETBOOK -u user -p password -s
Posts: 669
Joined: Tue, 25 Apr 2006, 11:15

Return to nnCron forum (Russian)

Who is online

Users browsing this forum: No registered users and 2 guests