Restart PC remotely

Posted on 2011-04-26
Medium Priority
Last Modified: 2012-05-11

I would like to know how to restart a pc via network adapter ?  can someone explain me this detaily ?
Question by:kriiis
LVL 23

Expert Comment

by:Brian Gee
ID: 35470490
If you want to restart a Windows PC on the network for which you have administrative rights, you can always do so from the command line (Start > Run > cmd).

shutdown -r -f -t 0 -m \\remote_computer

This will restart the system forcefully and will begin the process immediately (without waiting).

Expert Comment

ID: 35470592
If you have admin rights on the other computer, you can do it this way

shutdown -i
After add the computer(s)
set the time and clic ok

Expert Comment

ID: 35470660
If I am not wrong - You want to reboot the machine via remote.

You cane use - shutdown and shutdown -i as mentioned by Vobri and MaximR

You can also use PSSHUTDOWN - by Microsoft sisinternal - Powerfull tool with many advanced switches - Free :)

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

LVL 23

Assisted Solution

by:Danny Child
Danny Child earned 100 total points
ID: 35471326
link to psshutdown - as part of PSTools

similar command line to above:
psshutdown -r -f -t 0 \\remote_computer

-r is for Reboot
-f is for Force (closes applications without saving work) - a bit brutal, but sometimes you just gotta do it.
-t is Time before shutdown (default is 20 seconds, so the zero after this makes it take effect immediately.
and the remote_computer is either the name or IP of the PC in question.

... other switches are also available ...

Author Comment

ID: 35494938
!thanks for your quick replies.

This can be done only with the POE switches ? or it works as well for the normal swithces ?

Can i restart a domain pc from an external pc outside the office ?

Pstools should be installed on all the workstations which i need to restart  ?

LVL 23

Accepted Solution

Brian Gee earned 400 total points
ID: 35811610
1) Using the switches noted above after the noted shutdown commands is all you need for this to work.

2) Yes, if you're using a VPN connection that has your domain credentials to authenticate against the network.

3) PSTools only need be installed on the system you will issuing commands from.
LVL 23

Expert Comment

by:Brian Gee
ID: 35811620
Stopping the deletion process to have the question originator respond to the latest reply.

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup" or a blinking cursor with black screen. A loop for Auto repair will start but fix nothing.  You will be panic as there are no back…
On some Windows 7 (SP1) computers, Windows Update becomes super slow even the computer is reasonably fast.  There's one solution that seemed to have worked well for me (after trying a few other suggested solutions).
This Micro Tutorial will teach you how to change your appearance and customize your Windows 7 interface to your unique preference. This will be demonstrated using Windows 7 operating system.
This Micro Tutorial will give you a basic overview of Windows Live Photo Gallery and show you various editing filters and touches to photos you can apply. This will be demonstrated using Windows Live Photo Gallery on Windows 7 operating system.
Suggested Courses
Course of the Month17 days, 11 hours left to enroll

829 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question