Avatar of ben1211
ben1211
Flag for Malaysia asked on

Removing Files from WINDOWS Directory

I am on Windows 2003 Server

My C Drive tends to be getting filled up. I have a folder in the C Drive \ WINDOWS folder, of which consumes about 1GB or more.

The folder is : C:\WINDOWS\$hf_mig$
In this folder has got many KB folders. Can this be deleted?

What else can I delete from the WINDOWS Folder.

I noticed in the Windows Folder, there are many $uninstall$ directories, which are blue in color. Can this be deleted.

What files can I actually delete from the Windows folder to make up space.

I know further disk space is needed, but at this point, what can I delete to create space?
Microsoft Legacy OS

Avatar of undefined
Last Comment
ben1211

8/22/2022 - Mon
sihar86

File that used as temporary file are file that usually deleted.
Ex:document file(office file), internet files.
There is third party application that can remove temporary files
but sometime remove the neccessary file by windows.
Safer way to remove this is:
right click of your drive-> choose properties -> in tab general click button "disk cleanup"
Plantwiz

You likely can delete zipped files that you have unzipped.  It's double (well, not quite) but storing the same info twice and once the zipped folder is unzipped, the zipped file can be removed as you have all the contents unpackaged.

Look for programs you haven't used in a while (3 months, 6 months or a year...you decide) and uninstall of those real old apps you don't use.  You likely can re-download at a later date if needed.
enzogoy

a 1GB Windows folder is not big.  Trust me, not at all.  I rather to look else where to clean up the drive NOT Windows folder.  One mistake would cause you headache.  You only touch that folder if you know what you are doing.

Documents and Settings << this is the folder I will look into first.  Delete all the users which doesn't need to be there.  Clean up the Recycle bin.

the next one is all junk folders on the C: like application installation file.  After the installation, you forget to remove them, this is a good time to clean them up.

The last one is uninstall application which not needed anymore then get into Programs folder to delete them too.

Think twice if you plan to delete anything under WINDOWS folder.

enz
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck
ASKER CERTIFIED SOLUTION
Lee W, MVP

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
SOLUTION
guyinwonder

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
ben1211

ASKER
leew, the $hf_mig$  consist of KB directories. Why can't we delete these directories?

What about the uninstall directories in Windows that are colored blue?

Please advise.
ben1211

ASKER
what happens if these files are deleted? from the $hf_mig$ folder?
SOLUTION
Lee W, MVP

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
ben1211

ASKER
which link Leew?  this? http://www.lwcomputing.com/tips/static/bootdrivesize.asp

I need to know if these folders can be deleted or not. And if they are deleted, what is the impact?

Please let me know.
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
Lee W, MVP

Yes, that link - what don't you understand about it?
ben1211

ASKER
Leew, with regards to the $uninstall$ directories located in the Windows folder. I saw the link that you provided http://blog.ryantadams.com/2008/02/21/what-is-hf_mig-and-can-i-delete-it/ and then clicked on another link from that you sent me.

This link http://blog.ryantadams.com/2008/02/21/removing-ntservicepackuninstall-and-other-update-related-folders/
tells me that I could delete the $uninstall$ directories (blue in color)

If you ever wanted to remove an update (which can be done with Windows’ Add/Remove Programs feature), these folders would be used. However, if you don’t plan to uninstall any updates (99% of the time you never will need to), you can recover some disk space by removing those folders. You can delete any of the folders that start and end with a “$”, except for “$hf_mig$”. Depending on the number of updates you have installed, deleting these folders can save between one and several hundred megabytes worth of space.

So this means I could delete the $uninstall$ blue folders right?
ben1211

ASKER
with regards to the folder “$hf_mig$. If the files in here are deleted....will this only affect server migration? Assuming these directories are deleted from this “$hf_mig$ folder, and the server were to be rebooted, would this cause a problem?
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23
SOLUTION
Lee W, MVP

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
SOLUTION
guyinwonder

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
Lee W, MVP

"This Link" basically says the same thing I do.
guyinwonder

Leew: yes  it does ..  :) well lets hope that Ben1211 got the cloud away from his problem now  :D
ben1211

ASKER
yes that link cleared my doubts.

So basically there's nothing else i can really delete to save on space?

I would then have to post another question as to how to I migrate the OS C Drive to a new server with a larger hard disk capacity.
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.