Search Print article Feedback 

KB9125: What is the syntax to use to invoke ShutdownPlus from a command-line?

Category: ShutdownPlus Professional, Shutdown... | Updated: 11/8/2007 11:55:29 AM | Read: 6435 (Last: 11/20/2009 12:41:37 PM)

Description

How to initiate ShutdownPlus from a command-line interface or a shortcut on the desktop.

Cause

Administrators may wish to bypass the GUI interface within ShutdownPlus for a computer/server Shutdown or Restart.

Resolution

Starting with version 6.7, ShutdownPlus can be invoked from a command-line. This is useful for shutting down a computer when, for example, you want to provide users an icon to double-click on to logoff/shutdown their computer, or a UPS needs to shutdown your server. Syntax:
  • Shutdown the computer: sdplus.exe /C=T /S=S
  • Restart the computer: sdplus.exe /C=T /S=R
  • Logoff the user: sdplus.exe /C=T /S=L
  • Standby the computer: sdplus.exe /C=T /S=B
  • Hibernate the computer: sdplus.exe /C=T /S=H
  • Lock the computer screen: sdplus.exe /C=T /S=W

    A shorcut to logoff would be the following (default folder):
    "C:\Program Files\ShutdownPlus\sdplus.exe" /C=T /S=L

    Notes: The sdplus.exe program must be run from the ShutdownPlus folder. Programs will run as configured in ShutdownPlus Settings. All users will be logged off prior to a Shutdown or Restart on ShutdownPlus TSE




  • Was this article helpful?
    Votes so far: 48% in 3764
    Yes | No