Home > OS >  How to determine the current operating system is PE operating system or normal operating system?
How to determine the current operating system is PE operating system or normal operating system?

Time:09-17

Want to write a Windows program function, role is currently running under the operating system is PE operating system or the normal operating system? Do you have such a Windows API function?

CodePudding user response:

Query SystemDrive or windir environment variables, WinPE seemed to conventions are set in the X: dish, ordinary Windows should be in the C: disk.

CodePudding user response:

1, PE is not a system, it is Microsoft released on July 22, 2002, with the minimum Win32 subsystem, limited service based on Windows XP Professional to protect mode, the
2, the use of Windows PE major environment is a virtual machine, virtual machine environment almost no difference with the actual PC environment,
3, PE is run in fully read into memory, the greater the memory, the faster the speed, the system almost all need to run in the hard disk,
4, so, PE is just a tool not a system

CodePudding user response:

refer to the second floor zara's reply:
query SystemDrive or windir environment variables, WinPE seemed to conventions are set in the X: dish, ordinary Windows should be in the C: disk,


Thinking is clever, simple and practical! Thank you for

CodePudding user response:

refer to the second floor zara's reply:
query SystemDrive or windir environment variables, WinPE seemed to conventions are set in the X: dish, ordinary Windows should be in the C: disk,


Good method

CodePudding user response:

https://blog.csdn.net/zing2008/article/details/101427997

CodePudding user response:

PE is not a system, it is Microsoft released on July 22, 2002, the minimum Win32 subsystem with limited service
Who is this Chinese teach??????

CodePudding user response:

On the third floor is nonsense
System can be installed in the d:, this method is not reliable

CodePudding user response:

Suggested queries the current user,
Usually the current user is the system administrator of PE
Ordinary Windows users are you set by the user, the system administrator is shielding can't literally go in (except special old version)
  • Related