On a personal Windows 11 Pro PC, Developer Mode being greyed out and installers being blocked usually indicates either:
- The current account is not an administrator, or
- The device is managed by policy (for example, OEM/MDM/group policy) that restricts Developer Mode and app installation.
To address the Developer Mode issue:
- Confirm administrator rights
- Sign in with a local account that is a member of the Administrators group.
- Enabling Developer Mode requires local administrator privileges; if the account is not an admin, the toggle will appear disabled.
- Check if the device is managed by an organization
- If the PC was preconfigured by an OEM or joined to a work/school tenant, policies may disable Developer Mode or other Advanced settings.
- In such cases, the organization’s IT/MDM admin must change the policy. For example, they can enable the CSP policy
ApplicationManagement/AllowDeveloperUnlockfor the device or a developer device group so Developer Mode can be turned on.
- Use policy/registry to enable Developer Mode (if allowed)
If access to Settings is restricted but there is admin access to local policy/registry, Developer Mode can be enabled via: Group Policy (not available on Home editions):
- Run
gpedit.msc. - Go to Local Computer Policy → Computer Configuration → Administrative Templates → Windows Components → App Package Deployment.
- Enable:
- Allow all trusted apps to install (sideloading), and
- Allows development of UWP apps and installation from an Integrated Development Environment (IDE) (Developer Mode).
- Reboot the machine.
- Run
regedit. - To enable sideloading, set this
DWORDto1:-
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\AppModelUnlock\AllowAllTrustedApps
-
- To enable Developer Mode, set this
DWORDto1:-
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\AppModelUnlock\AllowDevelopmentWithoutDevLicense
-
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\AppModelUnlock" /t REG_DWORD /f /v "AllowAllTrustedApps" /d "1" reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\AppModelUnlock" /t REG_DWORD /f /v "AllowDevelopmentWithoutDevLicense" /d "1" - Run
- Use the Advanced settings page correctly
- On Windows 11, Developer Mode is under System > Advanced in Settings, in the For developers section.
- Once the above policies/registry keys are set and the account has admin rights, the Developer Mode toggle should be available and not greyed out.
- If Developer Mode package fails to install
If Developer Mode is enabled but the underlying package fails to install (which can also block some developer features):
- Ensure the PC is connected to the internet.
- Check for Windows Updates under Settings → Updates and Security → Windows Updates and install all pending updates, then restart.
- Verify that the Windows Developer Mode package is present under Settings → System → Optional features → Add a feature (or the Apps → Apps & features path on older Windows 10 builds). If it is missing, Windows cannot find the correct package.
- After updates, disable and then re-enable Developer Mode to force a retry of the package installation.
If the OEM or an MDM solution has locked down the device, only the device owner/IT admin can relax those policies; local changes will not override them.
References: