How to Remotely Shutdown any Computer with CMD New 2018

How to Remotely Shutdown a Computer

Five Methods:

If you have multiple computers on your network, you can shut them down remotely regardless of their operating system. If you are using Windows, you'll need to set the remote computer to be able to shut down remotely. Once this is set up, you can perform the shut down from any computer, including Linux. Mac computers can be shut down remotely with a simple Terminal command.


Enabling the Remote Registry Service (Windows)

  1. Open the Start menu on the computer you want to be able to shut down remotely.Before you can remotely shut down a Windows computer on your network, you'll need to enable Remote Services on it. This requires administrator access to the computer.
    • If you're trying to shut down a Mac remotely, click here.
  2. Typeservices.mscwhile the Start menu is open and pressEnter.This start the Microsoft Management Console with the "Services" section open.
  3. Find "Remote Registry" in the list of services.The list is sorted alphabetically by default.
  4. Right-click "Remote Registry" and select"Properties."This will open the Properties window for the service.
  5. Select "Automatic" from the "Startup type" menu.Click "OK" or "Apply" to save changes.
  6. Click the Start button again and type"firewall."This will launch Windows Firewall.
  7. Click"Allow and app or feature through Windows Firewall."You'll find this on the left side of the window.
  8. Click the "Change settings" button.This will allow you to make changes to the list below it.
  9. Check the "Windows Management Instrumentation" box.Check the box in the "Private" column.

Shutting Down the Windows Computer Remotely

  1. Open the Command Prompt on your computer.You can use the Shutdown program to manage the shutdown process for multiple computers on your network. The quickest way to open the program is to use the Command Prompt.
    • Windows 10 and 8.1 - Right-click the Windows button and select "Command Prompt."
    • Windows 7 and earlier - Select "Command Prompt" from the Start menu.
  2. Typeshutdown /iand pressEnter.This will start the Remote Shutdown utility in a separate window.
  3. Click the "Add" button.This will let you add a computer on your network that you want to manage the shutdown process for.
    • You can add multiple computers as long as they are all configured for remote shutdown.
  4. Enter in the computer name.Enter the computer's name and then click "OK" to add it to the list.
    • You can find a computer's name in its "System" window (Win+Pause).
  5. Set your shutdown options.There are several options you can set before you send the shutdown signal:
    • You can choose to shutdown the remote computer or restart it.
    • You can warn the users that their computers will be shut down. This is highly recommended if you know people are using the computers. You can adjust the length of the warning that is displayed.
    • You can add a reason and comment at the bottom of the Window. These will be added to the logs, which is important if you have multiple administrators or need to be able to review your actions later.
  6. Click "OK" to shut down the remote computers.If you set a warning time, the computers will shut down when it expires, otherwise they will shut down immediately.

Shutting Down the Windows Computer Remotely from Linux

  1. Prepare the remote computer for remote shutdown.Follow the steps in the first section of this article to prepare the Windows computer for remote shutdown.
  2. Find the remote computer's IP address.You'll need to know the remote computer's IP address in order to shut it down from Linux. There are several ways you can determine this:
    • Open the Command Prompt on the remote computer and typeipconfig. Look for theIPv4address.
    • Open your router's configuration page and look for the DHCP client table. This will display all of the devices connected to your network.
  3. Open the Terminal on the Linux computer.The Linux computer will need to be connected to the same network as the Windows computer you are shutting down.
  4. Install Samba.This protocol is required to connect to the Windows computer. The following command will install Samba in Ubuntu:
    • sudo apt-get install samba-common
    • You'll be required to enter your Linux root password in order to proceed with the installation.
  5. Run the remote shutdown command.Once the Samba protocol has been installed, you can perform the shut down command:
    • net rpc shutdown -IIP address-Uuser%password
    • ReplaceIP addresswith the remote computer's IP address (e.g.
    • Replaceuserwith the Windows user's username.
    • Replacepasswordwith the Windows user's password.

Shutting Down a Mac Computer Remotely

  1. Open the Terminal on another Mac on your network.You can use the Terminal to shut down any Mac on your network that you have administrator access to.
    • You can find the Terminal in the Utilities folder in your Applications directory.
    • You can do this from Windows by using an SSH program such as PuTTY to connect to the Mac via the command line. See for details on using PuTTY. Once you're connected via SSH, you can use the same following commands.
  2. Type[email protected].Replaceusernamewith your username for the remote computer. Replaceipaddresswith the remote computer's IP address.
    • See for details on finding a Mac's IP address.
  3. Enter your user password for the remote Mac when prompted.After entering the command on the previous step, you'll be prompted to enter the password for that user account.
  4. Typesudo /sbin/shutdown nowand pressReturn.This will immediately shut down the Mac computer remotely, and your SSH connection with the computer will be severed.
    • If you'd rather restart the computer, add-raftershutdown.

Shutting Down Windows 10 Remote Desktop

  1. Click anywhere on your blank desktop.If the desktop is not activated, you'll close the active program instead of opening the shut down menu. Make sure the desktop is active and all other programs are closed or minimized.
  2. PressAlt+F4while logged in remotely.If you use Windows 10 Remote Desktop, you may have noticed that there is no Shut Down option in the Power menu. If you need to shut the computer down, you can do so from the new Shut Down Windows menu.
  3. Select "Shut down" from the drop down menu.You can also choose from the other options, including "Restart," "Sleep," and "Sign out."
  4. Click "OK" to shut down the computer.Since you are using Remote Desktop, you will lose your connection to the remote computer.

Community Q&A

  • Question
    How can I shut down a remote computer without administrative access, and how can I have administrative access to another computer?
    wikiHow Contributor
    Community Answer
    On the remote computer, run command prompt, then enter: "net user administrator /active:yes without the quotation marks.
  • Question
    When I type "net view", no computer names come up. What can I do?
    wikiHow Contributor
    Community Answer
    You can use cmd (command prompt on windows) to remotely shutdown computers on the same network. Step 1 - open cmd as an admin by searching it up in the start menu, or by hitting Win+R and typing cmd. Step 2 - Type "shutdown /i" (no quotes). Step 3 - Press "add" on the top left corner of the popup, and then type in the IP address or name of the computer you want to remotely shut down.
  • Question
    My computer is saying that access is denied. How can I fix this?
    wikiHow Contributor
    Community Answer
    You need to make sure you have administrator access on both computers to do this, otherwise it will deny you access to administrator tools.
  • Question
    Will this work on any version of Windows?
    wikiHow Contributor
    Community Answer
    This works at least from Windows 98 to Windows 10. There is a small possibility it goes farther back.
  • Question
    Do I use the WiFi name or the PC name?
    wikiHow Contributor
    Community Answer
    Use the WiFi name.
  • Question
    I have done everything this says and it does not work. What might I be doing wrong?
    Tyrell Read
    Community Answer
    Just restart your computer and try again. If it doesn't work, try using another computer.
  • Question
    When I try, it says that it fails to open registry.(997). Is there a fix?
    Johnny Gaming
    Community Answer
    Your computer is corrupted.
  • Question
    What am I doing wrong if it says "failure?"
    wikiHow Contributor
    Community Answer
    Make sure all background apps are shut down. Stuff like Skype and other notification apps will keep running and prevent Windows 10 from shutting down even if you press the "X" button.
  • Question
    What do I do about the error that says, "The entered computer name is not valid or remote shutdown is not supported on the target computer"?
    Dean Charlson
    Community Answer
    Make sure you have an internet connection and a functional and correct IP address.
Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
  • It is not possible to remotely shut down someone's computer without you knowing their credentials or having administrator access on their computer.

Related wikiHows

Sources and Citations

Article Info


In other languages:

Español: , Italiano: , Português: , Русский: , Deutsch: , Bahasa Indonesia: , Français: , العربية: , Nederlands: 

Thanks to all authors for creating a page that has been read 395,937 times.

Video: How to remote shutdown any computer

How to Remotely Shutdown a Computer
How to Remotely Shutdown a Computer images

2019 year
2019 year - How to Remotely Shutdown a Computer pictures

How to Remotely Shutdown a Computer recommendations
How to Remotely Shutdown a Computer forecasting photo

How to Remotely Shutdown a Computer images
How to Remotely Shutdown a Computer photo

How to Remotely Shutdown a Computer How to Remotely Shutdown a Computer new pics
How to Remotely Shutdown a Computer new pics

pics How to Remotely Shutdown a Computer
pics How to Remotely Shutdown a Computer

Watch How to Remotely Shutdown a Computer video
Watch How to Remotely Shutdown a Computer video

Communication on this topic: How to Remotely Shutdown a Computer, how-to-remotely-shutdown-a-computer/
Discussion on this topic: How to Remotely Shutdown a Computer, how-to-remotely-shutdown-a-computer/ , how-to-remotely-shutdown-a-computer/

Related News

How to Make Creamy Scrambled Eggs
Best Combination of Eyeshadow for All Eye Colors
How to Ask for a Promotion
Celebrity Hairstyles: Kate Hudson Hairstyles
Conjugated Linoleic Acid (CLA) Research: The Past, the Present, and the Future
How to Get Healthy Nails, Starting Now
How to Identify if Your Phone Is an Original or a Clone
How to Use Enlightenment in Linux
The 18 Worst Healthy’ Juices
The return of the Book Club
Beauty Blogs: 26 of the Best You Should Be Following

Date: 15.12.2018, 12:40 / Views: 95195

Back to Top