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 Cleanup : Extended

18 Mar 2018   #90
Brink

64-bit Windows 10 Pro
 
 

Great news Paul. Thank you for sharing your findings.


My System SpecsSystem Spec
.
19 Mar 2018   #91
Paul Black

7 HP SP1 64-bit Vista HB SP2 32-bit Linux Mint 18.3
 
 

Thanks Brink,

I just hope it can help someone in the future.
After all, we are all trying to achieve our individual goals.
This thread is quite informative, especially with the links that you posted as well.
Thanks again for your help .
My System SpecsSystem Spec
10 Apr 2019   #92
Paul Black

7 HP SP1 64-bit Vista HB SP2 32-bit Linux Mint 18.3
 
 

Here is a revised script with the Extended Disk Cleanup .bat file attached.

This script allows the user to:

[1] Abort the program in case they double-clicked the .bat file accidentally.
[2] Select [check] the items that they want cleaned.

Code:
@echo off
Title Extended Disk Cleanup
echo.
echo  ==============================================================================
echo          Hello %username%: YOU ARE ABOUT TO RUN EXTENDED DISK CLEANUP.
echo  ==============================================================================
echo.
echo  Select an option:
echo.
echo  [1] To abort this process and close the consol window.
echo  [2] To coninue and run Extended Disk Cleanup.
echo.
echo  IMPORTANT:
echo.
echo  Keep this window open until cleaning has finished, it will close automatically!
echo  ==============================================================================
echo.
CHOICE /N /C 12 /M ">Enter an option:"
IF ERRORLEVEL 2 GOTO Option_2
IF ERRORLEVEL 1 GOTO Option_1
:Option_1
GOTO End
:Option_2
echo.
echo  Check the appropriate boxes for the items you want cleaned and press [OK].
echo.
echo  Running Extended Disk Cleanup . . .
%ComSpec% /c Cleanmgr /sageset:65535 & Cleanmgr /sagerun:65535
GOTO End
:End
Extended Disk Cleanup batch file [direct download] => Extended Disk Cleanup.bat

I hope you find this useful!
My System SpecsSystem Spec
10 Apr 2019   #93
Brink

64-bit Windows 10 Pro
 
 

Thank you for sharing Paul.
My System SpecsSystem Spec
.

10 Apr 2019   #94
Paul Black

7 HP SP1 64-bit Vista HB SP2 32-bit Linux Mint 18.3
 
 

Hi Brink,

Quote   Quote: Originally Posted by Brink View Post
Thank you for sharing Paul.
Not a problem at all, I am glad that I could make this available for other members to benefit from!
My System SpecsSystem Spec
Reply

 Disk Cleanup : Extended




Thread Tools




Similar help and support threads
Thread Forum
FYI: Extended Disc Cleanup has started killing recent Windows Updates
I've been using the new extended disk cleanup for over a year now with no problems. Occasionally it will find Windows Updates that have been superseded, and remove them. Yay!! BUT, upon using Disk Cleanup yesterday, it removed 4 RECENT, REQUIRED updates that had to be re-installed. It...
Windows Updates & Activation
Disk Cleanup
I understand what defragment does but Iím not clear about disk cleanup. Can someone please explain? And also, please advise me if this is not the most appropriate discussion for this post.
Performance & Maintenance
Disk Cleanup
Which files can safely be checked for Disk Cleanup? I don't want to delete something that may casue an issue with the system working correctly.
Performance & Maintenance
disk cleanup?
can i check everything when i run Disk Cleanup?
Performance & Maintenance
Extended Disk Cleanup : New Tutorial!
I hope everyone finds it useful. :) https://www.sevenforums.com/tutorials/76383-disk-cleanup-extended.html#post668379
Chillout Room


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 22:09.
Twitter Facebook