The installation failed in the SAFE_OS phase.....

Gagui07

New Member
Hi, I tried to repair my windows 10 OS because since an update from Microsoft, my hp laptop lost all sound (No Audio Output/Input Device is Installed). After the final
reboot I got the message:
We couldn't install Windows 10
0x80070005-0x2000A
The installation failed in the SAFE_OS phase with an error during PREPARE_FIRST_BOOT operation

What does this mean, and what should I do?
Thank you.
HP Pavilion laptop, Windows 10 64-bit, v1909, AMD A8-7410 APU, AMD Radeon R5, 8 GB RAM
 

kunalchib

New Member
Disable Antivirus.

Unplug not required USB devices if there is any.

Do a clean boot. Frm msconfig

Stop services wuauserv, cryptsvc, bits, msiserver, windows installer.

Now rename the softwaredistribution folder and catroot2 folder.

Start services wuauserv, cryptsvc, bits, msiserver, windows

Open regedit
Hklm\software\microsoft\windows\currentversion\windowsupdate\osupgrade

If osupgrade folder is not there right click on windowsupdate folder and under new choose key than name it as osupgrade.

On the right side under osupgrade right click again go to new and click on DWORD (32-BIT) VALUE and name it as Allowosupgrade and make sure it's value should be 1.

Than go to C:\users\user account\appdata\roaming\microsoft\windows\start menu\programs
And look for Orbx folder

Note: In order to see AppData folder go to folder options and check show hidden files and folders from folder options.

Than open RUN and type:
%appdata%\microsoft\windows\start menu\programs\orbx and hit ENTER.

Now search for TODO if file exists make sure to delete that file permanently and thn reboot the system.

Open the CMD with administrator privilege

Run the following commands:

SFC /scannow (if nothing resolve)

SFC /scannow /offbootdir=C:\ /offwindir=C:\windows
Than hit ENTER once finished reboot the system.

Open the CMD with administrator privilege

Run the following commands:

Dism /online /cleanup-image /checkhealth
Dism /online /cleanup-image /scanhealth
Dism /online /cleanup-image /restorehealth

If the above cmd doesn't work contact Microsoft.
 
Top