Published by


Brink's Avatar
Administrator

Posts: 33,212

Show Printable Version 


How to Turn On or Off Developer Mode in Windows 10


There is a different approach for development for Windows 10 devices. A developer license is no longer required for each device that you want to use to develop, install or test your app. You just enable a device once for these tasks from the settings for the device. That's it. No more renewing your developer licenses every 30 or 90 days!

For Windows 10, you choose what tasks you want to enable on the device. This includes any devices: Windows 10 desktops, tablets and phones. You can enable a device for development, or just sideloading.

All Universal Windows Apps are signed to help keep your device secure. To install an app package on a device to test it, you need to trust the package. For that trust to exist, the certificate that is used to sign the app must be installed on the device. (If the certificate has already been installed, then only the package needs to be added to the device.) The settings that you choose will change the level of security of your device.

Setting Description
Windows Store apps Only install apps from the Windows Store.
Sideload apps Sideloading is installing and then running or testing an app that has not been certified by the Windows store. For example, an app that is internal to your company only. You can install an .appx and any certificate that is needed to run the app with the PowerShell script that is created with the package. Or you can use manual steps to install the certificate and package separately. If you sideload apps, you should still only install apps from trusted sources. When you install a sideloaded app that has not been certified by the Windows store, you are agreeing that you have obtained all rights necessary to sideload these apps and that you are solely responsible for any harm that results from installing and running these apps.
Developer mode You can debug your apps on this PC if you choose developer mode. It replaces the Windows 8.1 requirement for a developer license. You can also sideload any apps if you choose developer mode, even ones that you have not developed on the device. You just have to install the .appx with its certificate for sideloading.

For more details, see:

This tutorial will show you how to select which developer features to use on your Windows 10 PC.

You must be signed in as an administrator to be able to change developer features.

Enable your device for development - UWP app developer | Microsoft Docs

In Windows 10 build 17672, the Developer mode feature is broken along with Features on Demand. If you try to add any optional feature or activate Developer mode in Settings, the process takes forever. The functionality is broken and will be fixed with the next Insider Preview release.

To fix Developer Mode in Windows 10 Build 17672, do the following:
  1. Open an elevated command prompt.
  2. Copy and paste the dism /online /Add-Capability /CapabilityName:Tools.DeveloperMode.Core~~~~0.0.1.0 command into the elevated command prompt, and press Enter.
  3. The developer mode feature is now enabled. You may need to restart the computer to apply.



 CONTENTS:

  • Option One: To Change Developer Features for Apps in Settings
  • Option Two: To Change Developer Features for Apps using a REG file





Turn On or Off Developer Mode in Windows 10 OPTION ONE Turn On or Off Developer Mode in Windows 10
To Change Developer Features for Apps in Settings

1. Open Settings, and click/tap on the Update & security icon.

2. Click/tap on For developers on the left side, and select (dot) the Windows Store apps, Sideload apps, or Developer mode feature you want to use. (see screenshot below)

Name:  Developer_Mode-1.jpg
Views: 4855
Size:  67.8 KB

3. If you selected Sideload apps or Developer mode, then click/tap on Yes to confirm. (see screenshots below)

Click image for larger version. 

Name:	Developer_mode_confirmation.png 
Views:	307 
Size:	21.8 KB 
ID:	48485
Click image for larger version. 

Name:	sideloading_confirm.png 
Views:	231 
Size:	19.4 KB 
ID:	48486

4. When finished, you can close Settings if you like.






Turn On or Off Developer Mode in Windows 10 OPTION TWO Turn On or Off Developer Mode in Windows 10
To Change Developer Features for Apps using a REG file


The downloadable .reg files below will add and change the DWORDs in the registry key below.

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\AppModelUnlock

AllowDevelopmentWithoutDevLicense DWORD

AllowAllTrustedApps DWORD

0 for both DWORDs = Windows Store apps
0 for "AllowDevelopmentWithoutDevLicense" and 1 for "AllowAllTrustedApps" = Sideload apps
1 for both DWORDs = Developer mode


1. Do step 2 (Windows Store apps), step 3 (Sideload apps), or step 4 (Developer mode) below for what you would like to do.


 2. To Use Windows Store apps

This is the default setting.

A) Click/tap on the Download button below to download the file below, and go to step 5 below.

Use_Windows_Store_app_developer_feature.reg

download


 3. To Use Sideload apps

A) Click/tap on the Download button below to download the file below, and go to step 5 below.

Use_Sideload_apps_developer_feature.reg

download


 4. To Use Developer Mode

A) Click/tap on the Download button below to download the file below, and go to step 5 below.

Use_Developer_Mode_developer_feature.reg

download

5. Save the .reg file to your desktop.

6. Double click/tap on the downloaded .reg file to merge it.

7. When prompted, click/tap on Run, Yes (UAC), Yes, and OK to approve the merge.

8. If you like, you can delete the downloaded .reg file if you like.


That's it,
Shawn