Developer Mode features and debugging - Windows apps (2023)

  • Article
  • 9 minutes to read

If you're only interested in the basics of installing Developer Mode on your app, follow the instructions outlined in enable your device for development to get started. This article covers advanced features of Developer Mode, Developer Mode in previous versions of Windows 10, and debugging failures related to Developer Mode installations.

Additional Developer Mode features

For each device family, additional developer features may be available. These features are only available when Developer Mode is enabled on the device (and may vary depending on the version of your OS).

This image shows developer features for Windows:

Developer Mode features and debugging - Windows apps (1)

Device Portal

To learn more about Device Portal, see Windows Device Portal overview.

For device-specific setup instructions, see:

  • Device Portal for desktop
  • Device Portal for HoloLens
  • Device Portal for IoT
  • Device Portal for Mobile
  • Device Portal for Xbox

If you encounter problems enabling Developer Mode or Device Portal, see the Known Issues forum to find workarounds for these issues, or visit Failure to install the Developer Mode package to learn which WSUS KBs to allow in order to unblock the Developer Mode package.

Sideload apps


As of the latest Windows 10 update, this setting won't be visible (as sideloading is enabled by default). If you're on a previous version of Windows 10, your default settings will only permit you to run apps from the Microsoft Store and you'll need to enable Sideloading to install apps from sources other than Microsoft.

The Sideload apps setting is typically used by companies or schools that need to install custom apps on managed devices without going through the Microsoft Store (or anyone else who needs to run apps from sources other than Microsoft). In this case, it's common for an organization to enforce a policy that disables the UWP apps setting. The organization also provides the required certificate and install location to sideload apps. For more info, see the Microsoft Learn articles Sideload Windows apps and Microsoft Intune fundamentals.

Device family specific info:

  • On the desktop device family: You can install an app package (.appx) and any certificate(s) needed to run the app by running the Windows PowerShell script that's created with the package (Add-AppDevPackage.ps1). For more info, see Package a desktop or UWP app in Visual Studio.
  • On the mobile device family: If the required certificate is already installed, you can tap the file to install any .appx sent to you by email (or on an SD card).

Sideload apps is a more secure option than Developer Mode because you can't install apps on the device without a trusted certificate.

(Video) ✔️ Windows 10, Turn on Developer Mode, Install Apps from Any Source, Device Portal, Device Discovery


If you sideload apps, you should still only install apps from trusted sources. When you install a sideloaded app that hasn't been certified by the Microsoft Store, you're agreeing that you've obtained all the rights necessary to sideload the app, and you're solely responsible for any harm that may result from installing and running the app. See the Windows → Microsoft Store section of this privacy statement.


SSH services are enabled when you enable Device Discovery on your device. This is used when your device is a remote deployment target for MSIX packaged applications. The names of the services are SSH Server Broker and SSH Server Proxy.


This is not Microsoft's OpenSSH implementation, which you can find on GitHub.

In order to take advantage of the SSH services, you can enable Device Discovery to allow pin pairing. If you intend to run another SSH service, you can set this up on a different port or turn off the Developer Mode SSH services. To turn off the SSH services, turn off Device Discovery.

SSH login is done via the DevToolsUser account, which accepts a password for authentication. This password is the PIN displayed on the device after pressing the Device Discovery Pair button, and it's only valid while the PIN is displayed. A SFTP subsystem is also enabled for manual management of the DevelopmentFiles folder where loose file deployments are installed from Visual Studio.

Caveats for SSH usage

The existing SSH server used in Windows is not yet protocol compliant. Using an SFTP or SSH client may require special configuration. In particular, the SFTP subsystem runs at version 3 or less, so any connecting client should be configured to expect an old server. The SSH server on older devices uses ssh-dss for public key authentication (which OpenSSH has deprecated). To connect to such devices, the SSH client must be manually configured to accept ssh-dss.

Device Discovery

When you enable Device Discovery, you're allowing your device to be visible to other devices on the network through mDNS. This feature also allows you to get the SSH PIN for pairing to the device by pressing the Pair button exposed immediately after Device Discovery is enabled. This PIN prompt must be displayed on the screen in order to complete your first Visual Studio deployment targeting the device.

Developer Mode features and debugging - Windows apps (2)

You should enable Device Discovery only if you intend to make the device a deployment target. For example, if you use Device Portal to deploy an app to a phone for testing, you need to enable Device Discovery on the phone, but not on your development PC.

Optimizations for Windows Explorer, Remote Desktop, and PowerShell (desktop only)

On the desktop device family, the For developers settings page has shortcuts to settings you can use to optimize your PC for development tasks. For each setting, you can select the checkbox and click Apply (or click the Show settings link to open the settings page for that option).

Developer Mode features and debugging - Windows apps (3)

(Video) 15 Hidden Secrets in the Developer Options!


In early versions of Windows 10 Mobile, a Crash Dumps option was present in the Developer Settings menu. This has been moved to Device Portal so that it can be used remotely rather than exclusively on USB.

There are several tools you can use to deploy an app from a Windows 10 PC to a Windows 10 device. Both devices must be connected to the same subnet of the network (by a wired or wireless connection) or they must be connected by USB. Both of these options only install the app package (.appx or .appxbundle). They don't install certificates.

  • Use the Windows Application Deployment (WinAppDeployCmd) tool. Learn more about the WinAppDeployCmd tool.
  • You can use Device Portal to deploy from your browser to a mobile device running Windows 10, Version 1511 or later. Use the Apps page in Device Portal to upload an app package (.appx) and install it on the device.

Failure to install Developer Mode package

Sometimes, due to network or administrative issues, Developer Mode won't install correctly. The Developer Mode package is required for remote deployment to this PC (using Device Portal from a browser or Device Discovery to enable SSH), but not for local development. Even if you encounter these issues, you can still deploy your app locally using Visual Studio (or from this device to another device).

See the Known Issues forum to find workarounds for these issues (and others).


If Developer Mode doesn't install correctly, we encourage you to file a feedback request.

  1. Install the Feedback Hub app (if you don't already have it) and open it.
  2. Click Add new feedback.
  3. Choose the Developer Platform category and the Developer Mode subcategory.
  4. Fill out the fields (you may optionally attach a screenshot) and click Submit.

Submitting feedback will help Microsoft resolve the issue you encountered.

Failed to locate the package

Developer Mode package couldn’t be located in Windows Update. Error Code 0x80004005. Learn more.

This error may occur due to a network connectivity problem, Enterprise settings, or the package may be missing.

To fix this issue:

  1. Ensure that your computer is connected to the internet.

  2. If you're on a domain-joined computer, speak to your network administrator. The Developer Mode package (like all Features on Demand) is blocked by default in WSUS 2.1. In order to unblock the Developer Mode package in the current and previous releases, the following KBs should be allowed in WSUS:

    • 4016509
    • 3180030
    • 3197985
  3. Check for Windows updates in Settings → Updates and Security → Windows Updates.

  4. Verify that the Windows Developer Mode package is present in Settings → System → Apps & Features → Manage optional features → Add a feature. If it's missing, Windows can't find the correct package for your computer.

    (Video) New debugger features in Visual Studio 2022

  5. After performing the above steps, disable and then re-enable Developer Mode to verify the fix.

Failed to install the package

Developer Mode package failed to install. Error code 0x80004005. Learn more.

This error may occur due to incompatibilities between your build of Windows and the Developer Mode package.

To fix this issue:

  1. Check for Windows updates in the Settings → Updates and Security → Windows Updates.
  2. Restart your computer to ensure all updates are applied.

Use group policies or registry keys to enable a device

For most developers, you'll want to use the settings app to enable your device for debugging. In certain scenarios (such as automated tests) you can use other ways to enable your Windows desktop device for development.


These steps will not enable the SSH server or allow the device to be targeted for remote deployment and debugging.

You can use gpedit.msc to set the group policies to enable your device, unless you have Windows 10 Home or Windows 11 Home. If you do, you'll need to use regedit or PowerShell commands to set the registry keys directly to enable your device.

Use gpedit to enable your device

  1. Run gpedit.msc.

  2. Go to Local Computer Policy → Computer Configuration → Administrative Templates → Windows Components → App Package Deployment.

  3. Edit the following policies to enable sideloading:

    • Allow all trusted apps to install.


    Edit the following policies to enable both sideloading and Developer Mode:

    • Allow all trusted apps to install.
    • Allows development of UWP apps and installation from an Integrated Development Environment (IDE).
    • Reboot your machine.

Use regedit to enable your device

  1. Run regedit.

    (Video) How To Enable DEVELOPER MODE on iOS 16 and Sideload Applications (AltStore, etc.)

  2. To enable sideloading, set the value of this DWORD to 1:



    To enable developer mode, set the values of this DWORD to 1:


Use PowerShell to enable your device

  1. Run PowerShell with administrator privileges.

  2. To enable sideloading, run this command:

    PS C:\WINDOWS\system32> reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\AppModelUnlock" /t REG_DWORD /f /v "AllowAllTrustedApps" /d "1"


    To enable developer mode, run this command:

    PS C:\WINDOWS\system32> reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\AppModelUnlock" /t REG_DWORD /f /v "AllowDevelopmentWithoutDevLicense" /d "1"

Upgrade your device from Windows 8.1 to Windows 10 or 11

When you create or sideload apps on your Windows 8.1 device, you have to install a developer license. If you upgrade your device from Windows 8.1 to Windows 10 or 11, this information remains. Run the following command to remove this information from your upgraded Windows device.


This step is not required if you upgrade directly from Windows 8.1 to Windows 10, Version 1511 or later.

To unregister a developer license

  1. Run PowerShell with administrator privileges.

  2. Run this command:

    (Video) Every Android Setting in the Developer Options Explained!


After you unregister your license, you'll need to enable your device for development (as described in this topic) so that you can continue to develop on this device. If you don't, you may get an error when you debug your app (or if you try to create a package for it). Here's an example of this error:

Error : DEP0700 : Registration of the app failed.


1. Play Nintendo GameCube and Wii Games on your iPad/iPhone | Ultimate Altstore Installation Guide 2023
(Twin Cherry Studio)
2. Developer Mode NOT Showing on iPhone SOLVED! [iOS 16]
(Saunders Tech)
3. 8 Advanced Developer Options Hidden Features You Should Enable NOW!
(Mr Android FHD)
4. How to Disable Windows Developer Mode Features in Windows 10
5. [UPDATED] Microsoft Is (no longer) disabling Dev Mode Access on Xbox... | MVG
(Modern Vintage Gamer)
6. USB Debugging on Android Explained & How To Enable It
(Online Tech Tips)
Top Articles
Latest Posts
Article information

Author: Reed Wilderman

Last Updated: 10/20/2022

Views: 6112

Rating: 4.1 / 5 (72 voted)

Reviews: 95% of readers found this page helpful

Author information

Name: Reed Wilderman

Birthday: 1992-06-14

Address: 998 Estell Village, Lake Oscarberg, SD 48713-6877

Phone: +21813267449721

Job: Technology Engineer

Hobby: Swimming, Do it yourself, Beekeeping, Lapidary, Cosplaying, Hiking, Graffiti

Introduction: My name is Reed Wilderman, I am a faithful, bright, lucky, adventurous, lively, rich, vast person who loves writing and wants to share my knowledge and understanding with you.