This article shows how to use a Windows computer to shut down another machine running Microsoft and connected to the same LAN.
Steps
Part 1 of 4: Finding the IP Address of the Remote Computer
Step 1. Make sure your system is properly configured for remote management
In order to be turned off using another computer connected to the same LAN network, the system in question must meet certain technical requirements:
- It must be connected to the same LAN network (from English "Local Area Network") to which the machine from which you will send the remote shutdown command is connected;
- It must have the same system administrator user account on the computer you will use to send the remote shutdown command.
Step 2. Access the "Start" menu by clicking the icon
It features the Windows logo and is located in the lower left corner of the desktop. Alternatively, press the ⊞ Win key on your keyboard.
Step 3. Launch the Settings app by clicking the icon
It features a gear and is located at the bottom left of the "Start" menu.
Step 4. Click the "Network and internet" icon
It is located in the first row of icons visible on the Windows "Settings" page.
Step 5. Go to the Status tab
It is located in the upper left of the newly appeared page.
Step 6. Select the View Network Properties link
It is located at the bottom of the page.
In order to locate and select it, you may need to scroll down the page
Step 7. Scroll down the list to find the "Wi-Fi" section
It is displayed in the center of the page.
Step 8. Find "IPv4 Address"
The number on the right of the "IPv4 Address" field represents the current IP address assigned to the computer. This is the information you will need to use in order to shut down the system using another computer connected to the network.
There may also be an IP address whose final part is made up of a slash and a series of numbers (for example "192.168.2.2/24"). If so, only consider the series of numbers separated by the period and neglect the slash and everything that comes after
Part 2 of 4: Enable Remote Shutdown on the Target Computer
Step 1. Access the "Start" menu by clicking the icon
It features the Windows logo and is located in the lower left corner of the desktop. Alternatively, press the ⊞ Win key on your keyboard.
Make sure you perform this procedure on the computer you want to shut down remotely
Step 2. Access the registry
Follow these instructions:
- Type the keyword regedit into the "Start" menu;
- Click the icon regedit appeared at the top of the hit list;
- Push the button Yup when required.
Step 3. Go to the "System" folder
You need to use the tree menu located at the top left of the Registry Editor. Follow these instructions:
- Double-click the "HKEY_LOCAL_MACHINE" node to view the list of items it contains;
- Double click on the "SOFTWARE" folder;
- Scroll through the list and double-click on the "Microsoft" folder;
- Scroll through the list and double-click on the "Windows" folder;
- Double click on the "CurrentVersion" node;
- Scroll through the list and double-click on the "Policies" folder;
- Now select the "System" folder with a single mouse click.
Step 4. Select the "System" folder with the right mouse button
The relevant context menu will be displayed.
Step 5. Choose the New option
It is one of the items listed in the drop-down menu that appeared. A submenu will appear to the right of the first one.
Step 6. Click the DWORD (32-bit) value entry
It is listed in the newly appeared menu. The icon of the new "DWORD" element will appear in the main window pane on the left of the window.
Step 7. Name it LocalAccountTokenFilterPolicy and hit the Enter key on your keyboard
This will cause the new "DWORD" element to be named as indicated.
Step 8. Access the new "LocalAccountTokenFilterPolicy" item
Double-click its icon. A small pop-up window will appear.
Step 9. Set the value of the new "DWORD" element
Select the "Value data" text field, type key 1 on the keyboard, then press the button OK located at the bottom right of the pop-up window.
At this point the work on the Windows registry is finished, you can close the editor window
Step 10. Enable remote access to the registry
To allow access to the Registry Editor of the machine in question from another computer connected to the same network, follow these instructions:
-
Access the "Start" menu by clicking the icon
;
- Type in the keyword services, then click the icon Services appeared at the top of the "Start" menu;
- Scroll through the list of Windows services to locate the entry Remote registry, then double-click on the indicated service;
- Access the "Startup type" drop-down menu, then choose the option Manual;
- Push the button Apply;
- At this point, press the buttons in succession Start And OK.
Step 11. Restart your computer
Access the menu Start clicking the icon
select the item Stop characterized by the icon
then choose the option Reboot system placed in the menu that appeared. When the computer has completed the reboot procedure, you can switch to using the computer from which you will send the remote shutdown command to the target system.
Part 3 of 4: Using the Remote Shutdown GUI
Step 1. Access the "Start" menu by clicking the icon
on a computer other than the one on which you have enabled remote access.
You should be using a machine connected to the same LAN as the target computer on which you have access as a system administrator.
Step 2. Launch the Windows "Command Prompt"
Type in the keywords command prompt.
Step 3. Select the "Command Prompt" icon
with the right mouse button.
It should have appeared at the top of the "Start" menu. The relevant context menu will be displayed.
Step 4. Choose the Run as administrator option
It is one of the items listed in the small menu that appeared.
Step 5. Press the Yes button when prompted
The Windows "Command Prompt" window will appear and you will have access as a system administrator.
Step 6. Enter your login credentials for the target computer
Type the command net use [address] (be sure to replace the parameter "[address]" with the IP address you identified in the previous steps of the article), press the Enter key, then provide the login credentials as administrator when prompted (email address and password of the account you are currently using).
Here is an example net use command / 192.168.2.2
Step 7. Open the "Remote Shutdown" GUI
Type the command shutdown / i in the "Command Prompt" window and press the Enter key. You will see a pop-up window appear.
Step 8. Select the target computer
Click the IP address or network name of the computer you wish to shut down remotely listed in the "Computer" box at the top of the window that appeared.
If the IP address or name of your computer is not displayed in the "Computer" box, press the button Add…, type the IP address of the machine you want to turn off remotely and press the button OK. At this point, select the computer name that appears in the "Computer" box.
Step 9. Access the "Choose one of the following options" drop-down menu
It is placed in the center of the window. A list of items will be displayed.
Step 10. Choose the Shut Down option
It is one of the items listed in the drop-down menu that appeared.
Step 11. Set a time interval
Type the desired number of seconds into the "Display alert for" text field.
Step 12. Uncheck the "Scheduled" checkbox
It is located on the right side of the "Stop Event Detection" pane.
Step 13. Enter a description
Use the "Comment" text field at the bottom of the window to enter the message that will be displayed on the target computer before shutdown.
Step 14. Press the OK button
It is located in the lower right part of the "Remote Shutdown" window. This will initiate the shutdown procedure on the indicated computer.
Part 4 of 4: Create a Batch File to Remotely Shut Down Multiple Computers
Step 1. Start the "Notepad" program
Click or double-click the "Notepad" icon. It features a light blue notebook.
In some cases you may need to search for the "Notepad" program in the "Start" menu
Step 2. Type the command "shutdown" (without quotes) followed by the IP address of the computer you wish to shutdown remotely
Type the following example command, being careful to correctly replace all the parameters indicated with the information relating to the target computer:
shutdown -s -m [address] -t -01
- Replace the "[address]" parameter with the IP address of the target computer.
- You can change the numeric value "01" to any other number. This is the time interval (in seconds) that will elapse between the sending of the command and the actual shutdown of the target computer.
Step 3. Press the Enter key, then add the command for the next computer to shut down
Repeat this step for all computers connected to the network that you need to remotely shut down.
Step 4. Access the File menu
It is located in the upper left corner of the "Notepad" program window. A small drop-down menu will appear.
Step 5. Choose the Save As… option
It is one of the items listed in the menu File. The "Save As" dialog box will appear.
Step 6. Access the "Save As" drop-down menu
It is located at the bottom of the window. A list of options will be displayed.
Step 7. Choose the All files item
It is one of the options listed within the drop-down menu that appeared.
Step 8. Add the ".bat" extension to the name you have chosen to assign to the newly created document
Select the "File Name" field, then type the file name with the.bat extension at the end.
For example, to create a batch file named "shutdown", give the document the following name shutdown.bat
Step 9. Press the Save button
It is located in the lower right corner of the "Save As" window. The batch file will be saved in the default system folder (for example "My Documents").
Step 10. Run the batch file
Double-click its icon. This will shut down all computers listed in the file and currently connected to the network.