Hirdetés

Aktív témák

  • Oliverda

    Topikgazda

    Shutdown command

    Port 445

    Check out if TCP port 445 is open in the Window's firewall of the target computer.

    * Go to Start/Settings/Control Panel/Security Center
    * Then click on Windows Firewall and then go under the exceptions tab
    * Normally there a line "File Sharing and printers", select it and press OK
    * If you do not have the line, click on Add Port .. and choose the TCP port 445
    * Then go to Start/Settings/Control Panel/System in the Remote tab, check Allow users to connect remotely to this computer.

    Command line

    net use command

    To obtain the necessary rights to run a shutdown command on the target machine, you must first run the net use command. Remember to note down the address of the target machine,it will be needed for the commanf .

    * Go to Start: Run or use the keyboard shortcut: Windows + R
    * Type cmd and OK.
    * A DOS window (command prompt) appears, enter the following command: net use \\ip_target_machine

    Enter the username/password of an administrator session of target computer
    You will receive a message: The command has been successfully executed!

    shutdown command

    From now on we will implement the shutdown command

    The command is as follows (e.g):

    shutdown -s -f -t 30 - m \\192.168.3.4

    * -s: Turns the computer off. (Required)
    * -f: Force running applications to close without warning.
    * -t xx: Set a countdown in seconds
    * -m \\xxx.xxx.xxx.xxx : the IP address of the target computer.

    The GUI available by typing: shutdown -i

Aktív témák