How to remotely restart the computer using command cmd: first open run and enter the command [gpedit.msc]; then open [force shutdown from remote system] and add users and groups; finally open cmd and use the shutdown command Just restart the computer remotely.
How to remotely restart the computer using command cmd:
1. Press the Win R key combination to open Run. And enter: gpedit.msc command, OK or press Enter, you can quickly open the local group policy editor;
2. Local Group Policy Editor In the window, expand to: Computer Configuration - Windows Settings - Security Settings - Local Policies - User Rights Assignment, and then double-click to open Force Shutdown from Remote System on the right;
3. From the remote system forced shutdown properties window, click to add a user or group, then enter guest, and finally click OK;
4. In this way, there will be an additional guest group in the group. If the login user Administrator of the computer system you want to shut down has set a password, "Access Denied" will still be prompted when shutting down remotely. At this time, To start the "Guest Account" in the "Control Panel", "Add or Delete Account";
5. After the above steps are completed, open cmd and you can use the shutdown command to remotely restart Computer, assuming that the IP of the host we want to restart is 192.168.1.101, then we can enter "shudown –r \192.168.1.101-t 2700" to restart the remote host with IP 192.168.1.101 after 45 minutes. Of course, the IP You can also use the computer name, 2700 is the number of seconds;
6. If you don’t know how to use the shutdown command, you can enter it directly in cmd And press enter to execute shutdown /?, so that the usage of the command can be displayed;
##Related learning recommendations:
The above is the detailed content of How to remotely restart the computer using command cmd. For more information, please follow other related articles on the PHP Chinese website!