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:
- 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 Windows operating 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
Users have been facing this issue in preview builds released last year, and same is continued, even with the Anniversary Update (AU) build. If you’re also facing this weird problem which interrupts you to test your developer abilities, try following the steps mentioned here and see if they helps you:
FIX : Developer Mode Package Failed To Install. Error Code: 0x80004005
Registry Disclaimer: The further steps will involve registry manipulation. Making mistakes while manipulating registry could affect your system adversely. So be careful while editing registry entries and create a System Restore point first.
1. Press + R and put regedit in Run dialog box to open Registry Editor (if you’re not familiar with Registry Editor, then click here). Click OK.
2. Navigate to following registry key:
3. In the corresponding right pane of AU registry key, you’ll see a registry DWORD (REG_DWORD) named UseWUServer which might be set to 1. Double click on it to modify its Data.
4. Then in Edit DWORD Value box, put the Value data as 0. Click OK and close the Registry Editor window.
You can now reboot your machine and try enabling Developer mode, it should get activated this time.
Hope this helps!