[FIX] Developer Mode Package Failed To Install. Error Code: 0x80004005

Learn how to fix, when you can't enable Developer mode in Windows 10 due to "Developer Mode package failed to install. Error code: 0x80004005" message.

Kapil Arya
11x Microsoft MVP · Admin
2 min read
Add as a preferred
source on Google

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 when they try to enable Developer mode, following error message appears:

FIX 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 W8K + 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.

Windows 10 Registry Editor

2. Navigate to following registry key:

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

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.

FIX Developer Mode Package Failed To Install. Error Code: 0x80004005

4. Then in Edit DWORD Value box, put the Value data as 0. Click OK and close the Registry Editor window.

FIX Developer Mode Package Failed To Install. Error Code: 0x80004005

You can now reboot your machine and try enabling Developer mode, it should get activated this time.

Hope this helps!

Share this article
https://www.kapilarya.com/developer-mode-package-failed-to-install-error-code-0x80004005-windows-10

Shareable URL

Article by

Kapil Arya
11x Microsoft MVP · Admin

Kapil holds Microsoft MVP title in Windows IT Pro expertise, 11-times in a row (2014-2025). He is 8-times Windows Insider MVP as well, and author of 'Windows Group Policy Troubleshooting' book. In 2015, Microsoft India accomplished him as 'Windows 10 Champion'. Being passionate Windows blogger, he loves to help others on fixing their system issues. Kapil has worked with official Microsoft Community Engagement Team (CET) on several community projects. You can subscribe him for news/updates and fixes for Windows.

50 Comments
Jani Nevalainen

Hey, good work and thanks for sharing it, helped me to get my PC on developer mode!

Kapil Arya Author

^^ Glad we could help 😎

Matthew Morgan

Worked for me on Windows 10 Enterprise x64, v1607, OS Build 14393.82

Thank you very much for the post!

Kapil Arya Author

^^ Perfect ☺️

Jack

Thank you very much! Worked like a champ

Kapil Arya Author

^^ Awesome 😄

mhk

Hi in my pc i am not WindowsUpdate folder plz help me how i can Create it ?

Kapil Arya Author

^^ Right click Windows registry key (HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows). Select New > Key and name newly created sub-key as WindowsUpdate. Similarly create AU registry key.

johny

now it says installing developer mode package and just hangs like that forever

Kapil Arya Author

^^ Make sure you’re connected to a fast Internet connection and suggest you to give it some time, it may work!

Tim Biles

This process didn’t work for me in our Domain Environment. The registry key gets reset after a reboot.

Instead of rebooting, I changed the registry key mentioned above, then restarted the Windows Update service. I was then able to enable Developer Mode.

Kapil Arya Author

^^ Great, thanks for adding this!

Neeraja

Thank you for the fix. It worked perfectly for me.

Kapil Arya Author

^^ 😊

eScott

Thank you! This worked for me.

Kapil Arya Author

^^ Happy to help ☺️

Jürgen Depicker

Thanks, it worked. Small note: enabling developer options (if your company uses WSUS) also works without reboot, if you restart the ‘windows update’ service (eg via services.msc) after changing the mentioned registry key.

Kapil Arya Author

^^ Glad it worked, thanks for the feedback 😊

Baala

Thanks for the fix. It worked like a charm.

Kapil Arya Author

^^ Thanks for your feedback 😊

Josh

THANKS!!!!! Worked for me (Windows 1607 enterprise), 11/22/2016

Kapil Arya Author

^^ Glad it worked ☺️

sahil singh

Worked for me, thanks. Whats the magic here? What does the registry key do?

Kapil Arya Author

^^ Glad it worked, the logic is mentioned in earlier comments 😊

Milind

I can see the error msg while following the above steps: while changing the value from 1 to 0 I got and error popup, saying: cannot edit UseWUserver: Error writing the value’s new contents.

Could you please help me in it?

Kapil Arya Author

^^ Take the ownership of AU registry key then try again: https://www.kapilarya.com/manually-take-ownership-windows-8

Milind

My “UseWUserver: Error writing the value’s new contents.” error is solved by using admin rights and able to enable developer mode without an error. However I still see the error
“Ask the developer for a new app package. This package may conflict with a package already installed, or it depends on things not installed here (package dependencies), or is made for a different architecture (0x80073CF3)” while installing the app.

I have created a appxbundle file using debug mode on my development windows 10 machine and successfully installed on it. However I wanted to test it on another windows 10 machine/laptop, there I am facing this error.
Your help is greatly appreciated.

Kapil Arya Author

^^ Please check the suggestions mentioned here and see if the thread helps you in this case: github.com/ST-Apps/PoGo-UWP/issues/1870

Awudajun

When I look through the registries, I do not have WindowsUpdate one. I add it but still get the same error that developer mode package failed to install

Kapil Arya Author

^^ Which build you’re on?

Lord

i dont have windows update folder |=

Kapil Arya Author

^^ Create manually, refer previous comments.

Agustina

Thanks so much, this worked perfectelly!

Kapil Arya Author

^^ Glad to help, Agustina!

Roger

This worked for me, too! Thanks! Just a question. Is it safe to keep this at zero? Or after enabling developer mode successfully, should we revert this to 1?

Kapil Arya Author

^^ It’s safe to keep it at zero 😊

Tom B

Hello Kapil. I followed your instructions changing the registry key DWord named UseWUServer to a value of 0. This fixed the problem and I successfully installed the Developer Mode package on my laptop running an Enterprise version of Windows 10.

By making this registry change, will it affect in any way the usage of a WSUS server pushing patches and upgrades? And since the Developer Mode package is installed, can I safely revert to the previous registry key?

Kapil Arya Author

^^ It may affected. Can you try reverting registry value now and see if you still have Developer Mode enabled.

mahesh hebballi

i done everything as above you mentioned ,but it could not fixed. it showing ” developer mode is turned on . however , remote deployment and windows device portal couldn’t installed so they are not available . error code 0x800f0908. pls help me

HDanh

Hi
I have done everything you suggested. But The Windows Developer Mode Status always shows “installing… ” When I check in manage Optional Feature the process is installing, I had to wait a day for it. But it keeps installing, and nothing changes.
Thanks,

Kapil Arya Author

^^ Which version you’re on? Try to be on V1803, which is latest right now.

Mahesh

Thanks so much, this worked perfectly..

Kapil Arya Author

^^ Glad to help Mahesh 😊

David

I dont have Windows Uptade Folder HELP

Kapil Arya Author

^^ Create manually!

David Stone

When i click on the registry to create a New Key it says impossible to create a new key. Writing error in the registry.

David Stone

I can’t create a key on the registy

Kapil Arya Author

^^ Take ownership of registry key first and then proceed: https://www.kapilarya.com/how-to-manually-take-ownership-of-registry-key-in-windows-10

Michelino

Thank you
You saved my life

Kapil Arya Author

^^ Glad to help 😊

Leave a Comment

Your email address will not be published. Required fields are marked *