Process Hacker and Windows discussion

 
orion44
New User
Posts: 2
OS: Windows 7 64bit

Command line restart process

18 Dec 2016, 22:59

-c -ctype objecttype -cobject object -caction action -cvalue value

Enables command mode. The status of the operation is returned in the exit status of the process.

Possible values of objecttype:

"process". object is the process ID, and action can be "terminate", "suspend", "resume", "priority", "iopriority" or "pagepriority".
"service". object is the service name, and action can be "start", "continue", "pause", "stop" or "delete".
"thread". object is the thread ID, and action can be "terminate", "suspend" or "resume".

Examples:

ProcessHacker.exe -c -ctype process -cobject 1424 -caction terminate
ProcessHacker.exe -c -ctype process -cobject 5896 -caction priority -cvalue high
ProcessHacker.exe -c -ctype service -cobject Winmgmt -caction pause

Is there an option to Restart a process from the command line? This is an option in the GUI.

Who is online

Users browsing this forum: No registered users and 2 guests