How to Restart a Windows Computer Remotely Using the Command Line
Enable remote start
You need to make sure you're using the computer you want to restart. Before restarting a computer remotely on the network, you must set up the computer to receive remote instructions.
Open Start . Click the Windows icon in the lower left corner of the screen.
Enter servicesStart. Your computer will find the Services application.
Click the gear-shaped Services option at the top of the Start window. The Services window will open.
If this option doesn't appear, type services.mscStart to force the application to appear.
Scroll down and click Remote Registry . This option is located in the "R" section of the main window. Click Remote Registry to select it.
Click the folder-shaped "Properties" icon in the gray frame just below the View tab at the top of the window. The Properties window will open.
Click the "Startup type" drop-down box. This box is to the right of the "Startup type" heading in the middle of the window. A drop-down menu will appear.
Select Automatic . Click Automatic in the drop-down menu.
Click OK at the bottom of the window. So this computer has been enabled for remote restart.
Allow remote boot on Firewall
Open Start . You need to make sure you're still using the computer you want to remotely restart.
Enter firewallStart. The Windows Firewall application will be found.
Click Windows Firewall . The app has a globe and a brick wall at the top of the Start window.
Click Allow an app or feature through Windows Firewall. This link is in the upper left corner of the window. A list of programs and services on your computer opens.
Click Change settings . Options in the upper right corner of the program list. List of programs to be unlocked.
Scroll down to the "Windows Management Instrumentation (WMI)" option. This option is near the bottom of the program list.
Check the "Windows Management Instrumentation" box to the left of this option.
If this computer is on a public network, you will need to check the "Public" box on the right side of the page.
Click OK at the bottom of the window. The computer will no longer block remote access through the firewall.
Find the computer name
Open Start . Again, you must do this on the computer you want to restart, not the computer to which you are sending the "Restart" command.
Open File Explorer. Click the folder icon on the Start window.
Click This PC . This desktop image option is on the left side of the File Explorer window.
Click the Computer tab in the upper left of the window. A toolbar will appear below the card.
Click Properties . This option has a red check mark in a white frame on the left side of the toolbar. The computer's Properties page opens.
Record the computer name. The "Computer name" section will appear below the "Computer name, domain, and work group settings" heading in the center of the page.
You need to write down the exact computer name displayed in this menu.
Restart via Command Prompt
Open another computer on your network. This computer must have administrator rights and be on the same network as the computer you want to restart.
Open Start . Click the Windows icon in the lower left corner of the screen.
Enter cmdthen press ↵ Enter. Command Prompt will open.
Type shutdown /iinto Command Prompt, then press ↵ Enter. This command will open a window for you to remotely restart another computer.
Click Add… on the right side of the window. Another window will open.
Enter another computer name. Enter the name of the computer you want to restart in the text field on the window.
If you haven't looked up the computer name before, do so before continuing.
Click OK at the bottom of the window.
You need to make sure that computer is set up to reboot. In the "What do you want these computers to do" section, click the drop-down box and select Restart if the option isn't already visible here.
You can also check or uncheck the option to send a warning to users of this computer before shutting down, or you can customize the time limit for restarting (by default it is 30 seconds).
Click OK at the bottom of the screen. The other computer will restart immediately after the time limit expires.
You should read it
- 8 Ways to Restart a Windows computer, restart when it crashes or freezes
- How to shut down or restart a Windows 10X computer
- How to Remotely Restart a Windows Machine Through Command Line
- How to restart (restart) applications on Windows 11 and Windows 10
- How often should I restart my computer?
- How to restart the computer using PowerShell
- How to Restart a Mac
- Instructions to turn off and restart the remote computer on Windows
May be interested
- Forget the GUI, the Command Line is returningmanaging windows to the cloud also means a command line revival with powershell and bash.
- 12 best command line emulators for Windowsnowadays, users can get a shell inside windows 10, but many still prefer configurable command line emulators. therefore, this article will introduce to you five of the best command line emulator software for windows 10.
- Command line parameter in Cthis chapter only really makes sense for you if you are using a command promt to compile the program. it is possible to pass values from the command line - command line to program c when it is executed.
- Ways to restart a Windows 11 PCin some situations, you will need to restart your windows 11 pc to fix problems, install updates, complete the installation process, or perform some other necessary tasks.
- Instructions for using Command Promptdeep in windows is a command-line world that is obscure. in this article, we will show you how to solve errors and make your computer more secure.
- How to Use the Net Send commandnet send is a windows xp command-line tool used to send messages to other users and computers on a local network. on windows vista, net send is replaced by a command line tool with similar syntax and features, msg.exe. net send cannot send messages from a windows xp computer to a computer using a later version of windows.
- How to Open a Command Line Program on Windowstipsmake today will show you how to open the command prompt command line window on windows pc. you can open command prompt from the start menu or any folder in file explorer. besides, the windows run feature is also an option.
- The Nox App Player command line parameters supportthis article will list for you some command line parameters that nox app player supports (from version 3.0 and above). these command line parameters are used to set up system settings, launch applications and control nox.
- 10 tips for using Command Line Windows 10 users should knowyou can use the cmd command to perform some tasks that normally only use mouse, drag and click. the cmd command is also quite useful when you need to create scripts and automated tasks.
- 8 Ways to Restart a Windows computer, restart when it crashes or freezeswhether your pc is slow because it has too much data or you just installed new software that requires a reboot. in either case, you should restart your windows computer to fix the problems. in fact, this operation is not limited to windows but it is also used on many other types of devices such as android, ios, macbook.