Page 85 of 117 FirstFirst ... 3575838485868795 ... LastLast
  1.    24 Jan 2017 #841
    Join Date : Oct 2014
    Posts : 80
    W8.1 x64

    Nevermind, figured it out, but how to add my own apps?
      My ComputerSystem Spec
  2.    24 Jan 2017 #842
    Join Date : Oct 2014
    Arnold, MD
    Posts : 28,972
    Triple boot - Win 10 Pro, Win 10 Pro Insider (2) - (and a sprinkling of VMs)

    Quote Originally Posted by cereberus View Post
    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
    No better, just an alternative if you don't want to mess with the boot menu. Copy all the files to a 2GB partition and remove the drive letter. On restart or power up, drill down to "Use a device". It will show up like this, or similar..... (Yeah, I know I have of bunch of renegade 450MB's...haven't cleaned up recently!)

    Click image for larger version. 

Name:	2017-01-24_04h23_56.png 
Views:	3 
Size:	354.7 KB 
ID:	118297Click image for larger version. 

Name:	20170124_042813 (Large).jpg 
Views:	3 
Size:	738.5 KB 
ID:	118298
      My ComputersSystem Spec
  3.    24 Jan 2017 #843
    Join Date : Dec 2015
    Posts : 5,911
    Windows10

    I have a strange issue now since using above batch file. If I shutdown pc and restart, it shows the 8/10 metro bootloader but if I restart, it shows old style 7 bootloader.

    I have tried using bcdedit commands and easybcd but nothing works.
    If I delete bcd and rebuild it works fine until I add a winpe boot entry.

    As an aside, my pc (lenovo) accesses the w7 menu much faster than the metro style.
      My ComputerSystem Spec
  4.    24 Jan 2017 #844
    Join Date : Oct 2013
    Watford
    Posts : 13,883
    Windows 10 Home 64bit

    Quote Originally Posted by cereberus View Post
    I have a strange issue now since using above batch file. If I shutdown pc and restart, it shows the 8/10 metro bootloader but if I restart, it shows old style 7 bootloader.

    I have tried using bcdedit commands and easybcd but nothing works.
    If I delete bcd and rebuild it works fine until I add a winpe boot entry.

    As an aside, my pc (lenovo) accesses the w7 menu much faster than the metro style.
    The W7 boot menu appears right at the start of the boot process, The W10 boot menu seems to be just before logon.
      My ComputerSystem Spec
  5.    24 Jan 2017 #845
    Join Date : Jun 2015
    Posts : 1,905
    Windows 3.1 to Windows 10
    Thread Starter

    Because of this line in batch > bcdedit /set {bootmgr} displaybootmenu True
    It shows the standard boot menu

    not the new style boot menu > If set as "False" it shows new style boot menu..
    Or just "REM" the line as below..
    rem bcdedit /set {bootmgr} displaybootmenu True

    As stated above the Usual method is PC boots the Standard Boot menu -
    then rolls over to display New Style boot Menu > That line prevents the rollover (=Faster Boot Time)

    I also edit the batch to allow user to INPUT drive letter > rather then edit batch file...
    --------------------------------------------------------------------------------------------------
    1) Create a Small FAT32 > 2GB < Partition

    - I have also used an 8GB-32GB Partition to be able to mount PE Boot.wim and be able to Capture User Modifications while within PE

    - I have also changed Modify-PESE to use Wimlib-Imagex instead of DISM

    2) Copy ISO Files to partition

    3) Run Batch File to add to host Boot Menu

    PESE_MBR_BOOT-New.cmd
    Code:
    @echo off
    title WinPESE MBR 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 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 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=%drvlttr%:
    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=[%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.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
    PESE_UEFI_BOOT-new.cmd
    Code:
    @echo off
    title WinPESE 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 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 "WinPESE Recovery" /Device') do (set deviceid={%%g})
    echo --------------------------------------------------------------------------
    echo DEVICE ID = %deviceid%
    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 "WinPESE Recovery" /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 True
    bcdedit /set {bootmgr} timeout 10
    echo.
    echo DONE... Reboot your PC
    timeout /t 5 >nul
    Last edited by Kyhi; 24 Jan 2017 at 10:59.
      My ComputerSystem Spec
  6.    24 Jan 2017 #846
    Join Date : Dec 2015
    Posts : 5,911
    Windows10

    Quote Originally Posted by Kyhi View Post
    Because of this line in batch > bcdedit /set {bootmgr} displaybootmenu True
    It shows the standard boot menu

    not the new style boot menu > If set as "False" it shows new style boot menu..
    Or just "REM" the line as below..
    rem bcdedit /set {bootmgr} displaybootmenu True

    As stated above the Usual method is PC boots the Standard Boot menu -
    then rolls over to display New Style boot Menu > That line prevents the rollover (=Faster Boot Time)

    I also edit the batch to allow user to INPUT drive letter > rather then edit batch file...
    --------------------------------------------------------------------------------------------------
    1) Create a Small FAT32 > 2GB < Partition

    - I have also used an 8GB-32GB Partition to be able to mount PE Boot.wim and be able to Capture User Modifications while within PE

    - I have also changed Modify-PESE to use Wimlib-Imagex instead of DISM

    2) Copy ISO Files to partition

    3) Run Batch File to add to host Boot Menu

    PESE_MBR_BOOT-New.cmd
    Code:
    @echo off
    title WinPESE MBR 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 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 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=%drvlttr%:
    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=[%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.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
    PESE_UEFI_BOOT-new.cmd
    Code:
    @echo off
    title WinPESE 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 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 "WinPESE Recovery" /Device') do (set deviceid={%%g})
    echo --------------------------------------------------------------------------
    echo DEVICE ID = %deviceid%
    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 "WinPESE Recovery" /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 True
    bcdedit /set {bootmgr} timeout 10
    echo.
    echo DONE... Reboot your PC
    timeout /t 5 >nul
    Thanks for the explanation. I set it as false and now I get the graphical ui but now I understand how it works, I am tempted to revert to old style menus as it is much quicker on my pc - adds 10-15 seconds to boot time.

    Cheers

    C.
      My ComputerSystem Spec
  7.    25 Jan 2017 #847
    Join Date : Jan 2017
    Posts : 2
    windows 10

    could someone explain in detail how to edit this PE? i would like to make more desktop shortcuts for existing tools and add some more tools to it but honestly i'm at a loss exactly how to do so. Mainly i would like to add an additional AV scanner, an additional malware scanner, roadkills unstopable coppier and Ccleaner. but i'd like to be able to edit it when needed without needing assistance each time
      My ComputerSystem Spec
  8.    25 Jan 2017 #848
    Join Date : Dec 2015
    Posts : 5,911
    Windows10

    Quote Originally Posted by aazard View Post
    could someone explain in detail how to edit this PE? i would like to make more desktop shortcuts for existing tools and add some more tools to it but honestly i'm at a loss exactly how to do so. Mainly i would like to add an additional AV scanner, an additional malware scanner, roadkills unstopable coppier and Ccleaner. but i'd like to be able to edit it when needed without needing assistance each time
    Look back at post #308.

    You basically mount the wim file, and copy folders in program files to the same in the mounted drives. Then unmount it and copy boot.wim to flash drive.

    Then boot from it and setup the various shortcuts in default\desktop folder pointing to executables in x drive.

    Then mount boot.wim again as before, copy shortcuts across to mounted image, and unmount.

    I had to do it in two steps or else shortcuts do not point to x directory. There may be easier ways but this works for me.
      My ComputerSystem Spec
  9.    26 Jan 2017 #849
    Join Date : Jan 2017
    Posts : 2
    win 10_64

    Hi, to all
    I have a little experience with WinPeSE since win7. Can someone send me a link where I can find the scripts used by Kyhi in
    Win14393PESE_x86 ISO v170116?

    @Kyhi very nice work

    Thanks in advance

    alex

    Last edited by valexvo; 26 Jan 2017 at 14:56.
      My ComputerSystem Spec
  10.    26 Jan 2017 #850
    Join Date : Jun 2015
    Posts : 1,905
    Windows 3.1 to Windows 10
    Thread Starter

    TheOven.org
      My ComputerSystem Spec

 
Page 85 of 117 FirstFirst ... 3575838485868795 ... LastLast


Similar Threads
Thread Forum
Solved How to make active@boot disk bootable on uefi/gpt?
Hey Guys Does anyone know how this software can be configured to boot from usb on uefi/gpt. I formatted usb using rufus on the relevant mode then dragged over the contents of another usb where it does work on bios/mbr set up. But when booting...
Installation and Upgrade
Create Rescue Disk fails during disk creation
Have a new Double Power 8.1 Tablet that I've upgraded to Win 10. Now I've got it set up just right, I'm attempting to create a Rescue Disk. Purchased a 16gb micro-usb drive which is successfully recognized. Ran 'Create Rescue Disk' from Windows...
Performance & Maintenance
Solved Win 10 Rescue disk
I have a new laptop with win 7 pro installed. Once Win 10 is installed in July how will I be able to create a system restore disk?
Installation and Upgrade
Solved MiniTool Power Data Recovery to the rescue!!!
Just sharing this. I made another boo-boo today and deleted 500GB worth of media files (just movies and music). Don't ask me how because that's something nobody wants to do. :) I don't keep a backup of these files. For me these are disposable...
Software and Apps
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 14:08.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums