Skip to main content
Shutdown7

Help

Frequently asked questions

Command line parameters

SwitchDescription
-s Shutdown
-r Restart
-l Logoff
-lo Lock
-sb Standby
-h Hibernate
-hi Wakeup after standby/hibernate (ini) — WOSB integration only
-e:<path> Launch program at the given path
-t <xx> Timeout in seconds
-t:<hh:mm> Execute at a precise time
-a Abort the current action
-server <url> Remote server hostname or IP
-port <number> Remote server port
-password <text> Remote server password

Examples

CommandDescription
Shutdown7.exe -l Locks the computer immediately.
Shutdown7.exe -s -t 30 Shuts down the computer after 30 seconds.
Shutdown7.exe -e:"C:\Windows\notepad.exe" -t:"18:00" Launch Notepad at 18:00.
Shutdown7.exe -s -t 1800 -server www.example.com -port 5556 -password mypassword Instruct a remote computer to shut down in half an hour.
WOSB icon

WOSB integration (Wakeup on StandBy)

  1. Download WOSB from the developer's website.
  2. Copy wosb.exe into the same directory as Shutdown7.exe.
  3. Start Shutdown7 and open the settings. Activate the integration by checking the appropriate checkbox.
  4. Click OK and restart the program.
  5. In the newly created WOSB.xml you can specify the wakeup times Shutdown7 should use when the Wakeup (Ini) command is executed. Up to four times per day can be scheduled.
  6. You can also specify custom parameters, for example launching a program upon wakeup.

Remote shutdown

Remote shutdown requires:

Activate server mode in Shutdown7

  1. Open the settings and activate the checkbox next to Server in the Remote Shutdown section.
  2. Enter the port number you want to use. The port must be free. A port in the range 5000–6000 is recommended.
  3. Type in your password. Your PC can only be controlled with that password. The password is stored as an MD5 hash — treat it like any other shared secret.
  4. Press OK and restart the program. If your firewall asks for permission, agree.

Set up port forwarding

Router firewall

If you have a router you have to forward the port to your computer. Go to the router web interface (usually 192.168.0.1 or 192.168.2.1) and set up port forwarding. For further instructions refer to the router manual.

Then test the connection with Shutdown7.

Software firewall

If you are using a software firewall (Windows ships with one), you have to add an exception. Shutdown7 can add itself to the list of exceptions (Windows Firewall only): open the settings and click on Firewall exception. The exception is added automatically.

To add the exception manually on Windows:

  1. Type Firewall in the Start menu search box.
  2. Click on Windows Firewall with Advanced Security.
  3. Click on Inbound Rules.
  4. On the right, click New Rule.
  5. Click Port and then Next.
  6. Type in the port number you are using in Shutdown7, then click Next.
  7. Click Next twice.
  8. Type the name Shutdown7 and finish the wizard.
  9. Close the window and test the connection.

Test the port forwarding

Open the settings and go to the Remote Shutdown section. Click Test port forwarding. Shutdown7 tells you whether your computer is accessible from the internet.

Set up a static IP address

Usually your IP address changes every day, but you need a static address to connect to your server reliably. You can get one by registering a subdomain with a service such as no-ip.com or dyndns.com.

To keep your IP address up to date you have to install a client that links your current IP to the subdomain.

Trigger a shutdown from a client PC

  1. Open the settings and activate the checkbox next to Client in the Remote Shutdown section.
  2. Press OK and restart the program.
  3. Open the Remote section in the main window. Type in the server URL (without the http:// prefix), the port, and the password.
  4. Press the Start button. Allow any firewall prompts.
Shutdown7 main window with Remote section expanded

← Back to the Shutdown7 overview