Re: How to detect presence of SP2?



HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows NT\CurrentVersion

Value Name: CSDVersion
Data Type: REG_SZ
Value Data: Service Pack #

Service Pack # will be Service Pack 2 if SP2 is installed. Service Pack 1
for SP1. I do not know what you have if no Service Pack is installed.

How to tell if SP2 is installed.

Start | Run | Type: winver | Click OK
If it says Service Pack 1, you do not have SP2.
If it says Service Pack 2, you have SP2.

Windows Security Center (wscui.cpl) will exist.
Start | Run | Type: wscui.cpl | Click OK |
Windows Security Center will open if SP2, you'll get an error if not SP2.

Windows XP Service Pack 2 will be listed in Add or Remove Programs, unless
XP was installed with SP2.

$NtServicePackUninstall$ will be in %windir% or C:\WINDOWS (There may be one
of these folders that relates to SP1). $NtServicePackUninstall$ will not
exist if XP was installed with SP2.

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion

Value Name: CSDVersion
Data Type: REG_SZ
Value Data: Service Pack #

Service Pack # will be Service Pack 2 if SP2 is installed. Service Pack 1
for SP1. I do not know what you have if no Service Pack is installed.

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In news:C42173C2-5701-4321-B37C-5A9494141089@xxxxxxxxxxxxx,
Helpme <Helpme@xxxxxxxxxxxxxxxxxxxxxxxxx> hunted and pecked:
Hi,

I just installed a new VPN solution for my company. As a security
precaution, I'd like to have it check for the presence of sp2 before
allowing users login to the network. Does anyone know what's a reliable
way to detect wheather sp2 is installed on a windows XP system? What
registry key does it use?

Thanks.

.



Relevant Pages

  • Re: Corrupt IE before and after XP SP2
    ... Installing Windows XP SP2 - And What Comes Next ... What to Know Before You Download and Install Windows XP Service Pack 2 ... Are You Ready for WinXP SP2? ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: Recent MSFT KBs on XP SP2 Incompatibility and Others
    ... I wish I could accurately distinguish what are SP2 problems (particularly ... > Some Programs Seem to Stop Working After You Install Windows XP Service ... > Troubleshooting Windows Firewall Settings in Windows XP Service Pack 2 ... > you install SQL Server 2000 or MSDE 2000 on a computer that is running ...
    (microsoft.public.windowsxp.customize)
  • Re: Recent MSFT KBs on XP SP2 Incompatibility and Others
    ... I wish I could accurately distinguish what are SP2 problems (particularly ... > Some Programs Seem to Stop Working After You Install Windows XP Service ... > Troubleshooting Windows Firewall Settings in Windows XP Service Pack 2 ... > you install SQL Server 2000 or MSDE 2000 on a computer that is running ...
    (microsoft.public.windowsxp.basics)
  • Re: Recent MSFT KBs on XP SP2 Incompatibility and Others
    ... I wish I could accurately distinguish what are SP2 problems (particularly ... > Some Programs Seem to Stop Working After You Install Windows XP Service ... > Troubleshooting Windows Firewall Settings in Windows XP Service Pack 2 ... > you install SQL Server 2000 or MSDE 2000 on a computer that is running ...
    (microsoft.public.windowsxp.newusers)
  • Re: Recent MSFT KBs on XP SP2 Incompatibility and Others
    ... I wish I could accurately distinguish what are SP2 problems (particularly ... > Some Programs Seem to Stop Working After You Install Windows XP Service ... > Troubleshooting Windows Firewall Settings in Windows XP Service Pack 2 ... > you install SQL Server 2000 or MSDE 2000 on a computer that is running ...
    (microsoft.public.windowsxp.general)