Home > Windows Tips > > Kill service pack uninstall files
Win IT Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 


Kill service pack uninstall files


Serdar Yegulalp
02.05.2003
Rating: -4.31- (out of 5)


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


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_MACHINESOFTWAREMicrosoftWindowsCurrentVersionUninstallWindows 2000 Service Pack (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.


Rate this Tip
To rate tips, you must be a member of SearchWinIT.com.
Register now to start rating these tips. Log in if you are already a member.




Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary

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.



Windows Technology Updates, Reviews and Solutions

Laptop Discounts with free coupon codes, huge savings at Notebook Review

HomeNewsTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersIT Downloads
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 1999 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts