Turn off location scripting
Supported on: At least Windows Server 2008 R2 or Windows 7
Registry
HKCU
Software\Policies\Microsoft\Windows\LocationAndSensors Value name: DisableLocationScripting
Enabled: DisableLocationScripting = 1
Disabled: DisableLocationScripting = 0
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.