S
S
sflyer2016-09-09 11:26:04
Windows
sflyer, 2016-09-09 11:26:04

WindowsPE, problem with Windows 7?

Set up a PXE server. Collected Windows through the deployment tools console.

copype amd64 C:\winPE_amd64
copy "C:\Program Files\Windows AIK\Tools\PETools\amd64\winpe.wim" C:\winpe_amd64\ISO\Sources\Boot.wim
copy "C:\Program Files\Windows AIK\Tools\amd64\Imagex.exe" C:\winpe_amd64\ISO\
oscdimg -n -bC:\winpe_amd64\etfsboot.com C:\winpe_amd64\ISO C:\winpe_amd64\winpe_amd64.iso

bcdedit -createstore %1\BCD
bcdedit -store %1\BCD -create {ramdiskoptions} /d "Ramdisk options"
bcdedit -store %1\BCD -set {ramdiskoptions} ramdisksdidevice boot
bcdedit -store %1\BCD -set {ramdiskoptions} ramdisksdipath \boot\boot.sdi
for /F "tokens=2 delims={}" %%i in ('bcdedit -store %1\BCD -create /d "MyWinPE Boot Image" /application osloader') do set guid={%%i}
bcdedit -store %1\BCD -set %guid% systemroot \Windows
bcdedit -store %1\BCD -set %guid% detecthal Yes
bcdedit -store %1\BCD -set %guid% winpe Yes
bcdedit -store %1\BCD -set %guid% osdevice ramdisk=[boot]\Boot\winpe.wim,{ramdiskoptions}
bcdedit -store %1\BCD -set %guid% device ramdisk=[boot]\Boot\winpe.wim,{ramdiskoptions}
bcdedit -store %1\BCD -create {bootmgr} /d "Windows BootManager"
bcdedit -store %1\BCD -set {bootmgr} timeout 30
bcdedit -store %1\BCD -set {bootmgr} displayorder %guid%

and the startup script:
wpeinit
net use z: \\192.168.1.200\Win7Install$
z:\setup.exe

As a result, booting from ISO occurs, a cmd window appears, connects a network drive, launches setup.exe and an error occurs: there is
no subsystem required to support this type of image
How to fix this problem? Everything is fine with the 2008r2 server, but the problem is with Windows 7.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
sflyer, 2016-09-14
@sflyer

The problem is solved, the error was with the iso image of Windows. I downloaded a clean msdn image - it worked.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question