How to Remotely Shutdown a Computer
Open the Start menu on the computer you want to be able to shut down remotely., Type .services.msc while the Start menu is open and press ↵ Enter., Find "Remote Registry" in the list of services., Right-click "Remote Registry" and select...
Step-by-Step Guide
-
Step 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. -
Step 2: Type .services.msc while the Start menu is open and press ↵ Enter.
This start the Microsoft Management Console with the "Services" section open. , The list is sorted alphabetically by default. , This will open the Properties window for the service. , Click "OK" or "Apply" to save changes. , This will launch Windows Firewall. , You'll find this on the left side of the window. , This will allow you to make changes to the list below it. , Check the box in the "Private" column., 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. , This will start the Remote Shutdown utility in a separate window. , 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. , 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). , 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. , If you set a warning time, the computers will shut down when it expires, otherwise they will shut down immediately., Follow the steps in the first section of this article to prepare the Windows computer for remote shutdown. , 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 type ipconfig.
Look for the IPv4 address.
Open your router's configuration page and look for the DHCP client table.
This will display all of the devices connected to your network. , The Linux computer will need to be connected to the same network as the Windows computer you are shutting down. , 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. , Once the Samba protocol has been installed, you can perform the shut down command: net rpc shutdown
-I IP address
-U user%password Replace IP address with the remote computer's IP address (e.g.
192.168.1.25) Replace user with the Windows user's username.
Replace password with the Windows user's password. , 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 Use SSH on Windows for details on using PuTTY.
Once you're connected via SSH, you can use the same following commands., Replace username with your username for the remote computer.
Replace ipaddress with the remote computer's IP address.
See Find Your IP Address on a Mac for details on finding a Mac's IP address. , After entering the command on the previous step, you'll be prompted to enter the password for that user account. , 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
-r after shutdown. , 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. , 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. , You can also choose from the other options, including "Restart," "Sleep," and "Sign out."
Since you are using Remote Desktop, you will lose your connection to the remote computer. -
Step 3: Find "Remote Registry" in the list of services.
-
Step 4: Right-click "Remote Registry" and select "Properties."
-
Step 5: Select "Automatic" from the "Startup type" menu.
-
Step 6: Click the Start button again and type "firewall."
-
Step 7: Click "Allow and app or feature through Windows Firewall."
-
Step 8: Click the "Change settings" button.
-
Step 9: Check the "Windows Management Instrumentation" box.
-
Step 10: Open the Command Prompt on your computer.
-
Step 11: Type .shutdown /i and press ↵ Enter.
-
Step 12: Click the "Add" button.
-
Step 13: Enter in the computer name.
-
Step 14: Set your shutdown options.
-
Step 15: Click "OK" to shut down the remote computers.
-
Step 16: Prepare the remote computer for remote shutdown.
-
Step 17: Find the remote computer's IP address.
-
Step 18: Open the Terminal on the Linux computer.
-
Step 19: Install Samba.
-
Step 20: Run the remote shutdown command.
-
Step 21: Open the Terminal on another Mac on your network.
-
Step 22: Type .ssh username@ipaddress.
-
Step 23: Enter your user password for the remote Mac when prompted.
-
Step 24: Type .sudo /sbin/shutdown now and press ⏎ Return.
-
Step 25: Click anywhere on your blank desktop.
-
Step 26: Press .Alt+F4 while logged in remotely.
-
Step 27: Select "Shut down" from the drop down menu.
-
Step 28: Click "OK" to shut down the computer.
Detailed Guide
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.
This start the Microsoft Management Console with the "Services" section open. , The list is sorted alphabetically by default. , This will open the Properties window for the service. , Click "OK" or "Apply" to save changes. , This will launch Windows Firewall. , You'll find this on the left side of the window. , This will allow you to make changes to the list below it. , Check the box in the "Private" column., 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. , This will start the Remote Shutdown utility in a separate window. , 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. , 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). , 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. , If you set a warning time, the computers will shut down when it expires, otherwise they will shut down immediately., Follow the steps in the first section of this article to prepare the Windows computer for remote shutdown. , 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 type ipconfig.
Look for the IPv4 address.
Open your router's configuration page and look for the DHCP client table.
This will display all of the devices connected to your network. , The Linux computer will need to be connected to the same network as the Windows computer you are shutting down. , 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. , Once the Samba protocol has been installed, you can perform the shut down command: net rpc shutdown
-I IP address
-U user%password Replace IP address with the remote computer's IP address (e.g.
192.168.1.25) Replace user with the Windows user's username.
Replace password with the Windows user's password. , 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 Use SSH on Windows for details on using PuTTY.
Once you're connected via SSH, you can use the same following commands., Replace username with your username for the remote computer.
Replace ipaddress with the remote computer's IP address.
See Find Your IP Address on a Mac for details on finding a Mac's IP address. , After entering the command on the previous step, you'll be prompted to enter the password for that user account. , 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
-r after shutdown. , 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. , 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. , You can also choose from the other options, including "Restart," "Sleep," and "Sign out."
Since you are using Remote Desktop, you will lose your connection to the remote computer.
About the Author
Jacqueline Reed
With a background in lifestyle and practical guides, Jacqueline Reed brings 8 years of hands-on experience to every article. Jacqueline believes in making complex topics accessible to everyone.
Rate This Guide
How helpful was this guide? Click to rate: