cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
hari14singh
Level 5

Win 2000SP2 or later

I have to check whether the OS is

Win 2000 SP3 or later
Win XP SP2 or later

Thanks in advance
Labels (1)
0 Kudos
(1) Reply
SherylSikora
Level 6 Flexeran
Level 6 Flexeran

You need to use the VersionNT, WindowsBuild, and ServicePackLevel properties to check for a specific OS.

For example, to require Windows 2000 SP3 or greater:
((VersionNT=500) AND (WindowsBuild>=2195) AND (ServicePackLevel>=3))

You can find a listing of all of the OS values on the Microsoft help site:

Operating System Property Values
(If my reply answers a question you have raised, please click "ACCEPT AS SOLUTION".)
0 Kudos