Skip to content

Commit 06d5f74

Browse files
Merge pull request #6000 from MicrosoftDocs/main
Auto Publish – main to live - 2025-11-15 05:00 UTC
2 parents 36883f7 + a7dad19 commit 06d5f74

17 files changed

Lines changed: 108 additions & 76 deletions

.openpublishing.redirection.json

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -787,12 +787,12 @@
787787
},
788788
{
789789
"source_path": "uwp/get-started/enable-your-device-for-development.md",
790-
"redirect_url": "/windows/apps/get-started/enable-your-device-for-development",
790+
"redirect_url": "/windows/advanced-settings/developer-mode",
791791
"redirect_document_id": false
792792
},
793793
{
794794
"source_path": "uwp/get-started/sign-up.md",
795-
"redirect_url": "/windows/apps/get-started/sign-up",
795+
"redirect_url": "/windows/apps/publish/partner-center/open-a-developer-account",
796796
"redirect_document_id": false
797797
},
798798
{
@@ -5857,12 +5857,12 @@
58575857
},
58585858
{
58595859
"source_path": "uwp/get-started/get-set-up.md",
5860-
"redirect_url": "/windows/apps/windows-app-sdk/set-up-your-development-environment",
5860+
"redirect_url": "/windows/uwp/get-started/winui2/getting-started",
58615861
"redirect_document_id": false
58625862
},
58635863
{
58645864
"source_path": "hub/apps/get-started/get-set-up.md",
5865-
"redirect_url": "/windows/apps/windows-app-sdk/set-up-your-development-environment",
5865+
"redirect_url": "/windows/apps/get-started/start-here",
58665866
"redirect_document_id": false
58675867
},
58685868
{
@@ -5887,7 +5887,7 @@
58875887
},
58885888
{
58895889
"source_path": "hub/apps/project-reunion/set-up-your-development-environment.md",
5890-
"redirect_url": "/windows/apps/windows-app-sdk/set-up-your-development-environment",
5890+
"redirect_url": "/windows/apps/get-started/start-here",
58915891
"redirect_document_id": false
58925892
},
58935893
{
@@ -5982,7 +5982,7 @@
59825982
},
59835983
{
59845984
"source_path": "hub/apps/windows-app-sdk/preview-experimental-install.md",
5985-
"redirect_url": "/windows/apps/windows-app-sdk/set-up-your-development-environment",
5985+
"redirect_url": "/windows/apps/get-started/start-here",
59865986
"redirect_document_id": true
59875987
},
59885988
{
@@ -9599,6 +9599,11 @@
95999599
"source_path": "hub/powertoys/dsc-configure.md",
96009600
"redirect_url": "/windows/powertoys/dsc-configure/overview",
96019601
"redirect_document_id": false
9602+
},
9603+
{
9604+
"source_path": "hub/apps/get-started/enable-your-device-for-development.md",
9605+
"redirect_url": "/windows/advanced-settings/developer-mode",
9606+
"redirect_document_id": false
96029607
}
96039608
]
96049609
}
Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
---
2+
ms.assetid: 54973C62-9669-4988-934E-9273FB0425FD
3+
title: Enable Developer Mode
4+
description: Activate Developer Mode on your PC to develop apps.
5+
keywords: Developer mode, Visual Studio, enable device
6+
ms.date: 11/12/2025
7+
ms.topic: how-to
8+
---
9+
10+
# Settings for developers
11+
12+
The **System > Advanced** page in Windows settings includes Developer Mode and additional features that you can use when Developer Mode is enabled. Developer Mode unlocks tools, settings, and features designed for building, deploying, and testing apps on Windows.
13+
14+
:::image type="content" source="images/for-developers.png" alt-text="A screenshot of Windows Advanced settings for developers, showing Developer Mode, Device Portal, and Device discovery.":::
15+
16+
> [!NOTE]
17+
> Prior to Windows 11 25H2, these settings appear on the **For developers** page in Windows settings. In Windows 11 25H2 and later, they appear in the **For developers** section of the [Advanced settings](index.md) page.
18+
19+
## Enable Developer Mode
20+
21+
If you're writing software with Visual Studio, you *will* need to enable Developer Mode on both the development PC and on any devices you'll use to test your code.
22+
23+
> [!IMPORTANT]
24+
> If you're using your computer for ordinary day-to-day activities (such as gaming, web browsing, email, or Office apps), there is no need to activate Developer Mode. If you're trying to fix an issue with your computer, check out [Windows help](/windows).
25+
26+
To enable Developer Mode, or access other settings:
27+
28+
1. Open Windows Settings.
29+
2. Search for **Advanced** or go to **System > Advanced**, then scroll to the **For developers** section.
30+
3. Toggle the Developer Mode setting, at the top of the **For developers** section.
31+
4. Read the disclaimer. Click **Yes** to accept the change.
32+
33+
:::image type="content" source="images/use-developer-features.png" alt-text="Developer Mode dialog in Visual Studio":::
34+
35+
> [!NOTE]
36+
> Enabling Developer mode requires administrator access. If your device is owned by an organization, this option may be disabled.
37+
38+
If you try to build a Windows project in Visual Studio when Developer Mode *isn't* enabled, the following dialog appears in Visual Studio:
39+
40+
:::image type="content" source="images/enable-developer-mode-dialog.jpg" alt-text="Developer Mode dialog in Visual Studio that says Developer Mode needs to be enabled, with a link to settings for developers.":::
41+
42+
If you see this dialog, select **settings for developers** to open the **System > Advanced** settings page.
43+
44+
> [!NOTE]
45+
> You can go to the **Advanced** settings page at any time to *enable* or *disable* Developer Mode.
46+
47+
## Developer Mode features
48+
49+
Developer Mode replaces the requirements for a developer license. In addition to sideloading, the Developer Mode setting enables debugging and additional deployment options. This includes starting an SSH service to allow deployment to this device. In order to stop this service, you need to disable Developer Mode.
50+
51+
When you enable Developer Mode on desktop, a package of features is installed, including:
52+
53+
- **Windows Device Portal**: Device Portal is only enabled (and firewall rules are only configured for it) when the **Enable Device Portal** option is turned on.
54+
- Installs and configures firewall rules for SSH services that allow remote installation of apps. Enabling **Device Discovery** will turn on the SSH server.
55+
56+
> [!NOTE]
57+
> _Device Portal_ and _Device discovery_ are useful when you need to develop on one machine, but deploy your app to another machine for testing. For example, if you need to deploy your app to a tablet to test a touch-optimized tablet user interface.
58+
59+
### Device Portal
60+
61+
To learn more about Device Portal, see [Windows Device Portal overview](/windows/uwp/debug-test-perf/device-portal) and [Device Portal for desktop](/windows/uwp/debug-test-perf/device-portal-desktop).
62+
63+
### Device Discovery
64+
65+
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.
66+
67+
:::image type="content" source="images/pair-device-with-device-discovery.png" alt-text="A screenshot of the Pair device dialog that displays the SSH Pin for device pairing.":::
68+
69+
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 tablet for testing, you need to enable Device Discovery on the tablet, but not on your development PC.
70+
71+
#### SSH
72+
73+
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*.
74+
75+
> [!NOTE]
76+
> This is not Microsoft's OpenSSH implementation, which you can find on [GitHub](https://github.com/PowerShell/Win32-OpenSSH).
77+
78+
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.
79+
80+
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.
81+
82+
##### Caveats for SSH usage
83+
84+
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`.
45.9 KB
Loading
27.8 KB
Loading
10.6 KB
Loading
14.2 KB
Loading

hub/apps/develop/camera/camera-quickstart-winui3.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ The code in this walkthrough is adapted from the [MediaCapture WinUI 3 sample on
2020
2121
## Prerequisites
2222

23-
- Your device must have developer mode enabled. For more information see [Enable your device for development](/windows/apps/get-started/enable-your-device-for-development).
23+
- Your device must have developer mode enabled. For more information see [Settings for developers](/windows/advanced-settings/developer-mode).
2424
- Visual Studio 2022 or later with the **WinUI application development** workload.
2525

2626
## Create a new WinUI 3 app

hub/apps/develop/feeds/implement-feed-provider-cs.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ To implement a feed provider using C++/WinRT, see [Implement a feed provider in
1717

1818
## Prerequisites
1919

20-
- Your device must have developer mode enabled. For more information see [Enable your device for development](/windows/apps/get-started/enable-your-device-for-development).
21-
- Visual Studio 2022 or later with the **Universal Windows Platform development** workload.
20+
- Your device must have developer mode enabled. For more information see [Settings for developers](/windows/advanced-settings/developer-mode).
21+
- Visual Studio 2022 or later with the **Universal Windows Platform development** workload.
2222

2323
## Create a new C# console app
2424

hub/apps/develop/feeds/implement-feed-provider-win32.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ To implement a feed provider using C++/WinRT, see [Implement a feed provider in
1717

1818
## Prerequisites
1919

20-
- Your device must have developer mode enabled. For more information see [Enable your device for development](/windows/apps/get-started/enable-your-device-for-development).
20+
- Your device must have developer mode enabled. For more information see [Settings for developers](/windows/advanced-settings/developer-mode).
2121
- Visual Studio 2022 or later with the **Universal Windows Platform development** workload. Make sure to add the component for C++ (v143) from the optional dropdown.
2222

2323
## Create a new C++/WinRT win32 console app

hub/apps/develop/widgets/implement-widget-provider-cs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ This sample code in this article is adapted from the [Windows App SDK Widgets Sa
1919

2020
## Prerequisites
2121

22-
- Your device must have developer mode enabled. For more information see [Enable your device for development](/windows/apps/get-started/enable-your-device-for-development).
22+
- Your device must have developer mode enabled. For more information see [Settings for developers](/windows/advanced-settings/developer-mode).
2323
- Visual Studio 2022 or later with the **Universal Windows Platform development** workload. Make sure to add the component for C++ (v143) from the optional dropdown.
2424

2525
## Create a new C# console app

0 commit comments

Comments
 (0)