How to Perform a Remote Shutdown for a PC on a Local Area Network (LAN)

Table of contents:

How to Perform a Remote Shutdown for a PC on a Local Area Network (LAN)
How to Perform a Remote Shutdown for a PC on a Local Area Network (LAN)
Anonim

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

95596 1
95596 1

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.
95596 2
95596 2

Step 2. Access the "Start" menu by clicking the icon

Windowsstart
Windowsstart

It features the Windows logo and is located in the lower left corner of the desktop. Alternatively, press the ⊞ Win key on your keyboard.

95596 3
95596 3

Step 3. Launch the Settings app by clicking the icon

Windowssettings
Windowssettings

It features a gear and is located at the bottom left of the "Start" menu.

95596 4
95596 4

Step 4. Click the "Network and internet" icon

Windowsnetwork
Windowsnetwork

It is located in the first row of icons visible on the Windows "Settings" page.

95596 5
95596 5

Step 5. Go to the Status tab

It is located in the upper left of the newly appeared page.

95596 6
95596 6

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

95596 7
95596 7

Step 7. Scroll down the list to find the "Wi-Fi" section

It is displayed in the center of the page.

95596 8
95596 8

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

95596 9
95596 9

Step 1. Access the "Start" menu by clicking the icon

Windowsstart
Windowsstart

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

95596 10
95596 10

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.
95596 11
95596 11

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.
95596 12
95596 12

Step 4. Select the "System" folder with the right mouse button

The relevant context menu will be displayed.

95596 13
95596 13

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.

95596 14
95596 14

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.

95596 15
95596 15

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.

95596 16
95596 16

Step 8. Access the new "LocalAccountTokenFilterPolicy" item

Double-click its icon. A small pop-up window will appear.

95596 17
95596 17

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

95596 18
95596 18

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

    Windowsstart
    Windowsstart

    ;

  • 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.
95596 19
95596 19

Step 11. Restart your computer

Access the menu Start clicking the icon

Windowsstart
Windowsstart

select the item Stop characterized by the icon

Windowspower
Windowspower

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

95596 20
95596 20

Step 1. Access the "Start" menu by clicking the icon

Windowsstart
Windowsstart

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.

95596 21
95596 21

Step 2. Launch the Windows "Command Prompt"

Type in the keywords command prompt.

95596 22
95596 22

Step 3. Select the "Command Prompt" icon

Windowscmd1
Windowscmd1

with the right mouse button.

It should have appeared at the top of the "Start" menu. The relevant context menu will be displayed.

95596 23
95596 23

Step 4. Choose the Run as administrator option

It is one of the items listed in the small menu that appeared.

95596 24
95596 24

Step 5. Press the Yes button when prompted

The Windows "Command Prompt" window will appear and you will have access as a system administrator.

95596 25
95596 25

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

95596 26
95596 26

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.

95596 27
95596 27

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.

95596 28
95596 28

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.

95596 29
95596 29

Step 10. Choose the Shut Down option

It is one of the items listed in the drop-down menu that appeared.

95596 30
95596 30

Step 11. Set a time interval

Type the desired number of seconds into the "Display alert for" text field.

95596 31
95596 31

Step 12. Uncheck the "Scheduled" checkbox

It is located on the right side of the "Stop Event Detection" pane.

95596 32
95596 32

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.

95596 33
95596 33

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

95596 34
95596 34

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

95596 35
95596 35

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.
95596 36
95596 36

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.

95596 37
95596 37

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.

95596 38
95596 38

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.

95596 39
95596 39

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.

95596 40
95596 40

Step 7. Choose the All files item

It is one of the options listed within the drop-down menu that appeared.

95596 41
95596 41

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

95596 42
95596 42

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").

95596 43
95596 43

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.

Recommended: