Home AOMEI Products Support

Backupper Error When Restoring ntoskrnl.exe

Hi,

I'm receiving ntoskrnl.exe error when backupper attempts to restore. Backupper creates winPE and then reboots and receive error. Any thoughts on what's causing this and a fix?

the 

Comments

  • @Tjk031, So, it hasn't yet started the restore? Could you reboot into Windows now? If yes, please try to create a WinPE bootable media of AOMEI Backupper, and then boot computer from WinPE media to do the restore again.
  • Thanks for the reply! Correct, error before the restore process. 

    I created USB media by downloading winpe environment and it worked. Seems like a windows update is breaking the function to restore without USB. 

    Is there a way to add downloaded winpe environment the backupper portable version or directly on machines running the portable version. We cannot create USB media to boot every time we restore.

    Thanks!
  • edited July 2023
    Was this BIOS or UEFI, or UEFI-CSM
  • UEFI secure boot
    I'm thinking it has something to do with CVE-2023-24932 Security Vulnerability patches. When Windows updates to KB5027215 I receive the above error when winpe loads restore from a backup task as well as launching Recovery Environment 
  • @Tjk031, Maybe you can try to create a WinPE iso file via Tools--Create Bootable Media, then you can put the iso file to the installation directory of AOMEI Backupper. So, when you do the restore, it will call the iso file to boot into reboot environment.
  • @admin Thanks for your help, but I'm still struggling with this.

    Building ISO from from tools and adding ampe.iso to the root of the folder still has the same error.

    If I create a brand new winpe image using ADK (not in AOMEI) and create ISO and rename to ampe.iso located in the root of the backupper folder, winpe boots as it should but of course doesn't have backupper or boot to restore function.

    I think backupper PE Build Environment needs to be updated to a more recent version of winpe

  • @Tjk031, When you create the WinPE, please check if it checks "Download WinPE creating environment...". If yes, please try to download and install Windows ADK and Windows PE Addon. After that, please try to create WinPE with uncheck the option.
  • @Admin, I still receive the same error. Below are my steps

    1. Create Bootable WinPE (Tools, export to ISO, Check box Download WinPE creating environment
    2. Download Windows ADK 2004 & Install 
    3. Download WinPE Addon & install
    4. Create Bootable WinPE (Tools, export to ISO, Uncheck Check box Download WinPE creating environment
    5. Move ampe.iso to root of Backupper folder
    6. Kick off restore. Laptops reboots and receive the error when bootable image tries to load.

    I've had success booting winPE by manually creating a Winpe iso using ADK & WinPE above with DISM and rename the ISO to ampe.iso and place in the root of backupper folder. When I kick off a restore, machine successfully reboots to WinPE.

    I've tried multiple installs of Win10 with latest updates and all are consistently giving me the error.
  • @admin, Not sure if this helps or not with trouble shooting, but since I can boot from a WinPE ISO manually created through DISM, thought I'd give a try adding in Backupper components to the ISO manually. I copied over AmDriver folder, AomeiBackpper folder and winpeshl.ini file to system32 and re-created the ISO. I receive the ntoskrnl.exe error.

    I removed PeLoadDrv.exe command in winpeshl.ini, Re-created ISO and WinPE successfully boots and Backupper loads to kick off the restore but errors out with 4098. If I navigate to the restore file on the HDD restore partition and manually try to restore there is an error no disk found on your computer, I assume removing PeLoadDrv.exe is not loading the proper drivers to work, but when enabled is when I see the ntoskrnl.exe error when winpe tries to load.
  • @Tjk031, Could you try to use AOMEI PE Builder to create a WinPE iso to check again?
    http://www2.aomeisoftware.com/download/pe/2.0/full/PEBuilder.exe
    If it still can't work, please temporarily use WinPE bootable USB to boot computer and do restore.
    We will need to submit the problem to our dev team to analyze further.
  • Thanks @admin, for the support. I created an ISO with PEBuilder and placing ampe.ISO in the root of the Backupper folder. I kicked off a restore and received a 4141 error prior to the machine rebooting.

    Please let know what additional info you need from me to escalate to the Dev team.

    Thanks! 
  • Same problem caused by windows June Update. Using Backupper Pro and PartAssist Pro. All PE Bootable media created. In boot.wim system32 ntoskrnl path is invalid of C:\Users\name\AppData\Local\Temp\7z04137DF84\boot.wim. All other working PE Bootable media created in boot.wim has  path of DeviceDrive letter:\sources\boot.wim. I don't know how this changed.
  • @tjk031 I have the same problem you described.
    @admin Has the problem been resolved yet? Are there any news?
  • Hi there! My computer environment is WIN10 2H22, and I'm facing the same issue. I'm wondering if there's any solution other than waiting. Regardless of whether I use Onekey, Backupper, or Partition Assistant, I encounter a screen error as long as it passes through WINPE. Is there any other way to resolve this?
  • edited September 2023
    @KS85, @Moscar, As for ntoskrnl.exe error, it is related to the environment. The WinPE created based on your system recovery environment can't boot with the ntoskrnl.exe error. Please try to create WinPE bootable media of AOMEI Backupper with checking "Download WinPE creating environment from the internet", then boot computer from WinPE media to do operations.
    Or, please try to use AOMEI PEBuilder to create WinPE media, which integrated AOMEI Backupper and AOMEI Partition Assistant.
    http://www2.aomeisoftware.com/download/pe/2.0/full/PEBuilder.exe
  • @admin
    Thank you for your response, but what I'm trying to express is that if I use AOMEI's WinPE through USB, it defeats the purpose of purchasing Onekey and having the built-in AOMEI WinPE.
  • edited September 2023
    @admin @tjk031

    Hello Admin,

    I did the following steps:

    • installed AOMEI PEBuilder
    • created WinPE image with it (downloading environment from the internet)
    • stored the image on a USB flash drive
    • booted from this USB flash drive
    When I boot from the USB drive I still get the same error as the original poster tjk031.
  • edited September 2023
    KS85, if you are stuck with this error not going away, you could use Hirens Boot PE, that has PA, BU preloaded inside, and it works with Secure Boot.
    You could also load BU, PA, or other ISO with Venoy USB booter, an excellent software not made by Aomei, but is great for serious Aomei users.
    Free tools not from Aomei:
    Hirens Boot PE - live USB tool suite
    160 utilities, old BU 6.5.1, PA 9.2.1. To add custom drivers, such as NVMe, simply put them into the “CustomDrivers” folder. Hirens is not recommended in combination with Ventoy USB.
    Ventoy - Best Bootable USB Creator
    https://www.ventoy.net/en/index.html

  • I have had same problem with Aomei products since 2023-07. Have fixed 3 times. Problem is Windows Cumulative updates 2023-07 KB5028166;2023-08 KB5029244;2023-09 KB5030211 writes information into recovery winre.wim. Aomei PE for programs and making bootable media does not work since Aomei picks up wrong or incomplete information. To Fix this issue I disabled reagentc,extracted Winre.wim and Reagentc.xml from windows systen32,recovery,boot.sdi from windows boot dvd Pcat install.esd proper index number for win10Pro index 6. Deleted all files from windows\system32\Recovery,then placed extracted winre.wim,reagentc.xml and boot.sid into Recovery folder. Enabled reagentc all Aomei products works as they should.
  • @admin We're still running into this issue. So far our work around has been to include a working ampe.iso in our portable folder for our deployments, but I'm not sure how sustainable it is. The steps @Donald mentioned above seem to be a bit cumbersome as we're deploying to multiple machines. Have you had a chance to look into further? Do you see this as being an issue with Windows or does AOMEI need to update the building winpe process for bootable media to be compatible with latest Windows updates?
  • Habe das gleiche Problem. Kann mit Windows 10 keinen funktionierenden AOMEI-Bootstick erstellen. Es erscheint immer dieser ntoskrnl.exe-Fehler beim Booten mit diesem Stick. 
    Ein Windows-11-Stick bootet auch den Windows-10-PC. 
    Das Problem besteht seit AOMEI-Update auf Version 7.3.2. 


  • Das wird anscheinend nichts mehr mit funktionierendem Erstellen des Rettungsmediums in Windows 10. Ich arbeite jetzt mit Paragon. Das ist mir alles zu kompliziert mit den hier angebotenen Lösungen.  AOMEI wird hier keine gewinnbringende Problem-Lösung anbieten können. Schade!!
  • @KS85, Was den ntoskrn.exe-Fehler betrifft, so hängt er mit der Wiederherstellungsumgebung Ihres Systems zusammen. 
    Haben Sie automatisch auf Windows 11 von Win10 aktualisiert oder das Win11-System manuell installiert?
    Das Problem ist, dass die kumulativen Windows-Updates 2023-07 KB5028166;2023-08 KB5029244;2023-09 KB5030211... Informationen in die Wiederherstellungsdatei winre.wim schreiben. Die Informationen, die winre.wim bietet, sind jedoch nicht mit AOMEI Backuppr kompatibel, was das Problem verursacht.
    Unser Techniker benötigt mehr Zeit, um das Problem zu optimieren.
    Bitte versuchen Sie vorübergehend, einen bootfähigen WinPE-USB zu erstellen. Wenn Sie WinPE erstellen, aktivieren Sie bitte "WinPE-Erstellungsumgebung aus dem Internet herunterladen".
  • edited October 2023
    Warum kommt diese Antwort so spät? Das hätte man den AOMEI-Kunden auch schon früher mitteilen können. Das Problem ist Ihnen schon seit Juni 2023 bekannt. 

    Das Problem besteht - soweit mir bekannt ist - nur in Windows 10. Warum Ihre Frage bezüglich Aktualisierung auf Windows 11? In Windows 11 funktioniert doch alles. 
  • @admin if we need create our own working WnPE, do you have instructions to essentially create our own ampe.iso manually for backupper using DISM?

  • @Tjk031, Did you mean that you want to integrate AOMEI Backupper into your working WnPE? Wha tool did you use to create the WinPE?
  • edited December 2023
    Your concerns have been answered, kind of. While the subject of this post is BU, now Aomei fixed Ntoskrnl.exe error in Partition Assistant 10.2.2. Perhaps BU will be next

Sign In or Register to comment.