• Welcome to Tux Reports: Where Penguins Fly. We hope you find the topics varied, interesting, and worthy of your time. Please become a member and join in the discussions.

re:Restart remote computer

  • Thread starter trashcan@xrex.us
  • Start date
T

trashcan@xrex.us

Flightless Bird
Try "%windir%\system32\shutdown.exe -r -t 00" (without the Quotes)i"ve never tried it on a remote> but it triggers an immediate reboot on my box...
 
B

Bert Hyman

Flightless Bird
In news:27t1861l837f5cpt7ekpnmj9ogh7bea3dv@4ax.com trashcan@xrex.us
wrote:

>
> Try "%windir%\system32\shutdown.exe -r -t 00" (without the Quotes)i"ve
> never tried it on a remote> but it triggers an immediate reboot on my
> box...


To reboot a remote machine you need to supply the remote hosts's name:

shutdown -r -m \\hostname

But then you run into user permissions on both the local and remote
machine, matching user names, passwords and all that.

I don't know ALL of what's involved, but run "gpedit.msc" and look at

Local Computer Policy->Computer Configuration->Windows
Settings->Security Settings->Local Policy->User Rights Assignment

where you'll find "Shut down the system" and "Force shutdown from a
remote system"

--
Bert Hyman St. Paul, MN bert@iphouse.com
 
J

JClark

Flightless Bird
Re: Restart remote computer

On Fri, 03 Sep 2010 07:19:07 -0600, trashcan@xrex.us wrote:

>
>Try "%windir%\system32\shutdown.exe -r -t 00" (without the Quotes)i"ve never tried it on a remote> but it triggers an immediate reboot on my box...

Will give it a try and report results.

Thanks.
Jack
 
J

JClark

Flightless Bird
Re: Restart remote computer

On 03 Sep 2010 13:35:36 GMT, Bert Hyman <bert@iphouse.com> wrote:

>In news:27t1861l837f5cpt7ekpnmj9ogh7bea3dv@4ax.com trashcan@xrex.us
>wrote:
>
>>
>> Try "%windir%\system32\shutdown.exe -r -t 00" (without the Quotes)i"ve
>> never tried it on a remote> but it triggers an immediate reboot on my
>> box...

>
>To reboot a remote machine you need to supply the remote hosts's name:
>
>shutdown -r -m \\hostname
>
>But then you run into user permissions on both the local and remote
>machine, matching user names, passwords and all that.
>
>I don't know ALL of what's involved, but run "gpedit.msc" and look at
>
>Local Computer Policy->Computer Configuration->Windows
>Settings->Security Settings->Local Policy->User Rights Assignment
>
>where you'll find "Shut down the system" and "Force shutdown from a
>remote system"

Advice copied and will study and give it a try.

Thanks.

Jack
 
Top