How to detect embedded XP

D

driver_folks

Hi,

Can any expert tell me how to effectively detect embeded XP version info (to
know it's not XP professional)?

Thanks
 
K

Kevin Bulgrien

Can any expert tell me how to effectively detect embeded XP version info (to
know it's not XP professional)?

Did you look at the ENVIRONMENT variables that are set?

XP Pro does not have the RUNTIME* variables that XPe has (at least from what
I can see).

The registry also contains an number of unique identifiers as well.
 
M

Mike Warren

driver_folks said:
Can any expert tell me how to effectively detect embeded XP version
info (to know it's not XP professional)?

I don't know of an official way, but perhaps you could look for FBA,
EWF or FBWF registry keys.
 
B

Bing.Chen

Dear kc,

Try this
1. Call API

BOOL GetVersionEx(


LPOSVERSIONINFO lpVersionInfo


);


OSVERSIONINFOEX structure (which is the output of this call)


One of the members is wSuiteMask (a WORD variable).


Check the VER_SUITE_EMBEDDEDNT (0x00000040) flag in this variable.


2. Query value in Registry
[HKEY_LOCAL_MACHINE\SYSTEM\Cur-rentControlSet\Control\Product-Options]
Key Name: ProductSuite
Type: MULTI_SZ
Value: EmbeddedNT
(In XP Pro, it seems that no content in this key)



--
Best Regards,
Bing Chen
Advantech Co., Ltd.
Microsoft eMVP

¬ãµØ - ·L³n¥xÆW°Ï´O¤J¦¡§@·~¨t²Î¸g¾P°Ó
http://www.advantech.com.tw/epc/newsletter/ATW/2005MS/
 
H

Helen Elcock

driver_folks said:
Hi,

Can any expert tell me how to effectively detect embeded XP version info (to
know it's not XP professional)?

Thanks

I check for for the DWORD registery value
[HKEY_LOCAL_MACHINE\SYSTEM\FBA]
"FBADoPNP"=dword:00000000


You only get first boot assistant on embedded.

Helen
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top