If you’re trying to enable Developer Mode in Windows 10 or Windows 11 and see: Developer Mode package failed to install – Error 0x80004005, you’re not alone. This error usually appears when Windows cannot download or install the additional components required for Developer Mode. However, in most cases, you can fix it yourself by repairing Windows Update services, system files, or certain registry and policy settings.
What is Error 0x80004005 in Developer Mode?
Error 0x80004005 is a generic “unspecified error” in Windows. When it appears while enabling Developer Mode (Settings ➜ For developers), it means:
- Windows tried to download/install the Developer Mode package (additional tools and components required for advanced app development and debugging), but something failed.
- The failure is typically related to Windows Update, network restrictions, or corrupt system files.
In practice, you’ll see something like:
Developer Mode package failed to install. Error code: 0x80004005
Until this is fixed, you won’t be able to correctly enable Developer Mode features, which can affect:
- Running and debugging apps from Visual Studio
- Using certain developer tools and optional features
- Sideloading and testing apps you’re building
What causes the Developer Mode Package Failed to Install
Common causes of Developer Mode 0x80004005 in Windows 10/11 include:
- Windows Update services not running or stuck
- Corrupt Windows Update cache (SoftwareDistribution, catroot2)
- Group Policy / Registry settings forcing Windows to use a custom WSUS server (
UseWUServer) - Security software (antivirus, firewall, endpoint protection) blocking downloads
- Damaged system files (SFC/DISM required)
- Outdated Windows build missing fixes or components
- Network restrictions (enterprise environments, proxy, VPN, metered connections)
The fixes below address each of these root causes in a safe, logical order.
Before trying more advanced steps, do these quick checks. They often resolve the problem on their own.
- Check your internet connection
- Make sure you’re online and can browse normal websites.
- If you’re on a VPN or proxy, temporarily disconnect and try again.
- Temporarily pause any downloads/updates
- If Microsoft Store or Windows Update is actively downloading something large, wait for it to complete or pause it.
- Restart your PC
- A simple restart can clear temporary glitches in Windows Update and services.
- Try enabling Developer Mode again
- Windows 10:
- Go to Settings ➜ Update & Security ➜ For developers
- Windows 11:
- Go to Settings ➜ System ➜ For developers
- Turn on Developer Mode and see if it installs without error.
- Windows 10:
If you still see 0x80004005, proceed with the fixes below in order.
Restart Windows Update Services
Restarting the core Windows Update services often clears stuck states that prevent feature packages (like Developer Mode) from installing.
- Open Command Prompt as Administrator
- Press Start, type cmd
- Right‑click Command Prompt ➜ Run as administrator
- Stop the Windows Update related services
net stop wuauserv net stop bits net stop cryptsvcwuauserv= Windows Update servicebits= Background Intelligent Transfer Service (used to download updates)cryptsvc= Cryptographic services (handles certificates and catalogs)
- Start the services again
net start wuauserv net start bits net start cryptsvc - Restart your PC, then try enabling Developer Mode again from Settings.
Reset Windows Update Components
If the Windows Update cache is corrupted, Developer Mode packages may fail to install. Resetting the update components can fix this.
Note: These steps are safe and commonly recommended by Microsoft support. They only reset update‑related folders.
- Open Command Prompt as Administrator (if it’s closed)
- Stop the update services (if not already stopped):
net stop wuauserv net stop bits net stop cryptsvc - Rename the SoftwareDistribution and catroot2 folders
ren C:\Windows\SoftwareDistribution SoftwareDistribution.old ren C:\Windows\System32\catroot2 catroot2.old- This forces Windows to recreate these folders and download fresh update data.
- Start the services again
net start wuauserv net start bits net start cryptsvc - Restart your PC.
- Try enabling Developer Mode again from Settings.
Disable UseWUServer Registry Policy
In many corporate or previously managed systems, Windows is configured to use a WSUS (Windows Server Update Services) server via the UseWUServer registry value. When that server is not available or misconfigured, Developer Mode packages fail to download.
Warning: Editing the registry incorrectly can cause system issues.
- Create a System Restore Point first (Control Panel ➜ System ➜ System Protection).
- If you’re on a company/organization PC, contact your IT admin before changing these settings.
- Open the Registry Editor
- Press Win + R
- Type:
regedit - Press Enter and click Yes if prompted by UAC
- Navigate to the Windows Update policy key
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU - Find and edit
UseWUServer- In the right pane, look for UseWUServer.
- If it exists:
- Double‑click UseWUServer
- Set Value data to 0
- Click OK
- Alternatively, you can delete the entire
AUkey (right‑click ➜ Delete), but only if you understand the impact or are on a non‑managed, personal PC.
- Restart the Windows Update services (Command Prompt as admin):
net stop wuauserv net stop bits net stop cryptsvc net start wuauserv net start bits net start cryptsvc - Restart your PC and try enabling Developer Mode again.
If the policy was the issue, the feature should now install correctly.
Manually Install Developer Mode Package
If automatic installation from the For developers page fails, you can manually trigger installation through Optional features.
On Windows 10
- Open Settings (press Win + I).
- Go to System ➜ Apps & features.
- Click Optional features (or Manage optional features).
- Click Add a feature.
- Look for Windows Developer Mode (or similar name).
- Select it ➜ click Install.
- Restart your PC when done.
Then, go to Settings ➜ Update & Security ➜ For developers and enable Developer Mode again.
On Windows 11
- Open Settings (Win + I).
- Go to System ➜ Optional features.
- Click View features under Add an optional feature.
- Search for Windows Developer Mode or related developer tools (names may vary by build).
- Select the package ➜ click Next ➜ Install.
- Restart your PC.
Then, go to Settings ➜ System ➜ For developers and toggle Developer Mode back on.
Repair System Files (SFC/DISM)
Corrupt system files can prevent optional features and Developer Mode from installing correctly. Use SFC and DISM to repair Windows core components.
- Open Command Prompt as Administrator
- Run System File Checker (SFC)
sfc /scannow- Wait for the scan to finish (it may take several minutes).
- If it reports that it found and fixed issues, restart your PC.
- Run DISM to repair the Windows image (especially if SFC reports unfixable errors)
DISM /Online /Cleanup-Image /RestoreHealth- Ensure you’re connected to the internet.
- This may take some time; don’t close the window.
- Restart your PC again after DISM completes.
- Try enabling Developer Mode once more.
Temporarily Disable Security Software
Some third‑party antivirus, endpoint protection, or firewalls can interfere with downloading or installing Developer Mode packages.
- Temporarily disable third‑party antivirus/firewall
- Open your security software.
- Look for options like Real‑time protection, Protection shields, or Firewall.
- Turn them off temporarily (only for testing).
- Keep Windows Defender (Microsoft Defender) running if possible for basic protection.
- With third‑party security disabled, try enabling Developer Mode from Settings again.
- Immediately re‑enable your security software once the test is complete.
If the installation works with security software disabled, add Windows Update and Developer tools to the allow/exception list of your antivirus/firewall.
Update Windows
Running an outdated Windows build can cause compatibility and feature‑installation issues.
- Open Settings ➜ Update & Security ➜ Windows Update (Windows 10), or
- Settings ➜ Windows Update (Windows 11).
- Click Check for updates.
- Install all important and cumulative updates.
- Restart your PC if prompted.
- After fully updating, try enabling Developer Mode again.
On Windows 11, also check Optional updates for developer‑related components.
Windows 11 Specific Fixes
On Windows 11, Developer Mode and related components are more tightly integrated with Windows Settings, Windows Subsystem for Linux (WSL), and optional features.
Consider these additional checks:
- Ensure “For developers” is visible and enabled
- Go to Settings ➜ System ➜ For developers.
- Make sure Developer Mode is turned on.
- Check App Installer / Developer Tools
- Go to Settings ➜ Apps ➜ Optional features ➜ View features.
- Make sure features like App Installer and any Developer components needed for your scenario are installed.
- WSL / Virtualization (if you use them)
- If your Developer Mode usage involves WSL or virtualization:
- Go to Control Panel ➜ Programs ➜ Turn Windows features on or off.
- Ensure Windows Subsystem for Linux, Virtual Machine Platform, and Hyper‑V (if needed) are enabled.
- Restart after enabling these features.
- If your Developer Mode usage involves WSL or virtualization:
- Check for organization policies
- On many Windows 11 devices joined to Azure AD / Entra ID or a company domain, Developer Mode may be blocked by policy.
- If you see messages like “Some settings are managed by your organization”, contact your IT admin.
When to Contact Microsoft / ISP / Admin
If you’ve tried all the fixes above and still get Developer Mode package failed to install (0x80004005), it may be time to escalate.
You should contact:
- Your IT Administrator (work/school devices) if:
- Your PC is domain‑joined or Entra ID/Azure AD joined.
- Settings show “Some settings are managed by your organization”.
- Group Policy and WSUS rules might be intentionally blocking Developer Mode.
- Your ISP (Internet Service Provider) if:
- Certain Microsoft domains are blocked.
- You can’t access
windowsupdate.microsoft.comor similar sites. - You’re behind a restrictive network that you don’t control.
- Microsoft Support if:
- The issue persists even on a clean boot and new local user account.
- SFC/DISM repairs issues that keep reappearing.
- You suspect a deeper OS corruption or activation/licensing issue.
Collect any error logs from Event Viewer ➜ Windows Logs ➜ Setup and System to share with support.










