Command line options
/auto - Uses internally to specify auto starting mode. You can use this option to run in minimized mode.
/start[:pc_list] - Start necessary action on computers. If the parameter pc_list is omitted local computer is supposed. For more examples of its usage please look examples below.
/stop[:pc_list] - Stop necessary action on computers. If the parameter pc_list is omitted local computer is supposed. For more examples of its usage please look examples below.
- pc_list, here and below, is a list of computers (or IP addresses) divided by comma and quoted as necessary.
Examples:
ANN_PC
"Bill's computer, Server"
"ANN_PC, TOM_PC"
"10.10.1.10"
"10.10.1.10,TOM_PC"
Examples:
rshutpro.exe /start /reboot /timeout:60
Schedules reboot operation on the local computer within 60 seconds.
rshutpro.exe /stop
Cancel previously scheduled shutdown action on the local computer.
/timeout:nn - Specifies timeout to delay action execution for.
Example:
rshutpro.exe /reboot /timeout:60
Schedules reboot operation on the local computer within 60 seconds.
/message:[text|filename] - Specifies custom message to be displayed, as a text or is taken from file. Is applicable along with '/timeout' parameter.
Examples:
rshutpro.exe /reboot /timeout:60 /message:"This PC will reboot in 60 seconds"
Schedules reboot operation on the local computer within 60 seconds with the custom message.
rshutpro.exe /reboot /timeout:15 /message:"c:\message.txt"
Schedules reboot operation on the local computer within 15 seconds with the custom message taken from file.
/eject[:drive] - Eject specified (or all) CD-ROM(s) in the system. If you have the only one CD-ROM drive in your system you can omit 'drive' parameter.
Examples:
rshutpro.exe /eject
Eject all CD-ROMs on the local computer
rshutpro.exe /eject:d
Eject CD-ROM D: on the local computer
rshutpro.exe /eject /start:"ANN_PC"
Eject CD-ROM(s) on remote computer "ANN_PC"
/close[:drive] - Close specified (or all) CD-ROM(s). If you have the only one CD-ROM drive in your system you can omit 'drive' parameter.
Examples:
rshutpro.exe /close
Close all CD-ROMs on the local computer
rshutpro.exe /close:d
Close CD-ROM D: on the local computer
rshutpro.exe /close /start:"ANN_PC"
Close CD-ROM(s) on remote computer "ANN_PC"
/report - Display results on action execution.
Example:
rshutpro.exe /shutdown:"ANN_PC,TOM_PC" /report
Send shutdown command on the computers ANN_PC and TOM_PC, and then display results.
/quiet - The reverse option to '/report', i.e. do not display any messages on the action execution. This is default option.
Example:
rshutpro.exe /shutdown:"ANN_PC,TOM_PC" /quiet
Send shutdown command on the computers ANN_PC and TOM_PC, do not display any results.
/license:"filename.key" - Enter license key (when you have obtained legal license from us) manually from the command line. By default RSHUT accepts license files automatically when they placed in the directory 'License'. Also you can enter your license from the program using 'Browse' button.
/monitor:[low|on|off] - Set monitor power saving mode. Rarely setting monitor to the state 'low' (depend on monitor) can make it failure to return in 'on' state, use 'off' state instead in this case.
Examples:
rshutpro.exe /monitor:low
Set monitor to low power saving mode. The monitor should support this feature.
rshutpro.exe /monitor:on
Wake up monitor from power saving mode or stop screen saver execution.
rshutpro.exe /monitor:off /start:"ANN_PC"
Off monitor on the ANN's computer.
/saver[:pc_list] - Start default screen saver (if installed in the system).
Examples:
rshutpro.exe /saver
Start screen saver.
rshutpro.exe /saver:ANN_PC
(the same will do the command rshutpro.exe /saver /start:ANN_PC)
Start screen saver on the ANN's PC.
/autostart , /noautostart - Set or clear autorun for RSHUT on this computer.
Example:
rshutpro.exe /autostart
Enable auto-start for RSHUT on this computer when Windows starts. It uses "RunServices" section
in registry while running on Windows 9x/ME or sets "system service" while running Windows NT/2000/XP.
/execute:"command" - Execute the command on remote computer(s).
Example:
rshutpro.exe /execute:"backup.exe /begin" /start:ANN_PC
Start the program "backup.exe" on the ANN's PC with the parameter "/begin".
/reboot[:pc_list] - Reboot local or remote computer(s).
Examples:
rshutpro.exe /reboot /timeout:60
Reboot the local computer when 60 seconds leave.
rshutpro.exe /reboot:"ANN_PC,TOM_PC"
rshutpro.exe /reboot /start:"ANN_PC,TOM_PC"
Reboot the computers ANN_PC and TOM_PC.
/shutdown[:pc_list] - Shutdown local or remote computer(s). Use '/poweroff' instead if you wish them be powered off.
Examples:
rshutpro.exe /shutdown /terminate
Shutdown the local computer immediately, terminates (not finish) all processes running.
rshutpro.exe /shutdown:"ANN_PC,TOM_PC" /message:"Lets go home" /timeout:600
Shutdown the computers ANN_PC and TOM_PC with the message.
/poweroff[:pc_list] - Shutdown and power off local or remote computer(s).
Examples:
rshutpro.exe /poweroff /forceif
Shutdown the local computer immediately, terminating any programs that hungs. Then powering the computers off.
rshutpro.exe /poweroff:"ANN_PC,TOM_PC" /message:"lunch.txt" /timeout:60
Shutdown the computers ANN_PC and TOM_PC with a message taken from the file "lunch.txt".
/logoff[:pc_list] - Log off local or remote computer(s).
Examples:
rshutpro.exe /logoff
Log off local computer.
rshutpro.exe /logoff:"ANN_PC,TOM_PC"
rshutpro.exe /logoff /start:"ANN_PC,TOM_PC"
Log off the computers ANN_PC and TOM_PC.
/suspend[:pc_list] - Suspend local or remote computer(s). To be able use it the action should be supported by your hardware and Windows.
Examples:
rshutpro.exe /suspend
Suspend local computer.
rshutpro.exe /suspend:"ANN_PC,TOM_PC"
rshutpro.exe /suspend /start:"ANN_PC,TOM_PC"
Suspend the computers ANN_PC and TOM_PC.
/hibernate[:pc_list] - Hibernate local or remote computer(s). To be able use it the action should be supported by your hardware and Windows. It is available in Windows 2000/XP only.
Examples:
rshutpro.exe /suspend
Hibernate local computer.
rshutpro.exe /suspend:"ANN_PC,TOM_PC"
rshutpro.exe /suspend /start:"ANN_PC,TOM_PC"
Hibernate the computers ANN_PC and TOM_PC.
/lock[:pc_list] - Lock local or remote computer(s) (available only in Windown NT/2K/XP, in Windows 9x/ME it is screen saver started instead).
Examples:
rshutpro.exe /lock
Suspend local computer.
rshutpro.exe /lock:"ANN_PC"
rshutpro.exe /lock /start:"ANN_PC"
Lock the computer ANN_PC.
/wol[:pc_list] - Wake up remote computers over network.
Examples:
rshutpro.exe /wol:"ANN_PC"
rshutpro.exe /wol /start:"ANN_PC"
Wake up the computer ANN_PC over network using WOL packet.
/mac:MAC_address - Specifies MAC address of the PC you are sending WOL request. Can be useful if RSHUT still does not kept its MAC address in own list or the address stored is incorrect. After this call RSHUT will store this new MAC address for further calls.
Examples:
rshutpro.exe /wol:"ANN_PC" /mac:005056ab010a
rshutpro.exe /wol /start:"ANN_PC" /mac:005056ab010a
Wake up the computer ANN_PC over network. Suppose its MAC address as specified.
Process termination options:
/close - Send each application request message for current session end. An application can deny it request or pop-up with a dialog like "Save as..". For these cases see RSHUT's preferences "Emulate ENTER key press" and "Emulate RIGHT key press" in a loop that can help you either confirm these dialogs with ENTER or switching to the neighbors command (such as in the system dialog Wait-End-Cancel).
Example:
rshutpro.exe /shutdown /close
/force - Forces processes to terminate. When this flag is set, the system does not send 'end session' messages. This can cause the applications to lose data. Therefore, you should only use this flag in an emergency.
Example:
rshutpro.exe /shutdown /force
/forceif - Forces processes to terminate if they do not respond to the 'end session' message. This works in Windows 2000/XP only.
Example:
rshutpro.exe /shutdown /forceif
/terminate - Terminate processes using internal system calls from RSHUT (except ones specified in list, see process termination options in RSHUT).
Example:
rshutpro.exe /shutdown /terminate