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.msc in 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.”
- Press Enter.
- 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 Command Prompt.
- 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.
- Type regedit and press Enter.
- Go to the following registry key:
- 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 \MachineName and press Enter.
- At the Microsoft Account ID or machine, type your username and password.
- Type 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.
Batch File
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. Drop us a comment, and let us know which of these methods worked for you.