0Ícone do Windows UpdateWindows 7 para 10 atualização 0x8007001F erro

Recentemente eu estava tentando atualizar um Windows 7 PC para o Windows 10 mas depois de vários reboots as janelas 10 instalação estava falhando com um erro “The installation failed in the SAFE_OS phase with an error during REPLACE_OC operationwith code 0x8007001f – 0x20006.

O conserto

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 “consertar” was simple. I did an “atualizar” install of the existing Windows 7 SP1 para…. Windows 7 SP1 ! This is basically a repair install. You need a Windows 7 SP1 ISO which matches the version of windows installed. Extraí-lo para uma pasta e, em seguida, executar a instalação. 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 ainda pode ser downloaded from Microsoft (which is obviously much safer than from 3rd party sites) but you will need a legitimate varejo chave (não um OEM chave tristemente) a fazê-lo. 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.

fixação do Windows 7 arquivos do sistema

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

I tried running the SURT ferramenta (aka the System Update Readiness Tool KB947821) but gave up with it after several hours as there was clearly significant corruption somewhere. Em vez disso eu instalei KB2966583 which installed quickly and allowed me to use the DISM tool to log and repair any corruption of system files. SURT 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

  • abra o arquivo no bloco de notas
  • 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
  • faça uma pesquisa, substitua o seguinte
    • (f)CBS MUM Missing0x00000002servicing\Packages\Package_” -> “” (i.. em branco)
    • _” -> “,” (underscore to comma)
    • ~” -> “,” (til a vírgula)
  • Salve o arquivo como um arquivo CSV
  • Open in excel
  • Ordenar por coluna A
  • Delete all rows starting with (consertar)
  • Re-ordenar por coluna C (que é a única coluna de interesse agora)
  • Pode haver muitas entradas repetidas na coluna C. simply remove all duplicates so there is just 1 entrada para cada KB número
  • Essa é a lista de atualizações que você precisa baixar

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: Windows 7, 64bits ou 32 bits.
  • Navegue até %SYSTEMROOT%\CheckSUR\ and create a folder calledpackagesif it doesn’t already exist
  • copiar os arquivos .msu em %SYSTEMROOT%\CheckSUR\packages\
  • Open an elevated command prompt
  • corre DISM /Online /Cleanup-Image /Scanhealth
  • When it has finished check the CheckSUR log again
  • repeat the process with additional updates if needed
  • quando DISM está feliz, corre sfc /scannow

Once this is complete your windows 7 deve ser totalmente fixo, mas como meu exemplo mostra, não pode claramente ainda haver alguns problemas em alguns casos. 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.

Achou útil? Informe-nos deixando um comentário abaixo. Se você deseja se inscrever, use o link de inscrição no menu no canto superior direito. Você também pode compartilhar isso com seus amigos usando os links sociais abaixo. Felicidades.

Deixe uma resposta