Long delay on Windows XP Shutdown

I had been wondering for a while why my XP machine took so long to shut down. Very close to the end, only the background image showing, full disk activity, waiting in the range of a few minutes to finally shut down power.

The it dawned on me, that maybe I had once set something up to clear the paging file before shutdown to remove all accidentally left behind decrypted passwords in that paging file.

And I did indeed, I found that I had forgotten I set this once. So, if you ever wonder what your computer thinks about so long before going off to never-never land, maybe you have set that as well.

1. Start Registry Editor (Regedt32.exe).
2. Change the data value of the ClearPageFileAtShutdown value in the following registry key to a value of 1:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management

If the value does not exist, add the following value:

Value Name: ClearPageFileAtShutdown
Value Type: REG_DWORD
Value: 1

This obviously the instructions of doing the opposite – to clear out the paging file, but set the value to 0 to turn it off.

Related posts:

  1. The list of servers for this workgroup is not currently available

This entry was posted in Computer and tagged , , . Bookmark the permalink.

One Response to Long delay on Windows XP Shutdown

  1. Martin says:

    Did the same thing, forgot I did and found your post. Thanks!

Leave a Reply

Your email address will not be published. Required fields are marked *

*

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>