Windows XP Community - XPHeads



How to detect embedded XP

microsoft.public.windowsxp.embedded


Reply
  #1 (permalink)  
Old 06-26-2008, 04:03 PM
driver_folks
 
Posts: n/a
How to detect embedded XP
Hi,

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

Thanks

--
kc
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 06-26-2008, 05:08 PM
Kevin Bulgrien
 
Posts: n/a
RE: How to detect embedded XP
> 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.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 06-26-2008, 08:48 PM
Mike Warren
 
Posts: n/a
Re: How to detect embedded XP
driver_folks wrote:

> 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.

--
- Mike
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 06-27-2008, 05:42 AM
Bing.Chen
 
Posts: n/a
Re: How to detect embedded XP
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

研華 - 微軟台灣區嵌入式作業系統經銷商
http://www.advantech.com.tw/epc/newsletter/ATW/2005MS/


"driver_folks" <driverfolks@discussions.microsoft.com> 撰寫於郵件新聞:0B27984D-3780-4F72-AC54-5D643B03A728@microsoft.com...
> Hi,
>
> Can any expert tell me how to effectively detect embeded XP version info
> (to
> know it's not XP professional)?
>
> Thanks
>
> --
> kc



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 08-14-2008, 10:43 AM
Helen Elcock
 
Posts: n/a
Re: How to detect embedded XP
driver_folks wrote:
> 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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 02:36 AM.








Design by Vjacheslav Trushkin for phpBBStyles.com.
Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74