- 256-bit encryption and complete privacy
- Multi-platform support for all major operating systems
- Fast and intuitive file transfer
- Session Recording for Basic Operations
- High Frame Rate for Simplified Troubleshooting
- Get the Son of God
If you are in the office or at home and With multiple computers set up in different rooms, it can be difficult to restart each computer. You can use Windows CMD to restart a remote computer without having to physically restart the computer.
However, for this to work, you need to make sure that the remote computer you want to restart is on the same network as the remote computer you are using. Additionally, you will need administrative credentials or a username and password.
You also need to enable remote shutdown on the host for this to work properly. If you don’t want to use CMD, you can use some of the best remote reboot software to control Windows 10/11.
Using the Windows Shutdown Command to Restart a Remote Computer
The Windows operating system comes with a shutdown command that can be used to restart a remote computer using CMD. It is available for Windows 11, 10, 8 and even 7 users. This command is closed.
This command provides the user with several options to use when restarting or shutting down the computer. Some of the most common options include:
- /r - Used to restart the computer.
- /s – used when shutting down the computer.
- /m \\computer - Used to specify the remote computer to restart or shut down.
- /l – Used to log out of the computer.
- /t xx – Used when setting the timeout before restarting or shutting down to xx seconds.
- /c "comment" - Used when you want to display a specific message on the screen before restarting or shutting down.
How to restart a remote computer using CMD?
1. Use the shutdown command
- Click the Start button in the lower left corner in Windows 10 or previous versions of Windows operating system. However, the Start button is located in the center of the Windows 11 taskbar.
- Type cmd or command prompt in the search box.
- Right-click on the command prompt to get the menu to the right of the CMD icon.
- Select Run as administrator to launch the command prompt with administrative rights. However, you need to log in as an administrator to ensure that command line access is not denied.
- Type the following command, replacing computer name with the name of the PC you want to restart:
shutdown /m \\computername /r
- If you want To close all programs before restarting, type /f followed by a space. However, users are notified to save their work.
- Add /c after /f and then type a message in quotes to send a message to the remote computer before restarting. Your command will now look like this
shutdown /m \\computername /r /f /c "This computer is about to restart"
- You will get a remote shutdown dialog window. Click Add on the right side of the Remote Shutdown dialog window.
- Type the IP address of the computer you want to restart and click the OK button. This allows you to restart the remote computer using its IP address.
- Select the action you want the remote computer to perform. In this case, choose Restart.
- Click the Warn users of this action check box to set a timer for the computer to restart. However, this is optional.
- Type the number of seconds the computer should delay before restarting.
- Click the Scheduled checkbox to create an event tracker for remote restart. Again, this is optional.
- Select a reason for restarting from the drop-down list and type a note that you want to display on the computer before it restarts.
- Click the OK button.
3. Windows Powershell
- Click the Start button and type Powershell.
- Right-click Windows Powershell and select Run as administrator.
- Run the following command to use Powershell to restart a remote computer even if it is in use.
Restart-Computer -ComputerName REMOTE_COMPUTER_NAME -Force
- Replace REMOTE_COMPUTER_NAME with the name of the computer you want to restart and press Enter.
The three options discussed above will help you easily reboot a remote computer using CMD without having to physically access the computer. However, make sure you save all your work before starting the process. If you don't do this, you may end up losing your unsaved work.
You can also use special tools like Redmi 3 to access any remote computer in a short time. The software will provide you with secure access to safely reboot any remote PC on your network.
The above is the detailed content of 3 Easy Ways to Restart a Remote Computer Using CMD. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

Dreamweaver Mac version
Visual web development tools

ZendStudio 13.5.1 Mac
Powerful PHP integrated development environment

SAP NetWeaver Server Adapter for Eclipse
Integrate Eclipse with SAP NetWeaver application server.

DVWA
Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software