- Local time
- 7:43 AM
- Posts
- 139
- OS
- PE
Wouldnt it just be easier to use JFX's WinNTSetup on KYHI's recovery disk to install this? Seems like it would save a lot of time.It seems you are now doing something different.
My Computer
System One
-
- OS
- PE
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Wouldnt it just be easier to use JFX's WinNTSetup on KYHI's recovery disk to install this? Seems like it would save a lot of time.It seems you are now doing something different.
bcdboot E:\Windows /d /addlast
bcdboot E:\Windows /d /addlast
From @KYHI's postsI have not had time to research how to add a PE entry to the bcd store yet. I'm pretty sure EasyBCD will do it, but have not had time to figure out how to do it without third party software yet.
@echo off
title Macrium UEFI BOOT MENU OPTION v17.01.24
rem ================================ YY.MM.DD
color 17
:start
cls
echo.
echo ===============================================================================
echo. YOU HAVE CHOOSEN TO ADD A WINPESE BOOTABLE PARTITION TO YOUR HOST
echo ===============================================================================
echo.
set /p namepe= ^>ENTER NAME OF WINPE APP
set /p drvlttr= ^> ENTER THE DRIVE LETTER ASSIGNED TO THE WINPESE PARTITION:
if [%drvlttr%]==[] echo.&echo Invalid User Input&echo.&echo The Partition Drive Letter Can Not Be Blank&echo.&pause&goto :start
if not exist %drvlttr%:\sources\boot.wim echo.&echo Invalid User Input&echo.&echo The %drvlttr%:\sources\boot.wim Was Not Found&echo.&pause&goto :start
cls
echo.
echo Configuring UEFI Boot Option for WinPESE Recovery Tools
echo --------------------------------------------------------------------------
for /f "tokens=2 delims={}" %%g in ('bcdedit.exe /create /d "%namepe%" /Device') do (set deviceid={%%g})
echo --------------------------------------------------------------------------
echo DEVICE ID = %device
echo --------------------------------------------------------------------------
bcdedit /set %deviceid% ramdisksdidevice partition=%drvlttr%:
bcdedit /set %deviceid% ramdisksdipath \boot\boot.sdi
for /f "tokens=2 delims={}" %%g in ('bcdedit.exe /create /d "%namepe%" /application osloader') do (set guid={%%g})
echo --------------------------------------------------------------------------
echo GUID = %guid%
echo --------------------------------------------------------------------------
bcdedit /set %guid% device ramdisk=[%drvlttr%:]\sources\boot.wim,%deviceid%
bcdedit /set %guid% osdevice ramdisk=[%drvlttr%:]\sources\boot.wim,%deviceid%
bcdedit /set %guid% systemroot \windows
bcdedit /set %guid% path \Windows\system32\boot\winload.efi
bcdedit /set %guid% winpe yes
bcdedit /set %guid% detecthal yes
bcdedit /displayorder %guid% /addlast
bcdedit /set {bootmgr} displaybootmenu False
bcdedit /set {bootmgr} timeout 10
echo.
echo DONE... Reboot your PC
timeout /t 5 >nul
@echo off
echo.
echo Configuring MBR Boot Option for WinPESE Recovery Tools
echo --------------------------------------------------------------------------
set /p namepe= ^>ENTER NAME OF WINPE APP
for /f "tokens=2 delims={}" %%g in ('bcdedit.exe /create /d "%namepe%" /Device') do (set deviceid={%%g})
echo --------------------------------------------------------------------------
echo DEVICE ID = %deviceid%
echo --------------------------------------------------------------------------
bcdedit /set %deviceid% ramdisksdidevice partition=f:
bcdedit /set %deviceid% ramdisksdipath \boot\boot.sdi
for /f "tokens=2 delims={}" %%g in ('bcdedit.exe /create /d "%namepe" /application osloader') do (set guid={%%g})
echo --------------------------------------------------------------------------
echo GUID = %guid%
echo --------------------------------------------------------------------------
bcdedit /set %guid% device ramdisk=[f:]\sources\boot.wim,%deviceid%
bcdedit /set %guid% osdevice ramdisk=[f:]\sources\boot.wim,%deviceid%
bcdedit /set %guid% systemroot \windows
bcdedit /set %guid% path \Windows\system32\boot\winload.exe
bcdedit /set %guid% winpe yes
bcdedit /set %guid% detecthal yes
bcdedit /displayorder %guid% /addlast
bcdedit /set {bootmgr} displaybootmenu False
bcdedit /set {bootmgr} timeout 10
echo.
echo DONE... Reboot your PC
timeout /t 5 >nul