Windows 10 Developer Mode is one such option that lets one use some advanced features. By enabling this mode, you can run Bash on Windows 10 and access multiple developer settings under one roof. Enabling the Developer mode will help you to test and debug your apps. This mode is very useful because it has removed the wait of getting a developer license. In Windows 10, you can activate Developer mode any time to install and test the apps developed by you. Also, you can run the apps from Visual Studio in debug mode. And the Developer mode can be enabled from Settings app > Update & security > For developers > Developer mode. But some of the users have reported that they, when they enable Developer mode, following error message, appears Developer Mode package failed to install Error 0x80004005.
The error indicates that certain extra components, that are needed by the OS in order to enable additional features for debugging, are not installed automatically. When you can’t enable Developer mode in Windows 10 due to “Developer Mode package failed to install Error 0x80004005 Here we have some tips to fix this error.
Fix developer mode package failed to install error 0x80004005
Manually install Developer Mode
If you face Windows 10 developer mode package failed to install error 0x80004005 while enable the developer mode Trying to manually install the Developer mode can fix this error and you can continue using the features. To manually install the Developer mode first open the Settings app, by pressing the Windows key on your keyboard and typing Settings, then clicking on the result. once the setting window opens click on the system. here on customize your display screen click on Apps & features on the left side as shown below image.
Now choose Manage Optional features at the top Click on Add a feature, and select the Windows Developer Mode package. Install it, and reboot your PC.
When you’re done with this, launch an Elevated Command Prompt by pressing simultaneously Windows and X on your keyboard. And selecting Command Prompt (Admin) from the menu. When the command prompt opens type the following command:
sc config debugregsvc start=auto
That’s all now go to Settings app > Update & security > For developers > Developer mode. hope this time you didn’t get any error. if you still face this error follow the Next solution Disable the Use WUServer registry key.
Disable the UseWUServer registry key
If the first solution does not work for you and still getting this Developer Mode Package Failed to install Error Code 0x8000400. Don’t worry Here we have another solution that can Disable the UseWUServer using registry Edit.
Note: Before making changes on Registry it’s recommended to create a System restore point for windows. so that if anything goes wrong while making changes on the windows registry you can revert back your system to a previous working state using System Restore.
Now first open the Windows Registry Editor to do this press win + R this will open the Run Dialogue window. Here In the box, type regedit.exe and press OK, or Enter on your keyboard.
You should now be in the Registry Editor. Once inside, use the left navigation pane to go to the following key:
Inside the folder, edit the UseWUServer and set its value to 0, or delete the entire AU folder.
Now open Command Prompt As administrator form start search type CMD. When the command prompt shows right-click on it and select Run As Administrator as shown below image.
When the command prompt opens perform the below commands one by one and press the Enter key after each one to execute it:
net stop wuauserv
net stop bits
net stop cryptsvc
net start wuauserv
net start bits
net start cryptsvc
That’s all type Exit to close the command prompt and restart the windows after this, and when the process is done, you shouldn’t be facing this issue anymore.
These are some best working solutions to fix the windows 10 developer mode package that failed to install error 0x80004005 permanently. Have any query, suggestion feel free to comment below. Also, Read Fix error 0x80070643 failed to install MSI package