Windows 10 Recovery Tools - Bootable Rescue Disk


  1. Posts : 4,142
    Windows 3.1 to Windows 11
    Thread Starter
       #831

    Just a little insight as to the popularity of these WinPESE ISO's within this forum

    Since 06/06/2016 they have been downloaded > 217,430 times
    Last edited by Kyhi; 22 Jan 2017 at 09:08.
      My Computer


  2. Posts : 15,480
    Windows10
       #832

    Been testing new build. Couple of minor issues

    1) I cannot get it to change keyboard to UK English.

    2) I could not get the network pe manager to start initially. After a bit of faffing around, I found if I right click on the network pe manager icon in action menu, and turn off animation settings, it then starts.

    Have customised it as well and it works great.


    Windows 10 Recovery Tools - Bootable Rescue Disk-2017_01_22_13_25_591.png
      My Computer


  3. Posts : 4,142
    Windows 3.1 to Windows 11
    Thread Starter
       #833

    A2)
    PENetwork startup is automatic...
    Just right click on the network pe manager icon in action menu and select Show GUI
    Set your Network Adapter i.e. (Intel Wireless Wifi Card) then select wireless tab to see available networks..
    select your network (Router) and hit connect

    Also looks like you knocked out two shortcuts or programs

    PS. PM links to the programs you added and if handy > links to the program downloads.
    Thus I can make the program(s) plugin

    A1) I believe you can also edit > pecmdExt.ini
    Wpeutil Command-Line Options
    to set keyboard at PE startup by removing // or adding line with required hexvalue
    Code:
    // UK English
    EXEC !%WinDir%\System32\Wpeutil.exe SetKeyboardLayout 0809:00000809
    Attachment 118044

    Added Example as .txt file
    Last edited by Kyhi; 22 Jan 2017 at 09:28.
      My Computer


  4. Posts : 15,480
    Windows10
       #834

    Kyhi said:
    A2)
    PENetwork startup is automatic...
    Just right click on the network pe manager icon in action menu and select Show GUI
    Set your Network Adapter i.e. (Intel Wireless Wifi Card) then select wireless tab to see available networks..
    select your network (Router) and hit connect

    Also looks like you knocked out two shortcuts or programs

    PS. PM links to the programs you added and if handy > links to the program downloads.
    Thus I can make the program(s) plugin

    A1) I believe you can also edit > pecmdExt.ini
    Wpeutil Command-Line Options
    to set keyboard at PE startup by removing // or adding line with required hexvalue
    Code:
    // UK English
    EXEC !%WinDir%\System32\Wpeutil.exe SetKeyboardLayout 0809:00000809
    Attachment 118044

    Added Example as .txt file
    Thanks for that. I'll give it a whirl.

    I'll upload boot.wim to dropbox and pm a link. I have the download files there in download folder but tbh I have lost original link months ago. I deliberately replaced Macrium Home with free version as I do not have a home licence and wish to keep it up to date.

    cheers
      My Computer


  5. Posts : 15,480
    Windows10
       #835

    Kyhi said:
    A2)
    PENetwork startup is automatic...
    Just right click on the network pe manager icon in action menu and select Show GUI
    Set your Network Adapter i.e. (Intel Wireless Wifi Card) then select wireless tab to see available networks..
    select your network (Router) and hit connect

    Also looks like you knocked out two shortcuts or programs

    PS. PM links to the programs you added and if handy > links to the program downloads.
    Thus I can make the program(s) plugin

    A1) I believe you can also edit > pecmdExt.ini
    Wpeutil Command-Line Options
    to set keyboard at PE startup by removing // or adding line with required hexvalue
    Code:
    // UK English
    EXEC !%WinDir%\System32\Wpeutil.exe SetKeyboardLayout 0809:00000809
    Attachment 118044

    Added Example as .txt file
    A1) very simple

    A2) editing the .ini file did not work but I created a batchfile with

    wpeutil SetKeyboardLayout 0809:00000809


    and this works.

    I put a shortcut to the bach file in the shell:startup folder (had to create one) and it worked.
      My Computer


  6. Posts : 317
    Microsoft Windows 10 x64
       #836

    Embedded MalwareBytes "do not like" Wind.exe in X:\Windows\System32 but other Security Software says it is OK
    Code:
    https://www.virustotal.com/en/file/4b9c718dfe93ed39b476893df20cc2849fbdc6a554bd2ddc476fbae5957dc2d6/analysis/
    Do we know its use ?
      My Computer


  7. Posts : 4,142
    Windows 3.1 to Windows 11
    Thread Starter
       #837

    It is used to > Show Desktop.. Lower Right Corner...
    Pretty useless in PE Really
      My Computer


  8. Posts : 15,480
    Windows10
       #838

    I wanted to be able to dual boot into this tool from a hard drive rather than usb, and I was sure that was possible as you can do this with Macrium Reflect Free. So I tried to mess around with bcdedit commands, vhds etc, and basically got lost mainly due to my lack of knowledge.

    Then I had a thought and looked at the Macrium bcd entry I had and it basically just boots boot.wim from following directory

    C:\boot\macrium\WA10KFiles\media\sources

    So I thought, what would happen if I simply over-write the Macrium boot.wim with Kyhi's boot.wim.

    Well, blow me down and shiver me timbers - it just worked.

    So to dual boot from hard drive - just do following

    1) Install Macrium Reflect Free in Windows

    2) From "Other Tasks" menu option, select "add recovery boot menu option"

    3) select "windows 10 pe menu" and create boot entry

    4) Mount Kyhi's iso as a drive

    5) rename boot.wim in C:\boot\macrium\WA10KFiles\media\sources eg as boot.mrf

    6) copy the boot.wim from the Sources folder in mounted iso to C:\boot\macrium\WA10KFiles\media\sources

    7) optional - use bcedit commands to rename Macrium Boot Entry (or use bcedit)

    You of course still have access to Macrium as it is an option in Kyhi's tool anyway.

    Of course, you still need a usb drive in case the c drive gets corrupted to point you cannot use it, or bcd info gets corrupted.
    Last edited by cereberus; 23 Jan 2017 at 17:10.
      My Computer


  9. Posts : 4,142
    Windows 3.1 to Windows 11
    Thread Starter
       #839

    I created a small 2GB partition and copied ALL the ISO files into it...
    Then setup my host (to be able to boot into that " WinPESE Recovery " partition) from My Boot Menu

    Here are the two command files - my 2gb partition is G: (listed 3 times in each batch) just change to match your drive letter

    PESE_UEFI_BOOT.cmd
    Code:
    @echo off
    echo.
    echo Configuring UEFI Boot Option for WinPESE Recovery Tools
    echo --------------------------------------------------------------------------
    for /f "tokens=2 delims={}" %%g in ('bcdedit.exe /create /d "WinPESE Recovery" /Device') do (set deviceid={%%g})
    echo --------------------------------------------------------------------------
    echo DEVICE ID = %deviceid%
    echo --------------------------------------------------------------------------
    bcdedit /set %deviceid% ramdisksdidevice partition=G:
    bcdedit /set %deviceid% ramdisksdipath \boot\boot.sdi
    for /f "tokens=2 delims={}" %%g in ('bcdedit.exe /create /d "WinPESE Recovery" /application osloader') do (set guid={%%g})
    echo --------------------------------------------------------------------------
    echo GUID = %guid%
    echo --------------------------------------------------------------------------
    bcdedit /set %guid% device ramdisk=[G:]\sources\boot.wim,%deviceid%
    bcdedit /set %guid% osdevice ramdisk=[G:]\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 True
    bcdedit /set {bootmgr} timeout 10
    echo.
    echo DONE... Reboot your PC
    timeout /t 5 >nul
    PESE_MBR_BOOT.cmd
    Code:
    @echo off
    echo.
    echo Configuring MBR Boot Option for WinPESE Recovery Tools
    echo --------------------------------------------------------------------------
    for /f "tokens=2 delims={}" %%g in ('bcdedit.exe /create /d "WinPESE Recovery" /Device') do (set deviceid={%%g})
    echo --------------------------------------------------------------------------
    echo DEVICE ID = %deviceid%
    echo --------------------------------------------------------------------------
    bcdedit /set %deviceid% ramdisksdidevice partition=G:
    bcdedit /set %deviceid% ramdisksdipath \boot\boot.sdi
    for /f "tokens=2 delims={}" %%g in ('bcdedit.exe /create /d "WinPESE Recovery" /application osloader') do (set guid={%%g})
    echo --------------------------------------------------------------------------
    echo GUID = %guid%
    echo --------------------------------------------------------------------------
    bcdedit /set %guid% device ramdisk=[G:]\sources\boot.wim,%deviceid%
    bcdedit /set %guid% osdevice ramdisk=[G:]\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 True
    bcdedit /set {bootmgr} timeout 10
    echo.
    echo DONE... Reboot your PC
    timeout /t 5 >nul
    Note: You could also replace the winre.wim with the pe boot.wim renamed..
    If it ever falls over into windows recovery - it will boot PESE
      My Computer


  10. Posts : 15,480
    Windows10
       #840

    Kyhi said:
    I created a small 2GB partition and copied ALL the ISO files into it...
    Then setup my host (to be able to boot into that " WinPESE Recovery " partition) from My Boot Menu

    Here are the two command files - my 2gb partition is G: (listed 3 times in each batch) just change to match your drive letter

    PESE_UEFI_BOOT.cmd
    Code:
    @echo off
    echo.
    echo Configuring UEFI Boot Option for WinPESE Recovery Tools
    echo --------------------------------------------------------------------------
    for /f "tokens=2 delims={}" %%g in ('bcdedit.exe /create /d "WinPESE Recovery" /Device') do (set deviceid={%%g})
    echo --------------------------------------------------------------------------
    echo DEVICE ID = %deviceid%
    echo --------------------------------------------------------------------------
    bcdedit /set %deviceid% ramdisksdidevice partition=G:
    bcdedit /set %deviceid% ramdisksdipath \boot\boot.sdi
    for /f "tokens=2 delims={}" %%g in ('bcdedit.exe /create /d "WinPESE Recovery" /application osloader') do (set guid={%%g})
    echo --------------------------------------------------------------------------
    echo GUID = %guid%
    echo --------------------------------------------------------------------------
    bcdedit /set %guid% device ramdisk=[G:]\sources\boot.wim,%deviceid%
    bcdedit /set %guid% osdevice ramdisk=[G:]\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 True
    bcdedit /set {bootmgr} timeout 10
    echo.
    echo DONE... Reboot your PC
    timeout /t 5 >nul
    PESE_MBR_BOOT.cmd
    Code:
    @echo off
    echo.
    echo Configuring MBR Boot Option for WinPESE Recovery Tools
    echo --------------------------------------------------------------------------
    for /f "tokens=2 delims={}" %%g in ('bcdedit.exe /create /d "WinPESE Recovery" /Device') do (set deviceid={%%g})
    echo --------------------------------------------------------------------------
    echo DEVICE ID = %deviceid%
    echo --------------------------------------------------------------------------
    bcdedit /set %deviceid% ramdisksdidevice partition=G:
    bcdedit /set %deviceid% ramdisksdipath \boot\boot.sdi
    for /f "tokens=2 delims={}" %%g in ('bcdedit.exe /create /d "WinPESE Recovery" /application osloader') do (set guid={%%g})
    echo --------------------------------------------------------------------------
    echo GUID = %guid%
    echo --------------------------------------------------------------------------
    bcdedit /set %guid% device ramdisk=[G:]\sources\boot.wim,%deviceid%
    bcdedit /set %guid% osdevice ramdisk=[G:]\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 True
    bcdedit /set {bootmgr} timeout 10
    echo.
    echo DONE... Reboot your PC
    timeout /t 5 >nul
    Note: You could also replace the winre.wim with the pe boot.wim renamed..
    If it ever falls over into windows recovery - it will boot PESE
    Many thanks - looking at this, I was so close when I tried it but did not quite get all commands right.:)
    it
    I will give this a whirl.

    EDIT: It worked fine - many thanks Kyhi. Just a suggestion - it might be worth adding these batch files to your home post #1?

    Cheers

    cereberus
    Last edited by cereberus; 24 Jan 2017 at 03:29.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 20:32.
Find Us




Windows 10 Forums