Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: Cannot delete the qmgr*.dat files to reset Windows Update components.

01 Aug 2015   #1
Ahu Lee

Windows 7 Ultimate x86
Cannot delete the qmgr*.dat files to reset Windows Update components.


I've tried to follow this instruction in order to reset Windows Update components (as means to get my Windows 7 updated ).

In step 3 it says to delete the qmgr*.dat files by using a command prompt. But when I try to do so I get this "The process cannot access the file because it is being used by another process" thing for the both (qmgr0.dat, qmgr1.dat) files.

What do I do?

Thank you.

My System SpecsSystem Spec
07 Aug 2015   #2

Microsoft Community Contributor Award Recipient

Win 7 x64 Home Premium (and x86 VirtualBox VM)/Win10

Boot to Safe Mode and do the deletions there - it's likely that one of the files is corrupt.
If it still fails, then run CHKDSK /F from an Elevated Command prompt, and once completed try again.
My System SpecsSystem Spec

 Cannot delete the qmgr*.dat files to reset Windows Update components.

Thread Tools

Similar help and support threads
Thread Forum
Disk Cleanup does not delete windows update files
Hi! The windows directory on my installation has gotten extremely bloated and I would like to free up some space. The Disk Cleanup utility nicely offers to free up 7 GBs of windows update data. However, when I run it, I only see a progress bar for a while and then it disappears. The amount of...
Performance & Maintenance
How do I reset Windows Update components?
If you receive a Windows Update error, try Solutions for common Windows Update errors. Automatically reset Windows Update components To automatically reset Windows Update components, run the appropriate Windows Update diagnostic, and then follow the on-screen instruction. Windows 10...
Windows Updates & Activation
Corrupt windows files after Factory reset and window update won't work
Hello, After a faulty harddrive (one of a RAID 0 array), both of which were replaced by twice the capacity HDDs, I restored from a system image, having changed my RAID Assembly to RAID 1. However I had many problem with my setup, one of which was the complete inability to download anything,...
Installation & Setup
Pagefile, Temporary Int Files, Temp files reset after update
Hello, I have a system with 32gb DDR3-2400, a 256GB SSD and a couple of spinners. I have set up 4gb of the RAM to be used as another RAMdisk using the softperfect software. This problem has been going on for some time, but has been more of a problem since I started using the RAMdisk. Not...
Performance & Maintenance
How do I delete these specific components from the system partition?
I originally partitioned my Toshiba NB205-N210 for Windows XP, so I only gave the system partition 8GB. Recently I installed Windows 7 Ultimate (x86) and of course 8GB is too small for it to really work well. This is even if I have enabled "compress files" for C: and I've already removed...
Performance & Maintenance

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 14:59.
Twitter Facebook Google+