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: Disk Cleaner making system unbootable

13 Dec 2017   #1
rgg

Windows 7 Professional x64 SP1
 
 
Disk Cleaner making system unbootable

Hi all,

Last night, I ran Disk Cleanup (cleanmgr.exe) on a reasonably fresh install of Windows 7 Pro x64 SP1, which resides on the only drive on the system - a 128GB SSD. I noticed it was reporting that over 800GB could be freed up from Temporary Files, but put this down to a minor glitch and went ahead with the cleanup.

After it was done, Chrome failed to open and gave an error about a missing .dll file. Various .dll files were reported as missing while trying to run other programs, and Windows system apps like Regedit and Task Manager were reported as being missing. The exe files were still in the system folder, but from research I think they actually link to files in the winsxs folder, which seemed to have been gutted.

After a failed reboot, I managed to use a restore point from a couple of hours earlier and I'm all back up and running now with Disk Cleanup still reporting an insane amount of GBs.



I found a post elsewhere with the same issue on a Windows 7 machine with an SSD, but nothing about the cause of the problem or how to fix it.

Windows is genuine and up to date, virus scan reports nothing, SSD firmware is up to date.

So far, I've found out that Disk Cleanup goes through the registry entries under HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches as part of the process:



and Temporary Files links to %TEMP%, which maps to C:\Users\[username]\AppData\Local\Temp, which is a lot less than the 925GB it reports.

Has anyone encountered this before or know of how to find out what's going wrong? I could just reinstall and hope it goes away, but these bugs bug me


My System SpecsSystem Spec
.
13 Dec 2017   #2
looked

Windows 7 Ultimate x64
 
 

Quote   Quote: Originally Posted by rgg View Post
Last night, I ran Disk Cleanup (cleanmgr.exe) on a reasonably fresh install of Windows 7 Pro x64 SP1, which resides on the only drive on the system - a 128GB SSD. I noticed it was reporting that over 800GB could be freed up from Temporary Files, but put this down to a minor glitch and went ahead with the cleanup.
I never run the disk cleanup utility because it doesn't tell you specifically what files it will delete also M$crosoft won't take any responsibility if there is any damage to the system.
If I were you, I would definitely reinstall Windows.

1) For cleaning the system use CCleaner, check the settings and never delete anything you don't know what is about.
2) Install Rollback RX Home (free) which will make a shot of the "whole" system unlike Microsoft's system restore. Disable any defragmenting tasks in task scheduler and never rut it because Rollback uses its own defrag utility.
My System SpecsSystem Spec
14 Dec 2017   #3
Megahertz07

Windows 7 HP 64
 
 

You may have a disk problem.
Boot from the installation disk, go to Repair and launch a CMD window. Type:
chkdsk c: /f

Then do a system file check. Type:
sfc /scannow
My System SpecsSystem Spec
.

14 Dec 2017   #4
Layback Bear

Windows 10 Pro. 64/ version 1709
 
 

From post #2

Quote:
I never run the disk cleanup utility because it doesn't tell you specifically what files it will delete also M$crosoft won't take any responsibility if there is any damage to the system.
If I were you, I would definitely reinstall Windows.

The owners of Ccleaner will also not take any responsibility if you use their program.

I use Windows 7 Disk Cleanup Tool just about every day for years without problems.

In my opinion using Windows 7 built into tools is the safest tools to use because in most cases Windows 7 tries to protect itself.

Jack
My System SpecsSystem Spec
14 Dec 2017   #5
torchwood

W7 home premium 32bit/W7HP 64bit/w10 tp insider ring
 
 

Hi

DiskCleaner has been known to incorrectly state the size of files/folders that have Hardlinks associated with them. I've seen reports of 3.99TB on 100GB drive on our W10 forum.
The user did not report any problems after letting the program complete.


Roy
My System SpecsSystem Spec
14 Dec 2017   #6
Layback Bear

Windows 10 Pro. 64/ version 1709
 
 

I personally don't worry about that size of files/folders that shows when using Disk Cleanup.
I read what it's cleaning and if I like it I check it.

Just like I don't worry about the reported size of WinSXS.

Jack
My System SpecsSystem Spec
14 Dec 2017   #7
Megahertz07

Windows 7 HP 64
 
 

I also never had any problems using Disk Cleanup.
Can it be crossed links on the allocation table?
That's why I asked to do the check disk and a system file check. It's the basic start.
My System SpecsSystem Spec
15 Dec 2017   #8
rgg

Windows 7 Professional x64 SP1
 
 

Quote   Quote: Originally Posted by Megahertz07 View Post
You may have a disk problem.
Boot from the installation disk, go to Repair and launch a CMD window. Type:
chkdsk c: /f

Then do a system file check. Type:
sfc /scannow
chkdsk run from the installation disk seems to scan just the System Reserved partition and reports no errors other than "Failed to transfer logged messages to the event log with status 50"

I scheduled chkdsk to run on reboot - no errors found

sfc /scannow - Windows Resource Protection did not find any integrity violations

I found the Windows Server 2008 version of cleanmgr and ran it out of interest - it reports Temp Files as 32.8MB which sounds more accurate that the Windows 7 version which is now reporting 1.08TB

I'm wondering if the issue is an obscure bug in the Win7 version of cleanmgr rather than a system problem.

I'd rather not reinstall from scratch without knowing what the cause is - the issue could still be there afterwards.
My System SpecsSystem Spec
15 Dec 2017   #9
Megahertz07

Windows 7 HP 64
 
 

Did you install Win 7 as Legacy - MBR or UEFI - GPT?
My System SpecsSystem Spec
15 Dec 2017   #10
rgg

Windows 7 Professional x64 SP1
 
 

Quote   Quote: Originally Posted by Megahertz07 View Post
Did you install Win 7 as Legacy - MBR or UEFI - GPT?
Installed as Legacy-MBR
My System SpecsSystem Spec
Reply

 Disk Cleaner making system unbootable




Thread Tools




Similar help and support threads
Thread Forum
Disk Cleanup + SSD = unbootable
I used to use Microsoft Disk Cleanup YEARS ago and it works no problem on a HDD Windows 7. Now I just ran Disk Cleanup (with default settings - which is to clear temp folder, clear recovery/rescue files, update files, etc. etc).... on my SSD C:\Windows 7 - I do still have the old Windows 7 on the...
General Discussion
Unbootable after changing to dynamic disk. Win recovery can't see disk
Hey. I wanted to do a software RAID1 to my current Windows 7 system disk. I saw a few tutorials and guides were this had been done. I converted my present system disk (2 data partitions + system recovery partition + small boot partition?) into a dynamic disk. I was not able to mirror the disk...
Installation & Setup
BSOD With System Unbootable
My Friend was Playing games on PC Suddendly the pc came up with BSOD Unmountable boot volume but the pc is not bootable it keeps restarting if any questions ? Ask me i shall ask my friend and actually he doesn't know speak english fluently And tell me any fixes i shall ask him. and he is noob in...
BSOD Help and Support
Unbootable PE disk made using DTCP
Hi everyone, I am a amateur IT Pro (contradictory?) currently using a self paced training manual for the 70-680 microsoft exam. I've gotten to a part of the training where I am having a bit of difficulty proceeding with creating a PE boot disk. I have gone through the steps exactly as they are...
Installation & Setup
System Unbootable, error: stop: c000021a
Well I had the brilliant idea to delete the manufacturer's recovery partition on my ASUS Win 7 64-bit laptop, and reclaim that space for my C drive, and now my system is unbootable. I get the error message "autochk program not found" then stop: c000021a Fatal System Error. I have run System...
General Discussion


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 23:08.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App