A remote shutdown or restart comes in handy when you have several PCs set up in different rooms and don’t want to keep visiting each machine to shut down or restart it physically. Thankfully, Windows 10 offers a utility through which you can shut down or restart PCs connected to your network.
This includes the Shutdown.exe utility that simply shuts down or restarts Windows 10 PCs in your local network once they’re configured accordingly. From here on it’s only a matter of seconds to perform the tasks remotely.
Here’s how to remotely shut down or restart your Windows 10 PC.
Enable remote registry service
If you want to shut down or restart your PC remotely, you’ll start by configuring each computer in your local network.
By default, the remote registry service is disabled. To enable it, use the steps below.
- On the Windows 10 PC you want to remotely shut down or restart, launch the Services control panel. Click Start and type
services.mscin the search bar. Press Enter to open the Services app.
- Find Remote Registry from the list of search results.
- Right-click on it and select Properties.
- Find Startup Type in the Properties Window, and set it to Automatic.
- Click Start to launch it.
- Go to the computer’s firewall, and open the required port.
In the search bar type “Allow an app through Windows Firewall.”
Click Change Settings.
- Enable the Windows Management Instrumentation (WMI) exception. You’ll need admin permissions to do this on the remote computer, otherwise the command will fail. Press OK once done.
How to Perform Remote Shutdown
In order to shut down your Windows 10 PC, take the following steps:
- Click Start and type
Press Enter. The Command Prompt window will open.
Type this command:
- In the remote shutdown dialog, add one or more names of PCs, and specify if you want to shut down or restart. You also have the option to warn users and log a message to the event log.
Note: you can find the name of the remote computer by clicking “Start -> right click Computer -> Properties.”
Use a Command Line
This method requires you to tweak some registry settings to shut down or restart your Windows 10 PC. However, you need to follow the steps carefully, as any misconfiguration in the registry can destabilize the system.
Follow these steps:
- Right-click Start and select Run.
regeditand press Enter.
Either go to the following registry key: “Computer\HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System,” or copy and paste the registry path to the address bar and press Enter.
Right-click System folder.
Select “New -> DWORD (32-bit) Value.”
Enter the label: LocalAccountTokenFilterPolicy.
Double-click the value, and change it to “1.”
Close and exit the registry.
Reboot to confirm changes. You can now shut down or restart your PC remotely.
Next, click Start and type Command Prompt.
Right-click and select “Run as Administrator.”
- At the Command Prompt window log into the computer. For example:
net use \\MachineNameand press Enter.
At the Microsoft Account ID or machine, type your username and password.
and press Enter.
Depending on the switches you pick, your remote computer should shut down or restart automatically.
You can also specify longer periods for these processes, and to ensure it shuts down or restarts, add
/f switch to the command line as follows:
to close any running apps on the remote machine.
This method helps when you want to remotely shut down or restart a Windows 10 PC at the same time every day.
While using a command line works, it may be a drag if you have to do this every time. The easier option is to automate the process of shutting down and/or restarting all your Windows 10 PCs.
To do this:
- Launch Notepad.
Enter the remote shutdown and/or restart command with the network of each computer on a new line. For example:
Note: depending on whether you want to shut down (-s) or restart (-r), you can modify the switches and then save the file on your desktop using .the bat extension, i.e. shutdownrestart.bat.