How to shut down or restart a computer in a LAN with DOS commands

Updated on technology 2024-04-11
8 answers
  1. Anonymous users2024-02-07

    Step 1 Click Start Running, enter " in the dialog box, and click [OK] to open Group Policyr.

    Step 2 Open Computer Configuration Windows Settings Security Settings Local Policy User Rights Assignment on the left side of the Group Policy window, and select Force Shutdown from Remote System on the right side. In the pop-up dialog box, it shows that only members of the "administrators" group have the right to remotely shut down; Click the Add User or Group button at the bottom of the dialog box, enter "heyongsheng" (administrator) in the dialog box that appears, and then click OK.

    Step 3 Add a heyongsheng user to the Force Shutdown from Remote System attribute, click OK, and close the Group Policyr window.

    After doing the above on the computers, we gave the "heyongsheng" user of each computer the permission to remotely shut down.

    Step 1 Click Start Run and enter Shutdown -i in the dialog box, and the Remote Shutdown dialog box will be displayed on the screen (Figure 1).

    Step 2 Click the [Tour] button, and the Find Computer dialog box appears.

    Step 3 Click the [Start Search] button, and all computers in the network will appear.

    Step 4 Hold down the Ctrl key, select the computer you want to shut down with the mouse, and finally click [OK], then the computer you want to shut down will appear in the remote shutdown dialog box.

    Step 5 Select a suitable reason for closing from the drop-down list of options, and then click [OK].

    Follow the above steps and the remote shutdown will be completed automatically.

    dos command:

    shutdown

    Allows you to shut down or restart your local or remote computer. If no parameter is used, shutdown logs out the current user.

    M computerName specifies the computer to shut down.

    t xx sets the timer used for system shutdown to xx seconds. The default value is 20 seconds.

    Log out of the current user, which is the default. -m computername preferred.

    s shut down the local computer.

    r Shut down and restart.

    a Aborted. Parameters other than -l and computername are ignored. During the timeout, you can only use -a.

    Addendum: If there is a guest account in the policy group, no matter who has the shutdown permission, no matter who has the permission to shut down the guest.

  2. Anonymous users2024-02-06

    shutdown -m computername.

    With shutdown ?Check out Command Help.

  3. Anonymous users2024-02-05

    1. Find the computer you want to shut down in the LAN and click Start.

    2. Find Run and open it.

    3. Enter, and then click OK.

    4. Double-click Windows Settings.

    5. Double-click Security Settings, Local Policies, and User Rights Assignment respectively.

    6. Find the remote system to force shutdown and double-click.

    7. Click Add User or Group.

    8. Enter guest and click OK.

    9. Click on the newly added guest, click on the Xiwu app, and click OK.

    10. Go back to the start, find Run, and open cmd

    11. Enter ipconfig, find the local IP, and write it down.

    12. At this time, the target computer has been set, and then go back to your own computer, or find start, run, open and enter shutdown -i, pay attention to the space.

    13. Click Add, enter the IP address that Jiling Qing lived in just now, and click OK.

    14. Click on the address you just entered, write something in the comment, <> 15, and finally click OK, and then wait for the other party to shut down or restart.

  4. Anonymous users2024-02-04

    To remotely shut down, condition 1: Allow scheduled shutdown should be set in that machine. 2: Know the senior administrator password of that machine.

    shutdown –s –m \\abc -t 30

    You can refer to the format above (turn off the machine named abc in 30 seconds).

    If this is not possible, you need to set up the following settings, just give the guest user the permission to remotely shut down the guest computer (a computer that can be remotely shut down, such as the abc mentioned above). This can be achieved using Local Security Policy in Windows XP's Group Policy or Administrative Tools. The following is an example of Group Policy

    1. Click the Start button, select Run, enter in the dialog box, and then click OK to open Group Policyr.

    2. In the left pane of the "Group Policy" window, open "Computer Configuration" - "Windows Settings" - "Security Settings" - "Local Policy" - "User Rights Assignment". (pictured).

    3. In the right pane of the "Group Policy" window, select "Force Shutdown from a Remote System" and double-click.

    4. In the pop-up dialog box, it shows that only members of the "administrators" group have the right to shut down from the remote computer. Click the Add User or Group button at the bottom of the dialog box, enter guest in the dialog box that appears, and then click OK.

    5. At this time, a "guest" user is added to the attribute of "Force shutdown from the remote system", and click "OK".

    6. Close the "Group Policy" window.

    After the above operations, we have granted the guest user of the ABC of the computer the permission to remotely shut down. In the future, we want to remotely turn off the computer ABC by entering the following command into another computer with Windows XP in the network:

    shutdown -s m abc -t 30 (other parameters are used in the same as above).

  5. Anonymous users2024-02-03

    net use ip address ipc$"The other party's password" /user:"administrator"

    shutdown s -t 1 -m IP address.

    There is a question of permissions.

  6. Anonymous users2024-02-02

    A remote shutdown command in XP.

    In our longest used system, there are so many commands that are divided into two parts in this command

    One part is an external command, the other is an internal one.

    Under the system we can run inputs.

    First of all, in order to give you a clear idea, let's talk about what is an external command and an internal command, the external command is the system inheritance, not the DOS command, and the internal command is the command of the DOS program itself

    How do I turn on remote shutdown? How it works:

    Start menu Run input.

    cmd will return to a command prompt window.

    Then enter here:

    shutdown

    In this case, you can see all the commands here, and all the command parameters contained in it are displayed.

    GUI interface, which must be the first option.

    l Logout (not with the option.)

    m).

    shutting down this computer.

    rShut down and restart this computer.

    aAbandon system shutdown.

    m\computername

    The remote computer is shut down and restarted, and it is blindly abandoned. txx

    Set the shutdown timeout to. xx seconds.

    ccomment"

    Close annotation (maximum.)

    characters) f force the running application to close without warning.

    du][p]:xx:yy

    Reason for closure**.

    u is the user**.

    p is a planned closure**.

    xx is a major reason** (less than.

    of positive integers) yy

    is a secondary reason** (less than.

    Here you can also do it to shut down yourself or to other users, in which there is an interface mode method that is also input:

    shutdown

    iThis command will appear in the interface mode for ease and operation!

    Here you can enter the IP address of the other party and the reason and time of the shutdown, and then confirm that the other party's computer will execute the command you sent.

    It's shutdown. It's a logout.

    It can also be operated by restarting

    This command is generally for the administrator to facilitate the management of all applications, and it can be used in the LAN This shutdown mode is a bit similar to the blaster virus, so if you encounter all the forced shutdowns, you can use this command to try to solve it?

    The command is: shutdown

    aThis is a cancellation order! Grinding nucleus land.

  7. Anonymous users2024-02-01

    Method (1) Restart the computer, when you boot to the system login interface, press and hold the CTRL+ALT key at the same time, and then click the del key twice, a new login interface will appear, enter the "administrator" password at the user name is empty, and press enter to log in, method (2).

    1. Restart the computer, press the F8 button after booting up and not moving until the advanced options screen appears, then release your hand and select "Safe Mode of Command Prompt" to enter.

    2. At the end of the running process, the system lists the selection menu of the system superuser "administrator" and the local user "**", and clicks "administrator" to enter the command line mode.

    3. Type the command: "net user **123456

    add" to force the password of the user to be changed to "123456". If you want to add a new user here (e.g., username abcdef, password 123456), type "net."

    user abcdef 123456 add", after adding it, you can use "net localgroup administrators abcdef

    add" command promotes the user to the user of the system administration group administrators and gives it super privileges.

    Method (3) Boot up and press F8 to enter DOS and delete C: Windows System32 Config

    The sam file and then restart it to get in, and then re-add the password after entering.

    As for the remote shutdown, I don't know if I have to learn to do it.,But typing is very troublesome.,Give you an address to see for yourself.。

  8. Anonymous users2024-01-31

    DOS is powerful, but you still have to learn a lot of things to do with your requirements, such as DOS commands.

Related questions
22 answers2024-04-11

DOS command, it can't be, it's vb.

4 answers2024-04-11

You go online ** dwarf dos toolbox, install him, and then restart, enter my dos toolbox, the ghost inside, and then the Chinese one, you just watch the operation yourself!

14 answers2024-04-11

Know the partners.

For example, if you want to step on a quartz block and die. >>>More

12 answers2024-04-11

1. First, press the win+r key combination to open the running window, enter cmd, and click OK. >>>More

13 answers2024-04-11

1. First, right-click on the compressed file, as shown in the figure below, and click [7-zip] in the pop-up menu. >>>More