Turn off location scripting

Policy ID
DisableLocationScripting_2
Scope
Computer Configuration
Supported on
At least Windows Server 2008 R2 or Windows 7
Source
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (version 1.0)
Category
Windows Components › Location and Sensors

Description


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.

Registry

ComputerHKEY_LOCAL_MACHINE
  • DisableLocationScriptingREG_DWORD

Other policies in the same category

View all policies in this category (3)