Link to home
Start Free TrialLog in
Avatar of ben1211
ben1211Flag 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?
Avatar of sihar86
sihar86
Flag of Indonesia image

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"
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.
Avatar of enzogoy
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
ASKER CERTIFIED SOLUTION
Avatar of Lee W, MVP
Lee W, MVP
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of 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.
Avatar of ben1211

ASKER

what happens if these files are deleted? from the $hf_mig$ folder?
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of 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.
Yes, that link - what don't you understand about it?
Avatar of 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?
Avatar of 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?
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
"This Link" basically says the same thing I do.
Leew: yes  it does ..  :) well lets hope that Ben1211 got the cloud away from his problem now  :D
Avatar of 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.