How to fix upgrade failure on Windows 11 0x8007001f
If Windows 11 version update or upgrade from Win10 to Win11 fails, try troubleshooting or system repair command, but if it fails with “0x8007001f” error code, it may be possible to deal with it by deleting unnecessary user keys in the registry . is highly sexual. This page introduces how to deal with the 0x8007001f error caused by upgrading. The explanatory diagram uses Windows 11, but if the upgrade from Win 10 to Win 11 fails, you can deal with the same operation on the Windows 10 side.
How to deal with 0x8007001f error due to Windows 11 upgrade
How to fix 0x8007001f error by editing registry
If for some reason the user’s registry key is duplicated or the deleted user remains, the upgrade will not be possible. Operation overview:
Check the user ID registered with the command, compare it with the user ID registered in the registry, and delete the user whose ID is not displayed in the command confirmation.
1. Check the registered user ID at the command prompt
- After pressing the “Windows” key on your keyboard, press ” cmd “.
- When the search screen appears, click “Run as administrator” in Command Prompt.
*This operation is the same as entering “cmd” in the search.
To start from the Start menu, click “All apps” and click “Windows Tools” in the list to open Explorer, right-click “Command Prompt” and select “Run as administrator” “Click.
When the command prompt opens, type ” WNIC useraccount get name,sid ” and press “Enter” to display the user account ID. Without closing the command prompt, next check the user ID registered in the registry.
2. Check the user ID registered in the registry
- Press “Windows” and “R” on your keyboard.
- When Run opens, type regedit in the text box and click OK.
- Click Yes when the User Account Control warning appears.
- “Run” can also be opened from Start.
If you are unsure of what to do, make a backup before editing the registry before doing anything else.
When Registry Editor opens , expand ProfileList in the following order .
- 〉HKEY_LOCAL_MACHINE
- 〉SOFTWARE
- 〉Microsoft
- 〉Windows NT
- 〉Current Version
- 〉ProfileList
Next, compare the user ID registered in the command and the registry.
3. Compare command and registry user ID
Here, the registry has ” 1010 “, but it is not in the command prompt. Compare the numbers at the end of the last “-” in the user account ID in Command Prompt and in the registry. Next, it is a problem that ” 1010
” is displayed in the registry, which is not displayed in the command prompt, so delete it.There are many user accounts (IDs) displayed in the command prompt, but there is no problem because they are registered by default but disabled (inactive) users . If there are no problems with comparing user IDs, try troubleshooting the issue and system repair commands.
4. Deletion of user ID with problem in registry registration
Right-click on the offending user’s registry key, click Delete, and you’re done.
To confirm the username to be deleted
- Click on the user key to open its contents.
- Double-click “ProfileImagePath” to display the “edit screen”.
- The part after Users\ in the “value data box” is the user name.
In this example, the user “mario” is duplicated. After editing the registry, restart your computer to fix the 0x8007001f error.
Dealing with 0x8007001f error with troubleshooter
Windows has a troubleshooter that can automatically fix problems such as updates and peripherals.
The troubleshooter can be opened from “System” in Settings. For details on how to use it, please refer to the following page, which uses Windows Update as an example.
System repair command
- sfc /scannow
- Dism /Online /Cleanup-Image /Restorehealth
- Dism /online /cleanup-Image /startcomponentcleanup
The details of how to restore the system by command are introduced on the following page.
Dealing with 0x8007001f error in check disk
Problems with disk-related data configuration, such as bad disk sectors in Windows and controls over saving and deleting data on the disk, can also cause the upgrade to fail. Check Disk is a feature that accesses physical sectors and automatically repairs any detected problems with the file system that manages the disk. There are two ways to execute Check Disk: “Drive Check” from Explorer and “CHKDSK” command for more detailed checks.
■ “Drive check” from Explorer
■ “CHKDSK” command
The detailed operation method and explanation of the check disk are introduced on the following page.
How to check the error code when the upgrade fails
Click the Start button, then click Settings in Start.
Click Windows Update.
2. Click Update history.
3. Failed information is displayed at the top of “Update history”, so you can check the error code that caused the failure.
If the upgrade fails and you have problems using your computer, you may need to perform an overwrite installation, initialize (reset) your computer, or perform a clean installation.