Re: How to determine whether SP2 (OEM or Upgrade) is installed?
From: Torgeir Bakken \(MVP\) (Torgeir.Bakken-spam_at_hydro.com)
Date: 11/02/04
- Next message: tom: "network card issues post sp2 install"
- Previous message: Carl G: "Re: XP SP2 windows login"
- In reply to: Theosophe74: "How to determine whether SP2 (OEM or Upgrade) is installed?"
- Next in thread: Ramesh [MVP]: "Re: How to determine whether SP2 (OEM or Upgrade) is installed?"
- Reply: Ramesh [MVP]: "Re: How to determine whether SP2 (OEM or Upgrade) is installed?"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 02 Nov 2004 13:01:18 +0100
Theosophe74 wrote:
> My company is blocking VPN access to their network because the
> CyberGatekeeper software they're using has a rule that says that I
> don't have XP SP2 installed. But I do have it installed as part of my
> OEM XP software from Dell (received with a new computer).
>
> Their software is currently looking for the registry key:
>
> HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Updates\Windows XP\SP2\KB811113
> Type="Service Pack"
>
> That may work for users who have upgraded from XP to XP SP2, but what
> should their software be searching for to determine whether SP2 has
> come pre-installed on a user's machine?
>
> Is there any check that takes into account both scenarios?
Hi
Yes:
Under the registry key
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\
the value CSDVersion (REG_SZ), SP2 is installed if the value is
"Service Pack 2"
Under the registry key
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Windows\
the value CSDVersion (REG_DWORD), SP2 is installed if the value is
512 (decimal)
-- torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway Administration scripting examples and an ONLINE version of the 1328 page Scripting Guide: http://www.microsoft.com/technet/scriptcenter/default.mspx
- Next message: tom: "network card issues post sp2 install"
- Previous message: Carl G: "Re: XP SP2 windows login"
- In reply to: Theosophe74: "How to determine whether SP2 (OEM or Upgrade) is installed?"
- Next in thread: Ramesh [MVP]: "Re: How to determine whether SP2 (OEM or Upgrade) is installed?"
- Reply: Ramesh [MVP]: "Re: How to determine whether SP2 (OEM or Upgrade) is installed?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|