PsSuspend v1.08
By Mark Russinovich
Published: March 30, 2023
Download PsTools (5 MB)
Introduction
PsSuspend lets you suspend processes on the local or a remote system, which 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.
Installation
Copy PsSuspend onto your executable path and type "pssuspend" with command-line options defined below.
Using PsSuspend
Running PsSuspend with a process ID directs it to suspend or resume the process of that ID on the local computer. If you specify a process name PsSuspend will suspend or resume all processes that have that name. Specify the -r switch to resume suspended processes.
Usage: pssuspend [- ] [-r] [\\computer [-u username] [-p password]] <process name | process id>
Parameter | Description |
---|---|
- | Displays the supported options. |
-r | Resumes the specified processes specified if they are suspended. |
\\computer | Specifies the computer on which the process you want to suspend or resume is executing. The remote computer must be accessible via the NT network neighborhood. |
-u username | If you want to suspend a process on a remote system and the account you are executing in does not have administrative privileges on the remote system then you must login as an administrator using this command-line option. If you do not include the password with the -p option then PsSuspend will prompt you for the password without echoing your input to the display. |
-p password | This option lets you specify the login password on the command line so that you can use PsSuspend from batch files. If you specify an account name and omit the -p option PsSuspend prompts you interactively for a password. |
process id | Specifies the process ID of the process you want to suspend or resume. |
process name | Specifies the process name of the process or processes you want to suspend or resume. |
PsSuspend is part of a growing kit of Sysinternals command-line tools that aid in the administration of local and remote systems named PsTools.
Download PsTools (5 MB)
PsTools
PsSuspend is part of a growing kit of Sysinternals command-line tools that aid in the administration of local and remote systems named PsTools.
Runs on:
- Client: Windows 8.1 and higher.
- Server: Windows Server 2012 and higher.