Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

How to fix Developer Mode package failed to install. Error code: 0x80004005


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.

Developer mode can be enabled from Settings app > Update & security > For developers > Developer mode.

According to Microsoft, when you turn on Developer mode, following operations are performed by Windows 10 :

Installing Windows device portal and configuring firewall rules for it.
Configuration of firewall rules for Secure Shell (SSH) services to allow remote installation of apps.
Enabling Windows subsystem for Linux that allows you to run Bash on Ubuntu inside Windowsoperating system (OS).

But some of the users has reported that they when they enable Developer mode, following error message appears: Developer Mode package failed to install. Error code: 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

especially if you get this error when trying to install Developer Mode here we have some tips to fix this error.

Manually install Developer Mode

The first open the Settings app, by pressing the Windows key on your keyboard and typing Settings, then clicking on the result. Once inside, search for and open on Apps & features and choose Manage Optional features at the top.

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.

Once inside, you should run the following command: sc config debugregsvc start=auto


Disable the UseWUServer registry key

 First open registry windows to do this press win + R and  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:

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU

NOTE: Before make any changes its Recommended to Create A System Restore Point , so that if any thing goes wrong you can Revert your system to previous working state.


Inside the folder, edit the UseWUServer and set its value to 0, or delete the entire AU folder.

Now open command prompt As Administrator and perform bellow commands one by one and press enter key.

net stop wuauserv
net stop bits
net stop cryptsvc
net start wuauserv
net stop bits
net stop cryptsvc

Thats all now try to enable the Developer Mode hope problem will get fixed .
All you need to know about Microsoft Windows 10 ! New Features, Tips, Tricks, Troubleshooting, How To fix errors, Update News and much more visit Windows 10 Tips And Tricks



This post first appeared on Windows 10 Support, please read the originial post: here

Share the post

How to fix Developer Mode package failed to install. Error code: 0x80004005

×

Subscribe to Windows 10 Support

Get updates delivered right to your inbox!

Thank you for your subscription

×