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\HumanPresence |
|---|
| Value name | ForceAllowDimWhenExternalDisplayConnected |
|---|
| Option | Value | Type | Allowed values |
|---|
| Choose one of the following actions | ForceAllowDimWhenExternalDisplayConnected | | 0 (REG_DWORD) = Defaults to user choice 1 (REG_DWORD) = Forced Checked 2 (REG_DWORD) = Forced Unchecked |
What it does (vendor explanation)
Determines whether Allow Adaptive Dimming When External Display Connected checkbox is forced checked/unchecked by the MDM policy. The user will not be able to change this setting and the checkbox in the UI will be greyed out.
Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Human Presence > Force Allow Dim When External Display Connected
PowerShell equivalent (generated from the template)
# Choose one of the following actions
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\HumanPresence' -Name 'ForceAllowDimWhenExternalDisplayConnected' -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: Sensors.admx · policy name ForceAllowDimWhenExternalDisplayConnected
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\HumanPresence |
|---|
| Value name | ForceAllowLockWhenExternalDisplayConnected |
|---|
| Option | Value | Type | Allowed values |
|---|
| Choose one of the following actions | ForceAllowLockWhenExternalDisplayConnected | | 0 (REG_DWORD) = Defaults to user choice 1 (REG_DWORD) = Forced Checked 2 (REG_DWORD) = Forced Unchecked |
What it does (vendor explanation)
Determines whether Allow Lock on Leave When External Display Connected checkbox is forced checked/unchecked by the MDM policy. The user will not be able to change this setting and the checkbox in the UI will be greyed out.
Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Human Presence > Force Allow Lock When External Display Connected
PowerShell equivalent (generated from the template)
# Choose one of the following actions
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\HumanPresence' -Name 'ForceAllowLockWhenExternalDisplayConnected' -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: Sensors.admx · policy name ForceAllowLockWhenExternalDisplayConnected
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\HumanPresence |
|---|
| Value name | ForceAllowWakeWhenExternalDisplayConnected |
|---|
| Option | Value | Type | Allowed values |
|---|
| Choose one of the following actions | ForceAllowWakeWhenExternalDisplayConnected | | 0 (REG_DWORD) = Defaults to user choice 1 (REG_DWORD) = Forced Checked 2 (REG_DWORD) = Forced Unchecked |
What it does (vendor explanation)
Determines whether Allow Wake on Approach When External Display Connected checkbox is forced checked/unchecked by the MDM policy. The user will not be able to change this setting and the checkbox in the UI will be greyed out.
Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Human Presence > Force Allow Wake When External Display Connected
PowerShell equivalent (generated from the template)
# Choose one of the following actions
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\HumanPresence' -Name 'ForceAllowWakeWhenExternalDisplayConnected' -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: Sensors.admx · policy name ForceAllowWakeWhenExternalDisplayConnected
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\HumanPresence |
|---|
| Value name | ForceDisableWakeWhenBatterySaverOn |
|---|
| Option | Value | Type | Allowed values |
|---|
| Choose one of the following actions | ForceDisableWakeWhenBatterySaverOn | | 0 (REG_DWORD) = Defaults to user choice 1 (REG_DWORD) = Forced Checked 2 (REG_DWORD) = Forced Unchecked |
What it does (vendor explanation)
Determines whether Disable Wake on Approach When Battery Saver On checkbox is forced checked/unchecked by the MDM policy. The user will not be able to change this setting and the checkbox in the UI will be greyed out.
Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Human Presence > Force Disable Wake When Battery Saver On
PowerShell equivalent (generated from the template)
# Choose one of the following actions
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\HumanPresence' -Name 'ForceDisableWakeWhenBatterySaverOn' -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: Sensors.admx · policy name ForceDisableWakeWhenBatterySaverOn
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\HumanPresence |
|---|
| Option | Value | Type | Allowed values |
|---|
| Choose one of the following actions | ForceInstantDim | | 0 (REG_DWORD) = Defaults to user choice 1 (REG_DWORD) = Forced On 2 (REG_DWORD) = Forced Off |
What it does (vendor explanation)
Determines whether Attention Based Display Dimming is forced on/off by the MDM policy. The user will not be able to change this setting and the toggle in the UI will be greyed out.
Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Human Presence > Force Instant Dim
PowerShell equivalent (generated from the template)
# Choose one of the following actions
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\HumanPresence' -Name 'ForceInstantDim' -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: Sensors.admx · policy name ForceInstantDim
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\HumanPresence |
|---|
| Value name | ForceInstantLock |
|---|
| Option | Value | Type | Allowed values |
|---|
| Choose one of the following actions | ForceInstantLock | | 0 (REG_DWORD) = Defaults to user choice 1 (REG_DWORD) = Forced On 2 (REG_DWORD) = Forced Off |
What it does (vendor explanation)
Determines whether Lock on Leave is forced on/off by the MDM policy. The user will not be able to change this setting and the toggle in the UI will be greyed out.
Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Human Presence > Force Instant Lock
PowerShell equivalent (generated from the template)
# Choose one of the following actions
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\HumanPresence' -Name 'ForceInstantLock' -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: Sensors.admx · policy name ForceInstantLock
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\HumanPresence |
|---|
| Value name | ForceInstantWake |
|---|
| Option | Value | Type | Allowed values |
|---|
| Choose one of the following actions | ForceInstantWake | | 0 (REG_DWORD) = Defaults to user choice 1 (REG_DWORD) = Forced On 2 (REG_DWORD) = Forced Off |
What it does (vendor explanation)
Determines whether Wake On Arrival is forced on/off by the MDM policy. The user will not be able to change this setting and the toggle in the UI will be greyed out.
Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Human Presence > Force Instant Wake
PowerShell equivalent (generated from the template)
# Choose one of the following actions
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\HumanPresence' -Name 'ForceInstantWake' -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: Sensors.admx · policy name ForceInstantWake
Per machine Windows 11Windows Server 2025
Supported on: At least Windows 11 Version 24H2
When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works
| Registry key | HKLM\Software\Policies\Microsoft\HumanPresence |
|---|
| Value name | ForceOnlookerDetection |
|---|
| Option | Value | Type | Allowed values |
|---|
| Choose one of the following actions | ForceOnlookerDetection | | 0 (REG_DWORD) = Defaults to user choice 1 (REG_DWORD) = Forced On 2 (REG_DWORD) = Forced Off |
What it does (vendor explanation)
Determines whether the Onlooker Detection feature is forced on/off by the MDM policy. The user will not be able to change this setting and the toggle in the UI will be greyed out.
Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Human Presence > Force Onlooker Detection
PowerShell equivalent (generated from the template)
# Choose one of the following actions
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\HumanPresence' -Name 'ForceOnlookerDetection' -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: Sensors.admx · policy name ForceOnlookerDetection
Per machine Windows 11Windows Server 2025
Supported on: At least Windows 11 Version 24H2
When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works
| Registry key | HKLM\Software\Policies\Microsoft\HumanPresence |
|---|
| Value name | ForceOnlookerDetectionAction |
|---|
| Option | Value | Type | Allowed values |
|---|
| Choose one of the following actions | ForceOnlookerDetectionAction | | 0 (REG_DWORD) = Defaults to user choice 2 (REG_DWORD) = Notify 3 (REG_DWORD) = Dim and Notify |
What it does (vendor explanation)
Determines whether the Onlooker Detection action is forced by the MDM policy. The user will not be able to change this setting and the toggle in the UI will be greyed out.
Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Human Presence > Force Onlooker Detection Action
PowerShell equivalent (generated from the template)
# Choose one of the following actions
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\HumanPresence' -Name 'ForceOnlookerDetectionAction' -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: Sensors.admx · policy name ForceOnlookerDetectionAction
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\HumanPresence |
|---|
| Option | Value | Type | Allowed values |
|---|
| Choose one of the following timeouts | ForceLockTimeout | | 0 (REG_DWORD) = Defaults to user choice 1 (REG_DWORD) = Immediate 10 (REG_DWORD) = 10 seconds 30 (REG_DWORD) = 30 seconds 120 (REG_DWORD) = 2 minutes |
What it does (vendor explanation)
Determines the timeout for Lock on Leave forced by the MDM policy. The user will be unable to change this setting and the toggle in the UI will be greyed out.
Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Human Presence > Lock Timeout
PowerShell equivalent (generated from the template)
# Choose one of the following timeouts
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\HumanPresence' -Name 'ForceLockTimeout' -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: Sensors.admx · policy name ForceLockTimeout
Per user Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016
Supported on: At least Windows Server 2008 R2 or Windows 7
When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works
| Registry key | HKCU\Software\Policies\Microsoft\Windows\LocationAndSensors |
|---|
| Value name | DisableLocation |
|---|
| Enabled writes | 1 (REG_DWORD) |
|---|
| Disabled writes | 0 (REG_DWORD) |
|---|
What it does (vendor explanation)
This policy setting turns off the location feature for this computer.
If you enable this policy setting, the location feature is turned off, and all programs on this computer are prevented from using location information from the location feature.
If you disable or do not configure this policy setting, all programs on this computer will not be prevented from using location information from the location feature.
Group Policy path: User Configuration > Administrative Templates > Windows Components > Location and Sensors > Turn off location
PowerShell equivalent (generated from the template)
New-Item -Path 'HKCU:\Software\Policies\Microsoft\Windows\LocationAndSensors' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows\LocationAndSensors' -Name 'DisableLocation' -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".
Privacy, telemetry and data collectionADMX: Sensors.admx · policy name DisableLocation_1
Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016
Supported on: At least Windows Server 2008 R2 or Windows 7
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\LocationAndSensors |
|---|
| Value name | DisableLocation |
|---|
| Enabled writes | 1 (REG_DWORD) |
|---|
| Disabled writes | 0 (REG_DWORD) |
|---|
What it does (vendor explanation)
This policy setting turns off the location feature for this computer.
If you enable this policy setting, the location feature is turned off, and all programs on this computer are prevented from using location information from the location feature.
If you disable or do not configure this policy setting, all programs on this computer will not be prevented from using location information from the location feature.
Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Location and Sensors > Turn off location
PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\LocationAndSensors' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\LocationAndSensors' -Name 'DisableLocation' -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".
Privacy, telemetry and data collectionADMX: Sensors.admx · policy name DisableLocation_2
Per user Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016
Supported on: At least Windows Server 2008 R2 or Windows 7
When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works
| Registry key | HKCU\Software\Policies\Microsoft\Windows\LocationAndSensors |
|---|
| Value name | DisableLocationScripting |
|---|
| Enabled writes | 1 (REG_DWORD) |
|---|
| Disabled writes | 0 (REG_DWORD) |
|---|
What it does (vendor explanation)
This policy setting turns off scripting for the location feature.
If you enable this policy setting, scripts for the location feature will not run.
If you disable or do not configure this policy setting, all location scripts will run.
Group Policy path: User Configuration > Administrative Templates > Windows Components > Location and Sensors > Turn off location scripting
PowerShell equivalent (generated from the template)
New-Item -Path 'HKCU:\Software\Policies\Microsoft\Windows\LocationAndSensors' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows\LocationAndSensors' -Name 'DisableLocationScripting' -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".
Privacy, telemetry and data collectionADMX: Sensors.admx · policy name DisableLocationScripting_1
Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016
Supported on: At least Windows Server 2008 R2 or Windows 7
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\LocationAndSensors |
|---|
| Value name | DisableLocationScripting |
|---|
| Enabled writes | 1 (REG_DWORD) |
|---|
| Disabled writes | 0 (REG_DWORD) |
|---|
What it does (vendor explanation)
This policy setting turns off scripting for the location feature.
If you enable this policy setting, scripts for the location feature will not run.
If you disable or do not configure this policy setting, all location scripts will run.
Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Location and Sensors > Turn off location scripting
PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\LocationAndSensors' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\LocationAndSensors' -Name 'DisableLocationScripting' -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".
Privacy, telemetry and data collectionADMX: Sensors.admx · policy name DisableLocationScripting_2
Per user Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016
Supported on: At least Windows Server 2008 R2 or Windows 7
When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works
| Registry key | HKCU\Software\Policies\Microsoft\Windows\LocationAndSensors |
|---|
| Value name | DisableSensors |
|---|
| Enabled writes | 1 (REG_DWORD) |
|---|
| Disabled writes | 0 (REG_DWORD) |
|---|
What it does (vendor explanation)
This policy setting turns off the sensor feature for this computer.
If you enable this policy setting, the sensor feature is turned off, and all programs on this computer cannot use the sensor feature.
If you disable or do not configure this policy setting, all programs on this computer can use the sensor feature.
Group Policy path: User Configuration > Administrative Templates > Windows Components > Location and Sensors > Turn off sensors
PowerShell equivalent (generated from the template)
New-Item -Path 'HKCU:\Software\Policies\Microsoft\Windows\LocationAndSensors' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows\LocationAndSensors' -Name 'DisableSensors' -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".
Privacy, telemetry and data collectionADMX: Sensors.admx · policy name DisableSensors_1
Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016
Supported on: At least Windows Server 2008 R2 or Windows 7
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\LocationAndSensors |
|---|
| Value name | DisableSensors |
|---|
| Enabled writes | 1 (REG_DWORD) |
|---|
| Disabled writes | 0 (REG_DWORD) |
|---|
What it does (vendor explanation)
This policy setting turns off the sensor feature for this computer.
If you enable this policy setting, the sensor feature is turned off, and all programs on this computer cannot use the sensor feature.
If you disable or do not configure this policy setting, all programs on this computer can use the sensor feature.
Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Location and Sensors > Turn off sensors
PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\LocationAndSensors' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\LocationAndSensors' -Name 'DisableSensors' -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".
Privacy, telemetry and data collectionADMX: Sensors.admx · policy name DisableSensors_2