Home  >  Article  >  How to remotely restart the computer using command cmd

How to remotely restart the computer using command cmd

coldplay.xixi
coldplay.xixiOriginal
2020-08-13 09:37:4726070browse

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

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;

How to remotely restart the computer using command cmd

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;

How to remotely restart the computer using command cmd

3. From the remote system forced shutdown properties window, click to add a user or group, then enter guest, and finally click OK;

How to remotely restart the computer using command cmd

How to remotely restart the computer using command cmd

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;

How to remotely restart the computer using command cmd

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;

How to remotely restart the computer using command cmd

##Related learning recommendations:

Website construction tutorial

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn