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: How do I make more room on my hard drive

05 Apr 2019   #1
Kamrn

windows 7 professional 64 bit
 
 
How do I make more room on my hard drive

My CPU shows that my hard drive has 203 GB of storage space, but I keep getting a message that I am out of space. Right now its telling me I have 0 space available. I look at the programs and I just see the usual on a computer, such as Microsoft office, Silverlight and the usual programs that are preloaded when you buy a computer. I don't know what to do and I'm not an expert computer user. My husband had used this at work and I'm wondering if there are programs I can't find and they aren't showing up under programs that I can get rid of. Can anyone help me so that I can use this computer? I'm using Windows 7 professional


My System SpecsSystem Spec
.
06 Apr 2019   #2
Snick

Win 10 x64, Linux Lite, Win 7 x64, BlackArch, & Kali
 
 

Hi Kamrn,
Welcome to SevenForums!
Try running the below batch file with all boxes checked. After you download it, double-click to run. Then check all the boxes on the popup.
Disk Cleanup Extended.bat


My System SpecsSystem Spec
06 Apr 2019   #3
Paul Black

[1] Win 7 HP SP1 64-bit [2] Vista HB SP2 32-bit [3] Linux Mint 18.3
 
 

Hi Snick,

Quote   Quote: Originally Posted by Snick View Post
Try running the below batch file with all boxes checked. After you download it, double-click to run. Then check all the boxes on the popup.
Attachment 407693
I use that at least once a week when I do maintenance!

I saved mine to C:/Windows/System32 and then setup a desktop shortcut for it.
My System SpecsSystem Spec
.

06 Apr 2019   #4
Paul Black

[1] Win 7 HP SP1 64-bit [2] Vista HB SP2 32-bit [3] Linux Mint 18.3
 
 

Hi Snick,

Here's the code I used for my batch file...

Code:
@echo off
Title Extended Disk Cleanup
echo.
echo  ==============================================================================
echo          Hello %username%: YOU ARE ABOUT TO RUN EXTENDED DISK CLEANUP
echo  ==============================================================================
echo.
echo  IMPORTANT:
echo.
echo  Keep this window open until cleaning has finished, it will close automatically!
echo.
echo     [1] To abort this process close the consol window.
echo     [2] To continue to run Extended Disk Cleanup then press any key to continue. & pause > nul
echo.
echo  Running Extended Disk Cleanup...
%SystemRoot%\System32\Cmd.exe /c Cleanmgr /sageset:65535 & Cleanmgr /sagerun:65535
I included an abort option in case the .bat file was pressed in error!
My System SpecsSystem Spec
06 Apr 2019   #5
Snick

Win 10 x64, Linux Lite, Win 7 x64, BlackArch, & Kali
 
 

My System SpecsSystem Spec
06 Apr 2019   #6
Paul Black

[1] Win 7 HP SP1 64-bit [2] Vista HB SP2 32-bit [3] Linux Mint 18.3
 
 

Quote   Quote: Originally Posted by Snick View Post
Thanks Snick.

I just added a bit more personalisation and customisation!
My System SpecsSystem Spec
06 Apr 2019   #7
Paul Black

[1] Win 7 HP SP1 64-bit [2] Vista HB SP2 32-bit [3] Linux Mint 18.3
 
 

I just realised that the code I wrote above will still run if the user presses 1 [To abort this process close the consol window.] thinking it will abort the Extended Disk Cleanup process.

So what I have done is amended the code and included the choice parameter so the program will only run if either 1 or 2 are entered!

I thought I would post this in case people come across this thread and want to run the Extended Disk Cleanup process.

Here is the new code...

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  Running Extended Disk Cleanup...
%SystemRoot%\System32\Cmd.exe /c Cleanmgr /sageset:65535 & Cleanmgr /sagerun:65535
GOTO End
:End
My System SpecsSystem Spec
07 Apr 2019   #8
Kamrn

windows 7 professional 64 bit
 
 

I'm having a hard time downloading the program, as my computer says I don't have any room
My System SpecsSystem Spec
07 Apr 2019   #9
Snick

Win 10 x64, Linux Lite, Win 7 x64, BlackArch, & Kali
 
 

Kamrn
Click in searchbox type cmd, when it appears, lfet-click > choose Run as Administrator.
At the CMD >
copy and paste, the below bold text, (use the mouse)
SystemRoot%\System32\Cmd.exe /c Cleanmgr /sageset:65535 & Cleanmgr /sagerun:65535
When the popup appears, check all the boxes in (files to delete) run it!
My System SpecsSystem Spec
10 Apr 2019   #10
Paul Black

[1] Win 7 HP SP1 64-bit [2] Vista HB SP2 32-bit [3] 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


My System SpecsSystem Spec
Reply

 How do I make more room on my hard drive




Thread Tools




Similar help and support threads
Thread Forum
What programs can I safely remove to make room for Windows 10 upgrade?
I have an 80gb SSD and am removing everything possible because I am concerned that there won't be enough space for the Windows 10 upgrade. From what i've read, the windows.old folder where the old system is stored can be 30gb or more. Currently, I only have 20gb available. The Windows 10 app says...
Software
Acer Aspire X1301 - adding SSD as additional hard drive but no room!
Hi there, I have an Acer Aspire X1301 desktop pc which is running so slowly. I was advised that installing an SSD would speed it up and give it a new lease of life ...so I purchased one! Sadly however, upon opening the pc case, I realised that there was no spare space inside for me to be able to...
Hardware & Devices
how to make your internal hard drive into and external hard drive ?
I have an internal hard disk not in use ,and I would like to make it as external disk ! I looked on the net and I found I should have the " encelsure " butt I think I wont find it here in my city . So is there another way ? like usb -esata cable ?
Hardware & Devices
Os hard drive and local disk hard drive how can i make them into one?
i have a problem my laptop says it has two hard drives though it only has one physical one my os hard drive is filled and my local disk has lots og free space can someone help me combine them?
Hardware & Devices
Need to defrag files to front of disk to make room for new partition
I have around 130GB free on my boot partition, and want to create a new 20GB partition to play with Win 8. Unfortunately, when I go into Win 7 Disk Management and have it query my c: drive, it only shows around 3GB as being available for repartitioning. I have just run Smart Defrag with the...
Installation & Setup


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 06:03.
Twitter Facebook