Forgot to shut down your system and do not have direct access to it? What if I tell you that there is still a way? Do you want to know How to Remotely Shutdown or Restart a Windows Computer? If yes, then this is a must-read article exclusively for you.
So, without delaying it any further, let us get started with how to reboot remote PCs via the command prompt? So, let’s get started:
How to remotely shutdown or restart a Windows computer?
Step #1: In order to get started with the process of remote shutdown or restart a Windows computer, you will first have to enable remote registry service on each of the systems that you need to manipulate.
For this, consider the following process. First, go to the Run section using the keyboard shortcut “Win + R.” This will open the Run dialog box for you. Now you need to enter “services.msc” without quotes and hit enter.
From the subsequent window which follows up as the result of your recent activity, you need to locate “Remote Registry.” You may need to scroll down a bit for that, or you can perform a text search just by typing the few initials of the same. Now, right click on the “Remote Registry” option and then click on the “Properties” option from the menu that follows.
Now, from the next dialog box, you need to set the startup type to “Automatic” and then click on “Start” button.
This will enable the remote registry on your systems. Remember that you need to enable this on every system that you wish to shutdown or restart remotely.
Once you are done with the mentioned, then you now need to look out for our next steps.
Step #2: In this step, you are required to open the desired port on the system’s firewall. To do so, you need to click on start button, and at the text area, you are required to type “Allow a program” and then hit enter.
From the subsequent window, you now need to click on the “Change settings” button. Doing so, you will see the options to be active which were quiescent before. After this, you are required to scroll down till you find the “Windows Management Instrumentation (WMI).” Once, you have found that then you are required to enable it by clicking the checkbox next to it.
Also, take a note that you must have administrative permissions on the remote system that you wish to shutdown or restart, failing which you won’t be able to do the needful.
So, by far we are done with the basic setup. Now, we are all set to execute our commands in order to do the desired work. For that, we will have to look into the next steps.
Step #3: Now, on another computer, you are required to launch the command prompt. To shut down, the system remotely, type in the following command “shutdown /i” without quotes. This will open a graphical user interface. Now, on that remote shutdown dialog box, you are required to enter the name of the system that you wish to shutdown or restart.
Additionally, if you wish, you can also warn the users about this. Also, you can specify whether you want to shut down or restart the system.
Once you are done with all these, then you are now good to hit the “OK” button. This will do the desired work for you.
Moreover, if you don’t want to do this via the graphical user interface then you can directly type in the following command at the command prompt: “shutdown /s /m \\Shubham-PC /t 30 /c “Shutting down.” /d P:1:1”.
Change “Shubham-PC” with the desired system name and shutting down with your warning message. To restart the system, you need to replace /s with /r. Additionally, if you wish to log off the system, then you will have to replace /s with /l.
If you simply put this “shutdown /?” command on your command prompt terminal, then you will have all the list of commands relating to this.
Now, we will see how you can achieve the desired result using a Linux operating system. For this, you must have samba-common, package installed on your system. To do so, consider installing the package using the usual command like Sudo apt-get install samba-common.
This will install the desired package for you. After this, all that you need is to type in a command which requires the user account name of the system on which you want to preform the action.
You will also require the password and the IP address pf the system . Make sure to note that the user account must have the administrative rights in order to perform these actions.
Once you are all set to go then you can now type the command with the following syntax: net rpc shutdown -I ip.address -U user%password
Replace the IP address with the numerical IP address of the system, user with the user account name of the system and password with the corresponding password.
Once you are done with the mentioned, then all you need is to hit enter and voila, you have done that, kudos.
Alternatively, if you have remote desktop access, then you can also achieve the desired results.
So, this marks the end of this article on “How to Remotely Shutdown or Restart a Windows Computer?“
We hope that this article must have helped you in your quest of knowing how to restart your computer remotely?
If yes, the don’t forget to give us a thumbs up on our different social media channels. Also, do not forget to share it with your peers so that they can be benefitted with this useful information.
If you have any query or suggestions, then make a comment in the comment section. We would love to hear from you.
Thank you for stopping by and giving it an enjoyable read.
Stay tuned for more.