Fog Creek Software
Discussion Board

Windows suspend process

Is there anything in windows that is equivalent to CTRL-Z in unix?  I want to suspend an arbitrary process and wake it up later - all user controlled.

Monday, June 7, 2004

Built in? No. Available via some obscure 3rd party application? Maybe.

Brad Wilson (
Monday, June 7, 2004

The APIs exist (OpenProcess, SuspendThread, etc).  It may require a simple debugger to attach and freeze the process in question.

Monday, June 7, 2004


In xp, you can control services :

Control panel->Administrative Tools->Services.

In the above, you can start, stop, enable services.

Just pick a running task..and right click on it for options.

The above does assume the process is running as a service, which may not help you if you are just wanting to work with a task…

Albert D. Kallal
Edmonton, Alberta Canada

Albert D. Kallal
Monday, June 7, 2004

Never use SuspendThread on a thread you don't control -- the thread might just be calling a heap allocation routine or something else that holds a global lock, and then you're doomed...

Frederik Slijkerman
Tuesday, June 8, 2004

Procexp by Sysinternals, a must have for Windows.

Tuesday, June 8, 2004

The sysinternals also offers the free commandline tool pssuspend:

Tuesday, June 8, 2004

Thanks everyone!  The sysinternals tools are fantastic.

Wednesday, June 9, 2004

*  Recent Topics

*  Fog Creek Home