Which Windows subsystem is supported on the recovery drive

When you start the standard Windows 7 installation disc in recovery mode, if you open the command line and run a special application, you will receive an error message "Subsystem is not supported." I tried to associate with / SUBSYSTEM: CONSOLE, WINDOWS and NATIVE, none of them work.

I had a little difficulty with the partition table (and maybe you found an error, or at least a “dumb” behavior from the partition manager included in the windows), and therefore wrote a utility to fix it. My program uses "Windows.h" for import CreateFile, but if necessary I can use only standard C ++ (or even standard C) without headers that don't have windows.

What do I need to do to run the application?

+5
source share
2 answers

The Windows Recovery Environment is an add-on to the Windows Preinstallation Environment.

Windows PE is a stripped-down version of windows that lacks many subsystems, including WoW (Windows on Windows).

This means that 32-bit executables (or anything with a 32-bit component) WILL NOT MISS on a 64-bit Windows PE drive. (Note that WinPE 32 cannot install / restore 64-bit systems and vice versa).

The solution to my problem was to compile 64-bit code - a descriptive error message would be good Microsoft: |

Found after a great search: http://technet.microsoft.com/en-us/library/cc766093(v=ws.10).aspx

+5
source

++ CRT? , . , CreateFile ; NtCreateFile.

0

All Articles