Window 11 upgrade has failed error code 0x8007007f

%3CLINGO-SUB%20id%3D%22lingo-sub-2987704%22%20slang%3D%22en-US%22%3EWindow%2011%20upgrade%20has%20failed%20error%20code%200x8007007f%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2987704%22%20slang%3D%22en-US%22%3E%3CP%3EWindow%2011%20upgrade%20has%20failed%20error%20code%200x8007007f%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3008666%22%20slang%3D%22en-US%22%3ERe%3A%20Window%2011%20upgrade%20has%20failed%20error%20code%200x8007007f%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3008666%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1224504%22%20target%3D%22_blank%22%3E%40willk7%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3E1.%20Open%20%3C%2FSPAN%3E%3CSTRONG%3Ecmd%3C%2FSTRONG%3E%3CSPAN%3E%26nbsp%3Bin%20elevated%20mode%2C%20right-click%20on%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3ECommand%20Prompt%3C%2FSTRONG%3E%3CSPAN%3E%26nbsp%3Bicon%2C%20and%20select%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3ERun%20as%20administrator%3C%2FSTRONG%3E%3CSPAN%3E.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E2.%20Please%20execute%20the%20below%20commands%20step%20by%20step%3A%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-applescript%22%3E%3CCODE%3Esfc%20%2Fscannow%0Adism%20%2Fonline%20%2Fcleanup-image%20%2Fscanhealth%0Adism%20%2Fonline%20%2Fcleanup-image%20%2Frestorehealth%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3EThe%20first%20command%20will%20scan%20and%20fix%20system%20file%20corruption%20issues%2C%20second%20and%20third%20command%20will%20use%20DISM%20(%3CSPAN%3EDeployment%20Image%20Servicing%20and%20Management)%20tool%20to%20scan%2Frestore%20the%20health%20of%20the%20windows%20installation%20image.%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E3.%20Reboot%20the%20computer%20and%20run%20Windows%2011%20Upgrade%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EI%20hope%20these%20steps%20could%20be%20helpful%20for%20you%2C%20please%20do%20not%20hesitate%20to%20contact%20me%20for%20any%20further%20assistance.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Visitor

Window 11 upgrade has failed error code 0x8007007f

2 Replies

Hi @willk7 

1. Open cmd in elevated mode, right-click on Command Prompt icon, and select Run as administrator.

 

2. Please execute the below commands step by step:

sfc /scannow
dism /online /cleanup-image /scanhealth
dism /online /cleanup-image /restorehealth

The first command will scan and fix system file corruption issues, second and third command will use DISM (Deployment Image Servicing and Management) tool to scan/restore the health of the windows installation image. 

 

3. Reboot the computer and run Windows 11 Upgrade

 

I hope these steps could be helpful for you, please do not hesitate to contact me for any further assistance.

Have you ried running the PC Health Check app to verify if your system is ready for the upgrade?
Are you installing from the Windows Update or using the Windows installer file?