Pausing a process using PsSuspend from Sysinternals

by Rick Glos7. September 2011 18:32

We just received new laptops at work and now we need to migrate our files from one machine to another.  I have a few rather large virtual PC disks that I needed to transfer.  I was using robocopy to transfer the files from one laptop to the other over my home network and noticed some severe latency on my source laptop.  I was trying to do productive work on the source laptop and every mouse click or keystroke seemed to lag one or two seconds making it too painful.

I had already spawned the robocopy process though and it was 20% through moving multiple files and I didn’t want to stop it and restart it.  So, “how do you pause a running process”? A google search landed me on a page that talked about PsSuspend and using it to pause a running process.

I used Process Explorer, another favorite from sysinternals, to identify the process id of the running application to suspend.

9-6-2011 11-05-56 AM

Then using the pssuspend tool I was able to pause the copy so I could work.

9-6-2011 11-24-31 AM

I then later in the day restarted the process.

9-6-2011 12-56-08 PM

You could see in the properties of process in process explorer when the copying started up again that it was copying the file at 2.0 MB per second.

9-6-2011 12-56-23 PM

This could come in handy for all kinds of processes to pause and then restart.

Tags: , ,