Registry data refreshed from vendors: Last vendor change detected: 5 Dec 2026Next refresh: 1st of the monthApp v1.4.0 (5 Dec 2026): Cleanup or tattoo: see what stays behind after a GPO is removed. Release notes
Windows (ADMX) · Sensors.admx

Sensors.admx: 16 policies

Generated from Microsoft Windows Server 2025 Datacenter build 26100 in-box templates + Windows 11 ADMX package (download id 108394) on 2026-12-05. Titles, explanations and "Supported on" text are Microsoft's own, from the en-US ADML file.

Force Allow Dim When External Display Connected

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 keyHKLM\Software\Policies\Microsoft\HumanPresence
Value nameForceAllowDimWhenExternalDisplayConnected
OptionValueTypeAllowed values
Choose one of the following actionsForceAllowDimWhenExternalDisplayConnected0 (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

Force Allow Lock When External Display Connected

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 keyHKLM\Software\Policies\Microsoft\HumanPresence
Value nameForceAllowLockWhenExternalDisplayConnected
OptionValueTypeAllowed values
Choose one of the following actionsForceAllowLockWhenExternalDisplayConnected0 (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

Force Allow Wake When External Display Connected

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 keyHKLM\Software\Policies\Microsoft\HumanPresence
Value nameForceAllowWakeWhenExternalDisplayConnected
OptionValueTypeAllowed values
Choose one of the following actionsForceAllowWakeWhenExternalDisplayConnected0 (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

Force Disable Wake When Battery Saver On

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 keyHKLM\Software\Policies\Microsoft\HumanPresence
Value nameForceDisableWakeWhenBatterySaverOn
OptionValueTypeAllowed values
Choose one of the following actionsForceDisableWakeWhenBatterySaverOn0 (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

Force Instant Dim

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 keyHKLM\Software\Policies\Microsoft\HumanPresence
OptionValueTypeAllowed values
Choose one of the following actionsForceInstantDim0 (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

Force Instant Lock

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 keyHKLM\Software\Policies\Microsoft\HumanPresence
Value nameForceInstantLock
OptionValueTypeAllowed values
Choose one of the following actionsForceInstantLock0 (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

Force Instant Wake

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 keyHKLM\Software\Policies\Microsoft\HumanPresence
Value nameForceInstantWake
OptionValueTypeAllowed values
Choose one of the following actionsForceInstantWake0 (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

Force Onlooker Detection

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 keyHKLM\Software\Policies\Microsoft\HumanPresence
Value nameForceOnlookerDetection
OptionValueTypeAllowed values
Choose one of the following actionsForceOnlookerDetection0 (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

Force Onlooker Detection Action

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 keyHKLM\Software\Policies\Microsoft\HumanPresence
Value nameForceOnlookerDetectionAction
OptionValueTypeAllowed values
Choose one of the following actionsForceOnlookerDetectionAction0 (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

Lock Timeout

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 keyHKLM\Software\Policies\Microsoft\HumanPresence
OptionValueTypeAllowed values
Choose one of the following timeoutsForceLockTimeout0 (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

Turn off location

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 keyHKCU\Software\Policies\Microsoft\Windows\LocationAndSensors
Value nameDisableLocation
Enabled writes1 (REG_DWORD)
Disabled writes0 (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

Turn off location

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 keyHKLM\Software\Policies\Microsoft\Windows\LocationAndSensors
Value nameDisableLocation
Enabled writes1 (REG_DWORD)
Disabled writes0 (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

Turn off location scripting

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 keyHKCU\Software\Policies\Microsoft\Windows\LocationAndSensors
Value nameDisableLocationScripting
Enabled writes1 (REG_DWORD)
Disabled writes0 (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

Turn off location scripting

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 keyHKLM\Software\Policies\Microsoft\Windows\LocationAndSensors
Value nameDisableLocationScripting
Enabled writes1 (REG_DWORD)
Disabled writes0 (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

Turn off sensors

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 keyHKCU\Software\Policies\Microsoft\Windows\LocationAndSensors
Value nameDisableSensors
Enabled writes1 (REG_DWORD)
Disabled writes0 (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

Turn off sensors

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 keyHKLM\Software\Policies\Microsoft\Windows\LocationAndSensors
Value nameDisableSensors
Enabled writes1 (REG_DWORD)
Disabled writes0 (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