When you install a Service Pack for Windows 2000, you have the option of keeping a backup copy of all the files that are replaced by the Service Pack. This is generally considered to be a good idea; sometimes applying a Service Pack can cause unexpected problems, and might need to uninstall the pack to continue normal operations. If you don't keep the replaced files, the only other way to do this is to restore the whole system from a backup.

A server that has been in place for a long time may accumulate a great many backup folders from the installation of Service Packs and pre-SP hotfixes. If the server has been running dependably for quite some time (usually a month or two is enough to give a Service Pack a good shakedown), you can usually remove the Service Pack uninstall files and free up some space (around 25-100 MB per Service Pack).

Service Pack backup files are kept in a hidden folder in the \%Systemroot% directory, named $NtServicePackUninstall$ . You need to have Explorer show hidden and system files to be able to see it; you can enable this in Explorer by selecting Tools | Folder Options | View | Show hidden files and folders. Once you see this folder, simply remove it by deleting it.

There will also be an entry to uninstall the Service Pack in Add/Remove Programs. To remove this entry, navigate in the Registry to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Windows 2000 Service Pack

    Requires Free Membership to View

 (where  is the service pack number), and delete that key. This takes effect immediately.

Note that there is another folder in \%Systemroot% named ServicePackFiles. Do not delete it. If a file installed from the Service Pack becomes corrupted, Windows File Protection will attempt to load restored versions of the files in question from that folder. If you've removed the folder, WFP will fail -- it won't ask for an alternate location, but will simply not replace the corrupted file.


Serdar Yegulalp is the editor of the Windows 2000 Power Users Newsletter.


This was first published in February 2003

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

Disclaimer: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.