Turn off location scripting
- Policy ID
- DisableLocationScripting_1
- Scope
- User 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
UserHKEY_CURRENT_USER
- DisableLocationScriptingREG_DWORD