Tip

Setting the Windows Service Pack revision level

Windows tracks which Service Pack level has been installed on a given computer through a Registry entry. The Service Pack level is simply a number that indicates which, if any, Service Pack has been installed on that particular computer. In applications and through programmatic interfaces, the Service Pack level is referred to as the CSDVersion property, and is part of the number string that describes the version of the current installation of Windows: major revision (5 for both Windows 2000 and XP), minor revision (1 for XP, 0 for Win2K), build number (2600 for XP, 2195 for Win2K), and service pack number.

If a Service Pack is not installed correctly, or another program makes incorrect assumptions (or is misled) about the current Service Pack number, then the Service Pack revision level reference might be damaged. This in turn can cause hotfixes and security patches to not install correctly.

To manually reset the Service Pack level, open the Registry and navigate to the key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Windows. Add or edit a DWORD value named CSDVersion and set it to 0 (hex or decimal). Reboot the computer and then go to Windows Update to re-apply the most recent Service Pack and hotfixes.

Note that changing the Service Pack level in this fashion does not automatically cause references to Service Packs or hotfixes to be removed from the Add/Remove Programs menu. These should be left as-is to

    Requires Free Membership to View

prevent conflicts with other system components; removing them and then changing the Service Pack revision level may do more harm than good.

Serdar Yegulalp is the editor of the Windows 2000 Power Users Newsletter. Check out his Windows 2000 blog for his latest advice and musings on the world of Windows network administrators – please share your thoughts as well!


This was first published in June 2004

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.