0Windows Update IconWindows- 7 zu 10 Upgrade-Fehler 0x8007001F

Ich habe versucht, vor kurzem ein Windows-Upgrade 7 PC auf Windows 10 aber nach mehreren Neustarts der Fenster 10 Installation versagt mit einem Fehler “The installation failed in the SAFE_OS phase with an error during REPLACE_OC operationwith code 0x8007001f – 0x20006.

Die Reparatur

I’ll start with the eventual fix that worked, but below I will also include the instructions for repairing Windows 7 system files as these may also be useful in other circumstances, although they I didn’t manage to fix my problem with them on this occasion.

The actual “Fix” was simple. I did an “Aktualisierung” install of the existing Windows 7 SP1 zu…. Windows- 7 SP1! This is basically a repair install. You need a Windows 7 SP1 ISO which matches the version of windows installed. Entpacken Sie es in einen Ordner und führen Sie dann Setup. You will get the option to keep all existing files which you must select. Once the repair install is successful you can run the windows 10 upgrade and if you’re lucky like I was it will then complete successfully.

The Windows 7 ISO kann immer noch sein, downloaded from Microsoft (which is obviously much safer than from 3rd party sites) but you will need a legitimate Verkauf Schlüssel (keine OEM Schlüssel traurig) dies zu tun,. If you are forced to resort to unofficial sources please make sure you check the hash of the file to ensure it hasn’t been altered.

Beheben von Windows 7 Systemdateien

Anmerkung: Before starting make sure you have run a disk scan with chkdsk /f /r

I tried running the Saure Trauben Werkzeug (aka the System Update Readiness Tool KB947821) but gave up with it after several hours as there was clearly significant corruption somewhere. Stattdessen habe ich installiert KB2966583 which installed quickly and allowed me to use the DISM tool to log and repair any corruption of system files. Saure Trauben is basically just a wrapper for DISM with no visual feedback so using DISM manually is preferable.

After using the CheckSUR log (%WINDIR% Logs CBS CheckSUR.log) I was able to identify a large number of corrupt update files that needed to be repaired. This is easier to do via a bit of manipulation in notepad and then excel

  • Öffnen Sie die Datei im Editor
  • delete everything at the top of the file down to and inc “Checking Packages”
  • delete everything at the bottom of the file from “Checking Component Store” and downwards
  • Führen Sie eine Suche durch, um Folgendes zu ersetzen
    • (f)CBS MUM Missing0x00000002servicing\Packages\Package_” -> “” (d.h.. leer)
    • _” -> “,” (underscore to comma)
    • ~” -> “,” (Tilde Komma)
  • Speichern Sie die Datei als CSV
  • Open in Excel
  • Sortieren nach Spalte A
  • Delete all rows starting with (Fix)
  • Re-sort durch Spalte C (Das ist die einzige Spalte von Interesse jetzt)
  • Es kann viele Wiederholungs Einträge in Spalte C. simply remove all duplicates so there is just 1 Eintrag für jeden KB Nummer
  • Dies ist die Liste der Updates, die Sie herunterladen müssen

Once you’ve got the list of needed updates

  • Check which version of windows you are runningx64 or x86
  • Download the packages from the microsoft update catalog or use google for the few that aren’t listed on the update catalog. Make sure you download the updates for the correct OS: Fenster 7, 64Bit oder 32-Bit.
  • Wechseln Sie zu %SYSTEMROOT%\CheckSUR\ and create a folder calledpackagesif it doesn’t already exist
  • Kopieren Sie die MSU-Dateien in %SYSTEMROOT%\CheckSUR\packages\
  • Open an elevated command prompt
  • Lauf DISM /Online /Cleanup-Image /Scanhealth
  • When it has finished check the CheckSUR log again
  • repeat the process with additional updates if needed
  • wenn DISM ist glücklich, Lauf sfc /scannow

Once this is complete your windows 7 sollte vollständig fixiert, aber wie mein Beispiel zeigt, kann es in einigen Fällen eindeutig noch einige Probleme sein. If I had to guess the issue at this point is likely to be with permissions or possibly with the registry. This process should at least fix windows updates.

Bitte senden Sie uns Ihre Gedanken durch Kommentierung unten! Wenn Sie bitte abonnieren möchten den Link oben rechts auf dem Menü abonnieren verwenden. Sie können auch unten unter Verwendung der sozialen Bindungen diese mit Ihren Freunden teilen. Prost.

Hinterlasse eine Antwort