Category Archives: windows

Windows XP Disk Cleanup Takes A Long Time To Start

Microsoft Windows XP comes with a utility called Disk Cleanup. You can find it by going to:

Start Menu -> All Programs -> Accessories -> System Tools -> Disk Cleanup


If Disk Cleanup is taking an annoyingly long time to start up because it is ‘scanning for old files to compress’, you can force it to stop this scan. All you need to do is modify the registry. Using regedit.exe or similar tool, browse to this key:



Find the ‘Compress old files‘ registry key and rename it. Save and close.

You can find Microsofts knowledge base article on this here:

Current password is not correct

What The Error Message Said..

When starting windows you get this message at the login prompt:

“When trying to update a password, this return status indicates that the value provided as the current password is not correct.”

Why Did This Happen?

Most likely, I was trying to recover the password.


Replace the SECURITY/SAM file that lives in C:\WINDOWS\system32\config


To do this you need to access C drive in your computer without running Windows that is installed on that C drive. You can start the computer using a boot disk such as BartPE (see Google for detailed instructions). You can also move the disk to another computer and make the changes on that computer (see Google for detailed instructions).

Where do I get the SECURITY and SAM files?

If you are pretty stuck, try getting these from a fresh install of the OS you are working on (most likely this was Windows XP). Otherwise you should have a backup of these files since you were smart and backed them up before you messed about with them.