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.

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:

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

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:


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!


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

  • Kapil Arya

    ^^ Glad we could help 😎

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

    Thank you very much for the post!

  • Kapil Arya

    ^^ Perfect ☺️

  • Thank you very much! Worked like a champ

  • Kapil Arya

    ^^ Awesome 😄

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

  • Kapil Arya

    ^^ 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.

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

  • Kapil Arya

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

  • 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

    ^^ Great, thanks for adding this!

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

  • Kapil Arya

    ^^ 😊

  • Thank you! This worked for me.

  • Kapil Arya

    ^^ Happy to help ☺️

  • 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

    ^^ Glad it worked, thanks for the feedback 😊

  • Thanks for the fix. It worked like a charm.

  • Kapil Arya

    ^^ Thanks for your feedback 😊

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

  • Kapil Arya

    ^^ Glad it worked ☺️

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

  • Kapil Arya

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

  • 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

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

  • 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

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

  • 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

    ^^ Which build you’re on?

  • i dont have windows update folder |=

  • Kapil Arya

    ^^ Create manually, refer previous comments.

  • Thanks so much, this worked perfectelly!

  • Kapil Arya

    ^^ Glad to help, Agustina!

  • 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

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

  • 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

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

  • 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

  • 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.

  • Kapil Arya

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

  • Thanks so much, this worked perfectly..

  • Kapil Arya

    ^^ Glad to help Mahesh 😊

  • I dont have Windows Uptade Folder HELP

  • Kapil Arya

    ^^ Create manually!

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

  • I can’t create a key on the registy

  • Kapil Arya

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

  • Leave a Reply

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

    Recent Comments

    • Kapil Arya : ^^ Re-register Camera app: https://www.kapilarya.com/fix-camera-not-wo...

      10 hours ago

    • vartika : Hi! i had an issue on my laptop where the camera wasnt working even wh...

      1 day ago

    • Kapil Arya : ^^ Is your system part of domain?...

      1 day ago

    • John Wayner : I have a unique problem with this error. I am able to input my pass...

      2 days ago

    • Kapil Arya : ^^ You need to install generic Bluetooth device available on your syst...

      2 days ago