Microsoft KB Archive/290402

= HOW TO: Remove the Service Pack Restore Files and Folders in Windows =

Article ID: 290402

Article Last Modified on 10/26/2007

-

APPLIES TO


 * Microsoft Windows 2000 Service Pack 1
 * Microsoft Windows 2000 Service Pack 3
 * Microsoft Windows 2000 Service Pack 2
 * Microsoft Windows 2000 Advanced Server
 * Microsoft Windows 2000 Advanced Server
 * Microsoft Windows 2000 Advanced Server
 * Microsoft Windows 2000 Service Pack 1
 * Microsoft Windows 2000 Service Pack 2
 * Microsoft Windows 2000 Service Pack 3

-



This article was previously published under Q290402





IN THIS TASK
SUMMARY
 * Delete the Service Pack Uninstall Folder

Troubleshooting REFERENCES IMPORTANT: This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows Registry



SUMMARY
This article provides instructions and discusses the precautions for safely deleting the Service Pack Uninstall folder ($NtServicePackUninstall$). It also provides guidance for relocating the ServicePackFiles folder without losing functionality of the Windows File Protection system and the updated Service Pack files (which can be used to add additional components).

When a Windows 2000 Service Pack has been installed and tested, you may want to free hard disk space on the local computer by deleting and/or relocating the Service Pack folders. WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

If you want, you can free disk space on the local system by deleting the Service Pack Uninstall folder (refer to the &quot;Deleting the Service Pack Uninstall Folder&quot; section). Additionally, the ServicePackFiles folder may be relocated to an alternate drive or to a centralized network sharepoint (refer to the &quot;Relocating the ServicePackFiles Folder&quot; section). Both actions can be accomplished independently of each other.

back to the top

Delete the Service Pack Uninstall Folder
NOTE: The Service Pack uninstall capability must only be removed after you have determined that there is no longer a need to return the system to the pre-Service Pack state.

For additional information, click the article number below to view the article in the Microsoft Knowledge Base:

268989 Considerations Before You Uninstall Windows 2000 Service Pack 1

The Service Pack Uninstall folder is a hidden file. If you do not find it in the following path, ensure that you have enabled the Show hidden files and folders option in the View tab in Folder Options:  Locate the Service Pack Uninstall folder in the %Systemroot%\$NtServicePackUninstall$ folder. Select the $NtServicePackUninstall$ folder and delete it. To remove the Service Pack uninstall option from the Add/Remove Programs menu, delete the following registry key:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Windows 2000 Service Pack

where  is the version number of the Service Pack that is installed.

back to the top

Troubleshooting
If you delete the ServicePackFiles folder, the Windows File Protection system is unable to work if a Service Pack file becomes corrupted. The Windows File Protection system does not prompt you for an alternate file location nor does it restore the corrupted file. If you remove the ServicePackFiles folder, and then attempt to install optional components [such as, Dynamic Host Configuration Protocol (DHCP) or Windows Internet Name Service (WINS)], the system is unable to automatically install the latest Service Pack version of the files. You are prompted for an alternate location for the file installation.

To work around both of these issues and to successfully free disk space, refer to the following KB article for steps to permanently configure an alternate directory location:

271484 Files and Folders Are Added to Your System After Service Pack Is Installed

back to the top

