PsSuspend (PsTools)

Suspend processes on the local or a remote system.

Syntax
      pssuspend [- ] [-r] [\\computer [-u user] [-p passwd]] <process name | process id>

Options:

   computer   The computer on which the service resides. Default=local system 

   -p passwd  Specify a password for user (optional). Passed as clear text.
              If omitted, you will be prompted to enter a hidden password.

   -u user    Specify a user name for login to remote computer(optional).

   -r         Resume the processes specified if they are suspended.

   process id/name
              The process or processes to suspend or resume.

   -accepteula Suppress the display of the license dialog.

   -          Help, display the supported options.

Suspend is desirable in cases where a process is consuming a resource (e.g. network, CPU or disk) that you want to allow different processes to use. Rather than kill the process that's consuming the resource, suspending permits you to let it continue operation at some later point in time.

When launched for the first time, PsSuspend will create the regkey
HKCU\Software\Sysinternals\PsSuspend\EulaAccepted=0x01

Examples:

Suspend the notepad process on \\workstation64

pssuspend \\workstation64 notepad

“Gentlemen you can't fight in here - this is the war room” ~ President Muffley (Dr. Strangelove)

Related:

FAQ: Common PSTools Issues
PsKill - Kill processes by name or process ID


© Copyright SS64.com 1999-2013
Some rights reserved