Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016
Supported on: At least Windows 10
When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works
| Registry key | HKLM\Software\Policies\Microsoft\Windows\Connect |
|---|
| Value name | AllowProjectionToPC |
|---|
| Enabled writes | 1 (REG_DWORD) |
|---|
| Disabled writes | 0 (REG_DWORD) |
|---|
What it does (vendor explanation)
This policy setting allows you to turn off projection to a PC.
If you turn it on, your PC isn't discoverable and can't be projected to except if the user manually launches the Wireless Display app.
If you turn it off or don't configure it, your PC is discoverable and can be projected to above lock screen only. The user has an option to turn it always on or off except for manual launch, too.
Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Connect > Don't allow this PC to be projected to
PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\Connect' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Connect' -Name 'AllowProjectionToPC' -Value 1 -PropertyType DWord -Force
Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".
ADMX: WirelessDisplay.admx · policy name AllowProjectionToPC
Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016
Supported on: At least Windows 10
When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works
| Registry key | HKLM\Software\Policies\Microsoft\Windows\Connect |
|---|
| Value name | RequirePinForPairing |
|---|
| Option | Value | Type | Allowed values |
|---|
| Choose one of the following actions | RequirePinForPairing | | 0 (REG_DWORD) = Never 1 (REG_DWORD) = First Time 2 (REG_DWORD) = Always |
What it does (vendor explanation)
This policy setting allows you to require a pin for pairing.
If you set this to 'Never', a pin isn't required for pairing.
If you set this to 'First Time', the pairing ceremony for new devices will always require a PIN.
If you set this to 'Always', all pairings will require PIN.
Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Connect > Require pin for pairing
PowerShell equivalent (generated from the template)
# Choose one of the following actions
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Connect' -Name 'RequirePinForPairing' -Value 0 -PropertyType DWord -Force
Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".
ADMX: WirelessDisplay.admx · policy name RequirePinForPairing