HTFC Forums

H.T.F.C.

How To Fix Computers





Go Back   HTFC Forums > Software Newsgroups > Windows XP > Windows XP Installation

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1  
Old 07-09-2008, 11:15 AM
Bo Xie
 
Posts: n/a
Default Is it possible to differentiate WinPE and other Windows?

Hello,

Is it possible to differentiate WinPE and other Windows?

Background: I run my program on WinPE and it shows it is running on Windows
Vista. It is not what I wanted and I want to differentiate WinPE and other
Windows.

Thanks!


Reply With Quote
Sponsored Links
Fix your Windows Problems - FAST.
FREE Safe Scan Registry Check. Locate & Fix Errors in Minutes!
  #2  
Old 07-09-2008, 03:09 PM
Shenan Stanley
 
Posts: n/a
Default Re: Is it possible to differentiate WinPE and other Windows?

Bo Xie wrote:
> Is it possible to differentiate WinPE and other Windows?
>
> Background: I run my program on WinPE and it shows it is running on
> Windows Vista. It is not what I wanted and I want to differentiate
> WinPE and other Windows.


Windows PE is Windows XP or Windows Vista (or Windows 2003 or Windows
2008)...

It's just loading necessary components into memory so you can use it.

--
Shenan Stanley
MS-MVP
--
How To Ask Questions The Smart Way
http://www.catb.org/~esr/faqs/smart-questions.html


Reply With Quote
  #3  
Old 07-09-2008, 09:40 PM
Don Phillipson
 
Posts: n/a
Default Re: Is it possible to differentiate WinPE and other Windows?

"Bo Xie" <xiebopublic@sina.com> wrote in message
news:uXK50ya4IHA.3784@TK2MSFTNGP06.phx.gbl...

> Is it possible to differentiate WinPE and other Windows?
>
> Background: I run my program on WinPE and it shows it is running on

Windows
> Vista. It is not what I wanted and I want to differentiate WinPE and other
> Windows.


1. You seem to mean WindowsXP (not PE) and Vista. (As
Operating Systems, there is no difference between the Pro
and Home editions of WinXP. The Pro edition offers more
functions for networking etc.

2. OSs are peculiar to installed systems, not to software
(although it is known that apps that run under some OSs
will not run under other OSs.)
--
Don Phillipson
Carlsbad Springs
(Ottawa, Canada)


Reply With Quote
  #4  
Old 07-09-2008, 11:08 PM
Bo Xie
 
Posts: n/a
Default Re: Is it possible to differentiate WinPE and other Windows?

> Windows PE is Windows XP or Windows Vista (or Windows 2003 or Windows
> 2008)...
>
> It's just loading necessary components into memory so you can use it.


I understand it. But I want to differentiate WinPE and other Windows. I
think there are differencese and that's why we call it "WinPE", not "WinXP"
or "Vista". e.g., I heard that WinPE has not "event log" service and
XP/Vista have it.

I want this kind of trick to differentiate WinPE and other Windows. e.g.,
there might be a register in register table that shows it is a WinPE, not
XP/Vista.


Reply With Quote
  #5  
Old 07-11-2008, 10:53 PM
harrykrishna.nospam@online.ie
 
Posts: n/a
Default Re: Is it possible to differentiate WinPE and other Windows?

"Bo Xie" <xiebopublic@sina.com> wrote:

>> Windows PE is Windows XP or Windows Vista (or Windows 2003 or Windows
>> 2008)...
>>
>> It's just loading necessary components into memory so you can use it.

>
>I understand it. But I want to differentiate WinPE and other Windows. I
>think there are differencese and that's why we call it "WinPE", not "WinXP"
>or "Vista". e.g., I heard that WinPE has not "event log" service and
>XP/Vista have it.
>
>I want this kind of trick to differentiate WinPE and other Windows. e.g.,
>there might be a register in register table that shows it is a WinPE, not
>XP/Vista.
>


You might want to look at HKLM\Software\Microsoft\Windows
NT\CurrentVersion

And see if a couple of these sub-keys are always consistent in a WinPE
environment. For example InstallDate would likely be missing or zero.
I see other keys there that you may also be able to test...

Same thing likely goes for
HKLM\Software\Microsoft\Windows\CurrentVersion


Or, you could continue with your idea of testing for existence of a
particular service like eventlog and base your decision on that...

HTH
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Is it possible to differentiate Windows PE and other Windows (e.g., Windows 2003, Vista)? Bo Xie Windows XP Installation 0 07-09-2008 11:12 AM
Run WinPE from a directory Unique Display Name Windows Vista Installation 0 07-07-2008 03:17 PM
Customizing WinPE Luke Hoersten Windows Vista Installation 1 07-04-2007 02:21 AM
WMI in WinPE 2.0 GG@msn.com Windows XP Installation 1 06-30-2007 04:09 AM
How to initiate install in WinPE + WDS Miha Windows XP Installation 9 06-22-2007 02:48 AM


All times are GMT. The time now is 10:51 AM.


Powered by vBulletin® Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0
© 2004 - 2007 Web-S-Sense Pty. Ltd. Usenet and forums posts © their respective authors.
Ad Management by RedTyger