(How) can I delete "ServicePackFiles", "$NtServicePackUninstall$" and others?

P

Peter Swindon

Which of the following files/folders can I delete without harming WinXP:

C:\Windows\ServicePackFiles
C:\Windows\$hf_mig$
C:\WINDOWS\$NtServicePackUninstall$
C:\WINDOWS\DriverCache
C:\WINDOWS\$NtUninstallKB999999$

Can I simply delete them in WinExplorer or should I use a specialized cmdline tool?

Peter
 
P

(PeteCresswell)

Per Peter Swindon:
Which of the following files/folders can I delete without harming WinXP:

C:\Windows\ServicePackFiles
C:\Windows\$hf_mig$
C:\WINDOWS\$NtServicePackUninstall$
C:\WINDOWS\DriverCache
C:\WINDOWS\$NtUninstallKB999999$

Can I simply delete them in WinExplorer or should I use a specialized cmdline tool?

I have been deleting anything that starts with $NtUninstall for
some years now with no adverse effects.

I've always just used WinExplorer.

Over time, with Windows Updates, they will eat up a C: drive -
especially if it's only 30-50 gigs.
 
D

Don Phillipson

Peter Swindon said:
Which of the following files/folders can I delete without harming WinXP:

C:\Windows\ServicePackFiles
C:\Windows\$hf_mig$
C:\WINDOWS\$NtServicePackUninstall$
C:\WINDOWS\DriverCache
C:\WINDOWS\$NtUninstallKB999999$

Can I simply delete them in WinExplorer or should I use a specialized
cmdline tool?

1. We are generally advised to keep C:\Windows\$hf_mig$
(master update file) and delete all C:\WINDOWS\$Nt*
(update component files.)

2. A general safe method to avoid wasting drive space is:
1. Create a folder C:/Discards.
2. MOVE to C:/Discards any folder you plan to delete.
3. Reboot and run the PC as normal.
A: If you get any error messages "File Not Found" you
can restore the appropriate folders to whence they came.
B. After a week elapses with no error messages, you can
DELete all C:/Discards.
 
G

glee

Peter Swindon said:
Which of the following files/folders can I delete without harming
WinXP:

C:\Windows\ServicePackFiles
C:\Windows\$hf_mig$
C:\WINDOWS\$NtServicePackUninstall$
C:\WINDOWS\DriverCache
C:\WINDOWS\$NtUninstallKB999999$

Can I simply delete them in WinExplorer or should I use a specialized
cmdline tool?

This article (on post-SP3 cleanup) explains what you can delete and what
you need to leave.

XP SP3: Post Installation Cleanup:
http://aumha.net/viewtopic.php?f=83&t=33827
 
P

philo

Which of the following files/folders can I delete without harming WinXP:

C:\Windows\ServicePackFiles
C:\Windows\$hf_mig$
C:\WINDOWS\$NtServicePackUninstall$
C:\WINDOWS\DriverCache
C:\WINDOWS\$NtUninstallKB999999$

Can I simply delete them in WinExplorer or should I use a specialized cmdline tool?

Peter


Though you can delete them...
in the unlikely event you need to uninstall a service pack , you'd not
be able to
 
T

Tim Meddick

You should NOT attempt to delete the following folders :

C:\Windows\ServicePackFiles
C:\WINDOWS\DriverCache

....under ANY circumstances, they are essential for the normal operation of
XP when WFP (Windows File Protection) is enabled.


However, the following folder is needed if you ever need to uninstall the
previous Service Pack :

C:\WINDOWS\$NtServicePackUninstall$

....but if you are absolutely SURE you will never need to uninstall the last
Service Pack, removing this folder will not impact on the system in any
other way. One option would be to burn this folder to a cd-rom before
deleting it entirely, then if a situation arose where you needed to
roll-back the last Service Pack you would be able to do so after copying
the folder back to it's original location.


The following folder enables the uninstalling of any of the subsequent
individual "Window's Updates" and should NEVER be removed :

C:\Windows\$hf_mig$

....as you will no longer be able to uninstall any installed updates if it
is removed.


However, all of the above folders are capable of being compressed to
minimise the impact they have on the space they use on the drive. They
should also be "hidden" folders, so while Explorer is set to "Show hidden
files and Folders", right-click on the selected folder and choose
"Properties" then click on the "Advanced" button - if not already
checkmarked, select "Compress contents to save disk space" then press [ok]
to save and exist the dialogue.

==

Cheers, Tim Meddick, Peckham, London. :)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top