windows
how can i get winpe with bootrec



HybridPE w/bootrec


boot.wim
how to get winpe

1. Windows CRD Create Recovery Drive
I recommend this method. This is the easiest and quickest way to get winpe - get an 8 MB usb, and follow these directions. This will get you a Windows RE (Recovery Environment) usb, and then on the usb replace the boot.wim inside of the Sources folder with my HybridPE boot.wim [which is a Windows PE and has bootrec, and you boot to the dos Command Prompt]. The Create Recovery Drive tool is already in your Windows 10 Operating System, so there is no need to download the ADK which is like 3.7 GB or so, my boot.wim is 274 MB. It is expedient to build your own winpe using this method and you operate with GUI interfaces while making your WinPE, not using the Command Prompt. You can use FileManagerPE which is like File Explorer in the dos environment. You can change backgrounds
I use DISM GUI to edit my boot.wim - caution: before you dismount CLOSE ALL WINDOWS and get a good clean dismount or else you end up having to take a long time to change ownership of folders/files in order to get the folders/files out of your mount folder. This means all File Explorers, all .txt, all .bat or whatever you have open which is related to the edit of your boot.wim - make sure you close them before you dismount.

, and HybridPE also has blackbox.
C:\Windows\system32>RecoveryDrive.exe
file://C:/Windows/System32/RecoveryDrive.exe


2. Windows ADK Assessment and Deployment Kit
In general i do not recommend this method of acquiring Windows PE. It is a monster download which uses a downloader (adksetup.exe). There is no resume. The ADK is very User unfriendly. This is harder, however you do get multi-language PE and you can work it all out under 4 GB or less in terms of usb size. Once you download the ADK by default you are provided with a Windows PE which does not have bootrec, Microsoft totally missed the boat there. Inside the usb Sources folder you can replace the boot.wim with my HybridPE boot.wim and you can have Windows PE with bootrec available to you, [and you boot to the dos Command Prompt]. You can still get Windows PE (WinPE) by this method if you want to.

Download the Windows ADK
DISKPART procedure
diskpart
list disk
select disk (disk number)
clean
create partition primary
format quick fs=fat32 label="HybridPE"
assign letter="G"
exit

DISKPART example


WinPE: Create USB Bootable drive
MakeWinPEMedia example

Here is where you use the powerful ADK tools to make the WinPE Media. Using ADK you have to be using a special kind of CMD prompt Assessment and Deployment Tool(s):
C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Deployment Tools\DandISetEnv.bat
C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\MakeWinPEMedia.cmd



etc

hybrid grafting



winbuilder1-min.png
winbuilder2-min.png
winbuilder3-min.png

as you kind of eliminate items on the log,,,, and it gets right down towards the end---
it will ask you if you want to make an ISO,,no there is no great need of making an ISO i am just wanting to to make the USB - can take it from there,, when it asks you if you want WinFE (Forensic Environment) i said no - i may have cut short some of the features - i dont know for sure,

more options


This page sort of presumes that you have a Windows pc which won't boot up, or else will have one before too very long.
To repair your bootup involves rebuilding your boot partition (System Reserved) partition,

For this rebuilding of your boot partition
you will need to have one of these USBs downloaded and
burnt on onto some media like USB drive or DVD. There are
several ways to do this:

Windows RE by Media Creation Tool

For the 32 Bit version of MediaCreationTool.exe go to:
https://www.microsoft.com/en-us/software-download/windows10
http://go.microsoft.com/fwlink/?LinkId=616936
http://download.microsoft.com/download/1/C/4/1C41BC6B-F8AB-403B-B04E-C96ED6047488/MediaCreationTool.exe

http://go.microsoft.com/fwlink/?LinkId=616935 is 32bit
http://go.microsoft.com/fwlink/?LinkId=616936 is 64bit

MediaCreationTool.exe
10.0.10586.35
http://electricitymachine.com/windows/10.0.10586.35/MediaCreationTool.exe

MediaCreationToolx64.exe
10.0.10240.16480
http://electricitymachine.com/windows/10.0.10240.16480/MediaCreationToolx64.exe

Windows RE by Create Recovery Drive
compatibility

HybridPE is built towards the amd64 architecture on a Windows 10 Pro 64 bit machine

I do not know exactly how far back on the timeline there are versions of Windows that support these basically three tools (bootrec, bootsect, bcdedit),
i have looked it up and i will link you to the results below, but the fact is i do not have these machines and i cannot really prove that this tool works on these machines.
I will say that on my Windows 10 Pro 64 bit machine the bootx tool works.
And bootx rebuilds the boot partition like it was breathing.
I see no reason why bootx should not work on 32 bit and 64 bit,
ill bet it is all editions of 10,, like Windows 10 Home, Windows 10 Pro, Windows Ultimate, Windows 10 N,
7, 8, 8.1 should work i believe - i have not tested these
XP, Vista, i'll bet have some of the tools, maybe not all of them - i have not tested these
--- this tool does not use bootcfg, and i am learning that bootcfg is integral say as far back as XP
--- there is nothing stopping you from adding to or subtracting from the .bat file and suiting it to your own tool set..

https://neosmart.net/wiki/bootrec/
https://neosmart.net/wiki/bootsect/
https://neosmart.net/wiki/bcdedit/

boot to usb


When you restart get to your Startup Menu. Most pc's use ESC key as the access,
so restart your machine and click ESC rapidly about a thousand times and get the Startup Menu,
other machines will use some other key to access your Startup Menu,
mine typically looks like the startup menu below. So my Startup Menu to USB sequence goes:
1. ESC | 2. Boot Menu F9 | 3. Legacy Boot Sources | 4. Hard Drive | 5. USB SanDisk

typical startup menu


guide.txt
help.txt
commo
ez fix


If the prospect of downloading the HybridPE boot.wim doesn't sound too likely,
you can just remember or jot down the relevant commands that will rebuild your boot partition,
boot to WinPE/WinRE usb
go to cmd
whether you end up at:
X:\Sources>
or
X:\Windows\System32>
use these commands:
bootrec /repairbcd
bootrec /fixmbr
bootrec /fixboot
bootrec /scanos
bootrec /rebuildbcd
bcdedit /enum
bootsect /nt60 sys
bootsect /nt60 all

links
error messages

:(
Your PC ran into a problem and needs to restart. We're just collecting some error info and then you can restart (% complete)
:0x00000609
MEMORY_MANAGEMENT

RECOVERY

Your PC couldn't start properly. A required device isn't connected or can't be accessed.
Error Code: 0x000000f
You'll need to use recovery tools. If you dont have any installation media (like a disc or usb device) contact your pc administrator or pc device manufacturer.

RECOVERY

Your PC device needs to be repaired. The Boot Configuration Data for your PC is missing or contains errors.
File: \BOOT\BCD
Error Code: 0xc000000f

:(
Your PC ran into a problem and needs to restart. We're just collecting some error info, and then you can restart. (100% complete)
If you'd like to know more, you can search online later for this error:
KERNEL_SECURITY_CHECK_FAILURE

RECOVERY

Your PC/Device needs to be repaired.
The application or operating system couldn't be loaded because a required file is missing or contains errors.
File: \Windows\system32\winload.exe
Error Code: 0xc000000e
You'll need to use recovery tools. If you dont have any installation media (like a disc or usb device) contact your pc administrator or pc device manufacturer.
Press Enter to try again
Press F8 for startup settings

tag words:
how can i get winpe with bootrec, how can i get windows pe with bootrec, Windows 10 logo black screen swirling dots won't boot up, Windows 10 won't boot up, can't find OS, operating system not found, disk boot failure, BOOTMGR is missing, inaccessible boot device, Windows failed to start a recent hardware or software change might be the cause, no bootable devices available, the system cannot find the specified device, bootloader, boot configuration, boot manager, fixing system reserved partition, rebuilding boot partition solved, ez fix boot, pc won't boot, i can't locate my administrator, Windows 10 can't find OS, boot manager, fixing system reserved partition, rebuilding boot partition solved, says to contact administrator or software vendor