Jump to content

[How-to] Detect license type of windows


Recommended Posts

Posted
I think there is no differences between corp/vlk and pro in windows, but I think there is registry key or files for activation differs with retail version ...

Their is no difference between XP Pro OEM, Retail, Academic or "Corporate" versions except for the Media and Keys used to install them...and that Academic and "Corporate" licenses don't require activation. The same Service Packs, Patches, Updates, Addons, tweaks, etc, etc apply to all of them. They're all just different licenses for the same version of Windows XP Professional.


Posted
Look at your product ID in the System Property sheet.

It looks like international versions have different product ID, I see

55703-640 Windows XP Professional Czech VLK

55703-OEM Windows XP Professional Czech OEM

and

76389-640 Windows XP Professional Czech VLK (??)

Some information is also here: http://djlizard.net/tech/product-id/

Petr

Guest bush911
Posted
Try this VBS script

strComputer = "."

Set objWMIService = GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")

Set colOperatingSystems = objWMIService.ExecQuery("Select * from Win32_OperatingSystem")

For Each objOperatingSystem in colOperatingSystems

Msgbox objOperatingSystem.Caption & " " & objOperatingSystem.Version, 0 + 32,"Window Version"

Next

the script dose not work.

post-84921-1136980802_thumb.jpg

Posted

Copy/Pasted code in new .vbs file and works great here, but doesn't allow to detect if your version is corporate ...

Posted

I just open up the EULA.txt file and scroll waaaaay down to the bottom and grab the version from there, it'll either say OEM, VLM, or RTL depending on what version... It's been about 98% accurate for me...

Posted
I just open up the EULA.txt file and scroll waaaaay down to the bottom and grab the version from there, it'll either say OEM, VLM, or RTL depending on what version... It's been about 98% accurate for me...

Not installed (so I don't know the product ID) - from MSDN:

Windows XP Professional N English VL - EULAID:XPSP2_RM.4_RME-PRO_RTL_EN

Windows XP Professional English x64 - EULAID:WS03SP1_RM.0_PX64_RTL_EN

Windows XP Media Center Edition 2005 English - EULAID:MCE05_RM.0_PRO_RTL_EN

Windows XP Professional English - EULAID:WX.4_PRO_RTL_EN

Windows XP Professional with SP1a English - EULAID:XPSP1_RM.1_PRO_RTL_EN

Windows XP Professional with SP2 English - EULAID:XPSP2_RM.0_PRO_RTL_EN

Windows XP Professional with SP2 English VL - EULAID:XPSP2_RM.0_PRO_RTL_EN

Windows Server 2003 Standard - EULAID:WNET_RM.5_SRV-ENT_RTL_EN

Windows Server 2003 Standard with SP1 - EULAID:WS03SP1_RM.2_STD-ENT_RTL_EN

Windows Server 2003 Enterprise with SP1 - EULAID:WS03SP1_RM.2_STD-ENT_RTL_EN

It means there is no difference between VL and RTL.

Petr

Posted (edited)

i take it 'RTL" is retail?

that's what my eula says, though that's not correct. mine is VLK.

Edited by atomizer
Posted
Improved batch to detect Corporate version of Windows

for /f "skip=4 tokens=3" %%? in ('reg query HKLM\SYSTEM\Setup\Pid /v Pid') do set Pid=%%?
set Pid=%Pid:~-3%
if '%Pid%'=='270' echo Corporate version detected && WhatCommandYouWant
if not '%Pid%'=='OEM' echo OEM version detected && WhatOtherCommandYouWant
exit

that detects mine as OEM. in my eula, RTL is listed. both are incorrect. mine is VLK.

Look at your product ID in the System Property sheet.

First set:

55274 : XP Professional

55276 : XP Professional upgrade

55276 : XP Home

55277 : XP Home

55285 : XP Professional

76487 : XP Media Center Edition 2005

76487 : XP Pro Royalty OEM

76487 : XP Pro volume license (with '640' channel ID)

Second set:

007 : retail

011 : upgrade

OEM : OEM

270 : Volume License

335 : Retail

640 : Volume License

648 : Academic

this works for me :)

Posted

Early on when that Dell VL version leaked everyone referred to it as the corporate or corp version, and I guess the name stuck. It drives me crazy when people call it that also.

Posted

okay I rename corporate to vl ...

@atomizer: It's genuine media or mixed media ? because the batch read directly in registry if your version is oem or not ... it's strange if oem string is present and you have a volume license ...

Posted (edited)

@sonic - don't know what you mean by the media type.

i started off with a standard VLK version, but now i always use nLite. but yeah, like i said, the BAT returns OEM, the eula returns RTL and the number thingy in computer properties returns VLK. i know the latter is correct. it's not a 'cracked' version or anything - i wouldn't be posting this if it were :)

Edited by atomizer
Posted

in fact I have made a typo ...

replace "if not" by if ... so :

for /f "skip=4 tokens=3" %%? in ('reg query HKLM\SYSTEM\Setup\Pid /v Pid') do set Pid=%%?
set Pid=%Pid:~-3%
if '%Pid%'=='270' echo WinXP VL version detected && WhatCommandYouWant
if '%Pid%'=='OEM' echo WinXP OEM version detected && WhatOtherCommandYouWant
exit

I will complete the if condition to detect other version ...

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...