How to do remote shutdown for PC on LAN

Table of contents:

How to do remote shutdown for PC on LAN
How to do remote shutdown for PC on LAN
Anonim

In this article, we will show you how to remotely shutdown one Windows computer from another Windows computer; both computers must be connected to the local network.

Steps

Part 1 of 4: How to Find the IP Address of the Target Computer

95596 1
95596 1

Step 1. Make sure the target computer (the computer to be shut down remotely) meets the specific requirements

To remotely shut down a computer on a local network:

  • It must be connected to the same local network that your computer is connected to.
  • It must have the same administrator account that you use on your computer.
95596 2
95596 2

Step 2. Open the Start Menu

Windowsstart
Windowsstart

on the target computer.

Click on the Windows logo in the lower left corner of the screen.

95596 3
95596 3

Step 3. Open the "Options" window

Windowssettings
Windowssettings

Click the gear-shaped icon in the lower-left corner of the Start window.

95596 4
95596 4

Step 4. Click on "Network and Internet"

Windowsnetwork
Windowsnetwork

This option is located in the top row of settings.

95596 5
95596 5

Step 5. Click the Status tab

It's in the upper left side of the window.

95596 6
95596 6

Step 6. Click Network and Sharing Center

This option is located at the bottom of the page.

You may have to scroll down to find this option

95596 7
95596 7

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

You will find it in the middle of the page.

95596 8
95596 8

Step 8. Find the term "IPv4 Address"

It displays the IP address of the computer. You need to specify it when you turn off the target computer.

If the address contains a forward slash and an additional number, such as 192.168.2.2/24, ignore the forward slash and the number after it

Part 2 of 4: How to prepare your computer for a remote shutdown

95596 9
95596 9

Step 1. Open the Start Menu

Windowsstart
Windowsstart

on the target computer.

Click on the Windows logo in the lower left corner of the screen.

Make sure to do this on the target computer

95596 10
95596 10

Step 2. Open Registry Editor

For this:

  • Enter regedit.
  • Click "regedit" at the top of the Start menu.
  • Click "Yes" on the prompt window.
95596 11
95596 11

Step 3. Go to the "System" folder

To do this, use the folders in the upper left corner of the Registry Editor window:

  • Double click on the "HKEY_LOCAL_MACHINE" folder to expand it.
  • Double click on the "SOFTWARE" folder.
  • Scroll down and double click on the Microsoft folder.
  • Scroll down and double click on the Windows folder.
  • Double click on the "CurrentVersion" folder.
  • Scroll down and double click on the "Policies" folder.
  • Click on the "System" folder.
95596 12
95596 12

Step 4. Right-click on the "System" folder

A dropdown menu will open.

95596 13
95596 13

Step 5. Select Create

It's in the drop-down menu. A pop-up menu will appear.

95596 14
95596 14

Step 6. Click DWORD Option (32 bit)

It's in the pop-up menu. The DWORD parameter icon appears on the left side of the page.

95596 15
95596 15

Step 7. Type LocalAccountTokenFilterPolicy and press ↵ Enter

This name will be assigned to the DWORD value you created.

95596 16
95596 16

Step 8. Open the "LocalAccountTokenFilterPolicy" parameter

To do this, double click on it. A pop-up window will open.

95596 17
95596 17

Step 9. Change the parameter value

In the Value line, enter 1, and then click OK at the bottom of the pop-up window.

You can now close the registry editor

95596 18
95596 18

Step 10. Enable remote registry access

To open Registry Editor from another computer, follow these steps:

  • Open the start menu
  • Windowsstart
    Windowsstart
  • Enter services, and then click Services at the top of the Start menu.
  • Scroll down and double click on "Remote Registry".
  • Open the Startup Type menu and select Manual.
  • Click Apply.
  • Click Run> OK.
95596 19
95596 19

Step 11. Restart your computer

Open the start menu

Windowsstart
Windowsstart

and click "Shutdown"

Windowspower
Windowspower

> "Reboot". When the target computer restarts, go to your computer (the computer from which you remotely shut down the target computer).

Part 3 of 4: How to Use the Remote Shutdown Interface

95596 20
95596 20

Step 1. Open the Start Menu

Windowsstart
Windowsstart

on your computer.

It must be connected to the same local network (as the target computer) and have administrator rights.

95596 21
95596 21

Step 2. Find Command Prompt

To do this, enter Command Prompt in the Start menu search bar.

Centre
Centre

Step 3. Right click on "Command Prompt"

Windowscmd1
Windowscmd1

It's near the top of the Start menu. A menu will appear.

95596 23
95596 23

Step 4. Click Run as administrator

This option is located on the menu.

95596 24
95596 24

Step 5. Click Yes on the prompt window

A command prompt will open with administrator rights.

95596 25
95596 25

Step 6. Enter the details of the target computer

Type net use \ address (replace “address” with the IP address of the target computer), press ↵ Enter, and then enter your email address and password at the prompt to log in as an administrator.

For example, enter net use \ 192.168.2.2

95596 26
95596 26

Step 7. Open the remote shutdown interface

Type shutdown / i and press ↵ Enter. A pop-up window will appear.

95596 27
95596 27

Step 8. Select a computer

Click on the IP address or computer name in the Computers text box at the top of the window.

If you do not see the IP address or name of the target computer, click Add, enter the IP address of the computer and click OK. Now click on the computer name in the Computers text box

95596 28
95596 28

Step 9. Open the "Select the desired action for computers" menu

It is in the middle of the window. A menu will appear.

95596 29
95596 29

Step 10. Click Shut Down

This option is on the menu.

95596 30
95596 30

Step 11. Set the time interval (in seconds)

Do this in the "Display warning" line.

95596 31
95596 31

Step 12. Uncheck the "Scheduled Stop" box

It's on the right side of the window.

95596 32
95596 32

Step 13. Enter your note

In the Note text box at the bottom of the window, enter the text that will be displayed on the target computer before shutting down.

95596 33
95596 33

Step 14. Click OK

This button is at the bottom of the window. The target computer will be shut down.

Part 4 of 4: How to create a batch file to shutdown multiple computers at once

95596 34
95596 34

Step 1. Open Notepad

Click on the blue notepad icon.

You may need to find Notepad in the Start menu

95596 35
95596 35

Step 2. Enter the "shutdown" command along with the IP address of the target computer

In Notepad, enter the following command, replacing certain variables with your own:

shutdown -s -m \ address -t -01

  • Be sure to substitute the IP address of the target computer for “address”.
  • If you want, change the value "01" to any other. This is the number of seconds that will elapse before the computer shuts down.
95596 36
95596 36

Step 3. Press ↵ Enter to move to a new line

On this line, enter the above command, but with the data of the other computer that you want to turn off. Now repeat this process for other target computers connected to the local network.

95596 37
95596 37

Step 4. Click File

It's in the upper-left corner of the Notepad window. A menu will open.

95596 38
95596 38

Step 5. Click Save As

This option is on the File menu. The "Save As" window will open.

95596 39
95596 39

Step 6. Open the File Type menu

It's at the bottom of the window.

95596 40
95596 40

Step 7. Click All Files

This option is located on the menu.

95596 41
95596 41

Step 8. Add the extension ".bat" to the file name

Click the File Name text box, enter a file name, and then type.bat after the name.

For example, enter shutdown.bat to create the "shutdown" batch file

95596 42
95596 42

Step 9. Click Save

It's in the lower-right corner of the window. The command file will be saved in the default folder (for example, in the Documents folder).

95596 43
95596 43

Step 10. Run the batch file

To do this, double click on it. Computers that are connected to the local network and whose addresses you entered in the batch file will be turned off.

Popular by topic