Solved Is it possible to recover the boot files after the EFI system partition was formatted?


Matthew Wai

Well-known member
Member
VIP
Local time
3:30 PM
Posts
153
Location
China
OS
Windows 10
On a Chinese forum, a member named Mr. Zhang formatted the EFI system partition and created a new one without knowing the consequences.
Now he cannot start Windows 11 because Windows Boot Manager is absent from the boot menu.
He can still access drive C and Windows files because Linux has been installed on the same system drive.
So, is it possible to recover the boot files from drive C or a Windows ISO file?
The following screenshot shows the partitions on his system drive.

partitions.webp

.
 

My Computer My Computer

At a glance

Windows 10
OS
Windows 10
Have you made backups?
 

My Computers My Computers

  • At a glance

    Windows 11 ProIntel Core i9 14900K 5800/4500 P/E96GB (2x48) G.skill Ripjaws 6800Asus ROG Strix 4070 Ti OC
    OS
    Windows 11 Pro
    Computer type
    PC/Desktop
    Manufacturer/Model
    DIY Photoshop/Audio/Game/tinker
    CPU
    Intel Core i9 14900K 5800/4500 P/E
    Motherboard
    Asus ROG Maximus Z790 Dark Hero
    Memory
    96GB (2x48) G.skill Ripjaws 6800
    Graphics Card(s)
    Asus ROG Strix 4070 Ti OC
    Sound Card
    B&W 606 S3 speakers; Audiolabs 7000a integrated amp; RSL 10S Mk2 sub
    Monitor(s) Displays
    Eizo CG2730 ColorEdge, ViewSonic VP2768
    Screen Resolution
    2560 x 1440 x 2
    Hard Drives
    nvme: WDC SN850X 4TB, SN850 1TB, SK-Hynix 2 TB P41
    Spinners: Sabrent USB-C DS-SC5B 5-bay docking station, 6TB WDC Black, 6TB Ironwolf Pro 2x 2TB WDC Black
    PSU
    850W Seasonic Vertex PX-850
    Case
    FD North XL Mesh, Black Walnut
    Cooling
    EK Nucleus black 360 AIO w/Phanteks T30 fans; 2 Noctua NF-A14 Chromax ; T30 for memory
    Keyboard
    Keychron Q3 Max TKL w/GMK Redsuns Red Samuri keycaps
    Mouse
    Logitech G305 wireless gaming
    Internet Speed
    575 Mb/s down | 25 Mb/s up
    Browser
    Firefox
    Antivirus
    Defender, Macrium Reflect X
    Other Info
    Phangkey Amaterasu V2 Desk Mat
  • At a glance

    Apple M1
    Computer type
    Laptop
    Manufacturer/Model
    💻 Apple 13" Macbook Pro 2020 (m1)
    CPU
    Apple M1
    Screen Resolution
    2560x1600
    Browser
    Firefox
Have you made backups?
The system drive is not mine. It belongs to Mr. Zhang.
He has mentioned no backups, so I assume he has no backups.
If he had backups, he should have mentioned them.
 

My Computer My Computer

At a glance

Windows 10
OS
Windows 10
See what happens booting to Windows 11 MCT (Windows 11 iso) > troubleshoot > command prompt > startup repair
 

My Computer My Computer

At a glance

Windows 10Intel(R) Core(TM) i7-4800MQ CPU @ 2.70GHz16 GB Total: Manufacturer : Samsung MemoryTyp...NVIDIA Quadro K3100M; Intel(R) HD Graphics 4600
OS
Windows 10
Computer type
Laptop
Manufacturer/Model
HP
CPU
Intel(R) Core(TM) i7-4800MQ CPU @ 2.70GHz
Motherboard
Product : 190A Version : KBC Version 94.56
Memory
16 GB Total: Manufacturer : Samsung MemoryType : DDR3 FormFactor : SODIMM Capacity : 8GB Speed : 1600
Graphics Card(s)
NVIDIA Quadro K3100M; Intel(R) HD Graphics 4600
Sound Card
IDT High Definition Audio CODEC; PNP Device ID HDAUDIO\FUNC_01&VEN_111D&DEV_76E0
Hard Drives
Model Hitachi HTS727575A9E364
Antivirus
Microsoft Defender
Other Info
Mobile Workstation
In this video, i will show you how to create EFI partition from within Windows Recovery Environment.

 

My Computer My Computer

At a glance

Windows 11AMD Ryzen 7 5700GMicron Technology DDR4-3200 16GBNVIDIA GeForce RTX 3060
OS
Windows 11
Computer type
PC/Desktop
Manufacturer/Model
HP Pavilion
CPU
AMD Ryzen 7 5700G
Motherboard
Erica6
Memory
Micron Technology DDR4-3200 16GB
Graphics Card(s)
NVIDIA GeForce RTX 3060
Sound Card
Realtek ALC671
Monitor(s) Displays
Samsung SyncMaster U28E590
Screen Resolution
3840 x 2160
Hard Drives
SAMSUNG MZVLQ1T0HALB-000H1
On another pc, install Macrium Reflect (trial version is fine).

Create a usb rescue drive.

Boot from it on friend's pc and select "fix windows boot problems" link.

This will rebuild the boot files.
 

My Computer My Computer

At a glance

Windows 11 Pro + Win11 Canary VM.I9 13th gen i9-13900H 2.60 GHZ16 GB solderedIntegrated Intel Iris XE
OS
Windows 11 Pro + Win11 Canary VM.
Computer type
Laptop
Manufacturer/Model
ASUS Zenbook 14
CPU
I9 13th gen i9-13900H 2.60 GHZ
Motherboard
Yep, Laptop has one.
Memory
16 GB soldered
Graphics Card(s)
Integrated Intel Iris XE
Sound Card
Realtek built in
Monitor(s) Displays
laptop OLED screen
Screen Resolution
2880x1800 touchscreen
Hard Drives
1 TB NVME SSD (only weakness is only one slot)
PSU
Internal + 65W thunderbolt USB4 charger
Case
Yep, got one
Cooling
Stella Artois (UK pint cans - 568 ml) - extra cost.
Keyboard
Built in UK keybd
Mouse
Bluetooth , wireless dongled, wired
Internet Speed
900 mbs (ethernet), wifi 6 typical 350-450 mb/s both up and down
Browser
Edge
Antivirus
Defender
Other Info
TPM 2.0, 2xUSB4 thunderbolt, 1xUsb3 (usb a), 1xUsb-c, hdmi out, 3.5 mm audio out/in combo, ASUS backlit trackpad (inc. switchable number pad)

Macrium Reflect Home V8
Office 365 Family (6 users each 1TB onedrive space)
Hyper-V (a vm runs almost as fast as my older laptop)
Surely, there are billions of locals who could help him?
 

My Computers My Computers

  • At a glance

    Windows 11 Pro 25H2 26200.9168AMD Ryzen 7 5825U with Radeon Graphics16GB
    OS
    Windows 11 Pro 25H2 26200.9168
    Computer type
    Laptop
    Manufacturer/Model
    Acemagic LX15PRO
    CPU
    AMD Ryzen 7 5825U with Radeon Graphics
    Motherboard
    BIOS CT_BI_AMI_LX15PRO_AB8139_A-004
    Memory
    16GB
    Screen Resolution
    1920 x 1080
    Hard Drives
    SSD 2TB
    Internet Speed
    30 Mbps
    Browser
    Brave
    Antivirus
    Webroot SecureAnywhere Complete beta
  • At a glance

    Windows 11 Pro 23H2 22631.2506Atom N450 1.66GHz2GB
    Operating System
    Windows 11 Pro 23H2 22631.2506
    Computer type
    Laptop
    Manufacturer/Model
    HP Mini 210-1090NR PC (bought in late 2009!)
    CPU
    Atom N450 1.66GHz
    Memory
    2GB
    Browser
    Brave
    Antivirus
    Webroot
  • Acer Swift SF114-34 laptop
    OS Windows 11 Pro 26200.8894
    CPU Pentium Silver N6000
    RAM 4GB
    BIOS v1.17
    SSD Samsung 970 EVO Plus SSD 2TB (an upgrade)
See what happens booting to Windows 11 MCT (Windows 11 iso) > troubleshoot > command prompt > startup repair
Do you mean booting the PC from a Windows 11 ISO file?
If so, can you post a download link to the ISO file?
 

My Computer My Computer

At a glance

Windows 10
OS
Windows 10
In this video, i will show you how to create EFI partition from within Windows Recovery Environment.
Can he boot the PC from a Windows ISO file into "Advanced options"?
 

My Computer My Computer

At a glance

Windows 10
OS
Windows 10
Can he boot the PC from a Windows ISO file into "Advanced options"?
Yes, bootable Windows 11 USB media can be used to boot Windows into recovery options.
 

My Computer My Computer

At a glance

Windows 11AMD Ryzen 7 5700GMicron Technology DDR4-3200 16GBNVIDIA GeForce RTX 3060
OS
Windows 11
Computer type
PC/Desktop
Manufacturer/Model
HP Pavilion
CPU
AMD Ryzen 7 5700G
Motherboard
Erica6
Memory
Micron Technology DDR4-3200 16GB
Graphics Card(s)
NVIDIA GeForce RTX 3060
Sound Card
Realtek ALC671
Monitor(s) Displays
Samsung SyncMaster U28E590
Screen Resolution
3840 x 2160
Hard Drives
SAMSUNG MZVLQ1T0HALB-000H1

My Computer My Computer

At a glance

Windows 11 Pro + Win11 Canary VM.I9 13th gen i9-13900H 2.60 GHZ16 GB solderedIntegrated Intel Iris XE
OS
Windows 11 Pro + Win11 Canary VM.
Computer type
Laptop
Manufacturer/Model
ASUS Zenbook 14
CPU
I9 13th gen i9-13900H 2.60 GHZ
Motherboard
Yep, Laptop has one.
Memory
16 GB soldered
Graphics Card(s)
Integrated Intel Iris XE
Sound Card
Realtek built in
Monitor(s) Displays
laptop OLED screen
Screen Resolution
2880x1800 touchscreen
Hard Drives
1 TB NVME SSD (only weakness is only one slot)
PSU
Internal + 65W thunderbolt USB4 charger
Case
Yep, got one
Cooling
Stella Artois (UK pint cans - 568 ml) - extra cost.
Keyboard
Built in UK keybd
Mouse
Bluetooth , wireless dongled, wired
Internet Speed
900 mbs (ethernet), wifi 6 typical 350-450 mb/s both up and down
Browser
Edge
Antivirus
Defender
Other Info
TPM 2.0, 2xUSB4 thunderbolt, 1xUsb3 (usb a), 1xUsb-c, hdmi out, 3.5 mm audio out/in combo, ASUS backlit trackpad (inc. switchable number pad)

Macrium Reflect Home V8
Office 365 Family (6 users each 1TB onedrive space)
Hyper-V (a vm runs almost as fast as my older laptop)
How did he post then?
He booted his PC into Linux installed on the same system drive.
His PC could be booted into Linux but not Windows.
 

My Computer My Computer

At a glance

Windows 10
OS
Windows 10
Thanks a lot to everyone here. I am this Mr. Zhang.
Well um.. I will try these solutions above in a few days. THANK YOU All.

Wow, first time here.
 

My Computer My Computer

At a glance

Linux UOS Professional
OS
Linux UOS Professional
Computer type
Laptop
Manufacturer/Model
HUAWEI Matebook 13s
How did he post then?
The thing is ... A few days ago, my computer has installed system A and windows 11. I can boot into either of them. the efi patition is correct.

Then, I don't want to use system A any more. I want to switch system A into system B. So, I installed system B. and I want my computer to have system B and windows 11 together. And I couild boot into either of them.

But this time, when I am installing, I made the mistake. I formatted the efi patition, and build a new efi patition.

Now, the efi patition only records system B.

Although I have all the windows files (C:/ D:/) in my computer, I cannot boot into windows, since the new efi patition have no records of windows 11.
 

My Computer My Computer

At a glance

Linux UOS Professional
OS
Linux UOS Professional
Computer type
Laptop
Manufacturer/Model
HUAWEI Matebook 13s
On a Chinese forum, a member named Mr. Zhang formatted the EFI system partition and created a new one without knowing the consequences.
Now he cannot start Windows 11 because Windows Boot Manager is absent from the boot menu.
He can still access drive C and Windows files because Linux has been installed on the same system drive.
So, is it possible to recover the boot files from drive C or a Windows ISO file?
The following screenshot shows the partitions on his system drive.

View attachment 118261

.
Thank you WAI
 

My Computer My Computer

At a glance

Linux UOS Professional
OS
Linux UOS Professional
Computer type
Laptop
Manufacturer/Model
HUAWEI Matebook 13s
Do you mean booting the PC from a Windows 11 ISO file?
If so, can you post a download link to the ISO file?



These are links for the bootable Windows 11 Media Creation Tool (MCT) (Windows 11 iso)






Links that may be useful:



 

My Computer My Computer

At a glance

Windows 10Intel(R) Core(TM) i7-4800MQ CPU @ 2.70GHz16 GB Total: Manufacturer : Samsung MemoryTyp...NVIDIA Quadro K3100M; Intel(R) HD Graphics 4600
OS
Windows 10
Computer type
Laptop
Manufacturer/Model
HP
CPU
Intel(R) Core(TM) i7-4800MQ CPU @ 2.70GHz
Motherboard
Product : 190A Version : KBC Version 94.56
Memory
16 GB Total: Manufacturer : Samsung MemoryType : DDR3 FormFactor : SODIMM Capacity : 8GB Speed : 1600
Graphics Card(s)
NVIDIA Quadro K3100M; Intel(R) HD Graphics 4600
Sound Card
IDT High Definition Audio CODEC; PNP Device ID HDAUDIO\FUNC_01&VEN_111D&DEV_76E0
Hard Drives
Model Hitachi HTS727575A9E364
Antivirus
Microsoft Defender
Other Info
Mobile Workstation
Sounds like you might be using linux grub.There is a bootable tool that should be able to add your windows partition to the boot menu.

It is years since I was dual booting windows and linux. This worked well then, it is more recent version now obviously. Worth a try.

 
Last edited:

My Computers My Computers

  • At a glance

    Win7,Win11i7-97002x16gb 3600mhz
    OS
    Win7,Win11
    Computer type
    PC/Desktop
    CPU
    i7-9700
    Motherboard
    gigabyte b365m ds3h
    Memory
    2x16gb 3600mhz
    Monitor(s) Displays
    benq gw2480
    PSU
    bequiet pure power 11 400CM
    Cooling
    cryorig m9i
  • At a glance

    win7,win11i5-84002x8gb 3200
    Operating System
    win7,win11
    Computer type
    PC/Desktop
    CPU
    i5-8400
    Motherboard
    gigabyte b365m ds3h
    Memory
    2x8gb 3200
    PSU
    xfx pro 450
I think this is not an easy task and you'd better seek help from professionals!
 

My Computer My Computer

At a glance

Windows 11
OS
Windows 11
I think this is not an easy task and you'd better seek help from professionals!
I think there are quite a few professionals on these forums.
 

My Computer My Computer

At a glance

Windows 11 proAMD Ryzen 7 5700XG.SKILL Ripjaws V Series (Intel XMP) DDR4 RAM...ASUS Dual GeForce RTX™ 4060 White Edition
OS
Windows 11 pro
Computer type
PC/Desktop
Manufacturer/Model
custom build
CPU
AMD Ryzen 7 5700X
Motherboard
AMD ROG STRIX B550-F
Memory
G.SKILL Ripjaws V Series (Intel XMP) DDR4 RAM 32GB (2x16GB)
Graphics Card(s)
ASUS Dual GeForce RTX™ 4060 White Edition
Sound Card
on-board
Monitor(s) Displays
SAMSUNG 32-Inch Odyssey G50D Series
Screen Resolution
2560 x 1440
Hard Drives
Samsung 990 EVO Plus 1TB, ssd INTEL SSD 730 series 240 GB, and Samsung 840 Evo ssd 500 GB.
PSU
CORSAIR - RMe Series 1000W 80 PLUS Gold Fully Modular ATX Power Supply
Case
Antec 900 Nine Hundred ATX Mid Tower Computer Gaming Case
Cooling
ID-COOLING SE-214-XT Black CPU Cooler All-Black Layout
Keyboard
Logitech 520
Mouse
Logitech 310
Browser
Google Chrome
Antivirus
Windows Defender

Latest Support Threads

Back
Top Bottom