--- title: ADMX_Sensors Policy CSP description: Learn more about the ADMX_Sensors Area in Policy CSP. ms.date: 08/06/2024 --- # Policy CSP - ADMX_Sensors [!INCLUDE [ADMX-backed CSP tip](includes/mdm-admx-csp-note.md)] ## DisableLocation_1 | Scope | Editions | Applicable OS | |:--|:--|:--| | ❌ Device
✅ User | ✅ Pro
✅ Enterprise
✅ Education
✅ Windows SE
✅ IoT Enterprise / IoT Enterprise LTSC | ✅ Windows 10, version 2004 with [KB5005101](https://support.microsoft.com/help/5005101) [10.0.19041.1202] and later
✅ Windows 10, version 20H2 with [KB5005101](https://support.microsoft.com/help/5005101) [10.0.19042.1202] and later
✅ Windows 10, version 21H1 with [KB5005101](https://support.microsoft.com/help/5005101) [10.0.19043.1202] and later
✅ Windows 11, version 21H2 [10.0.22000] and later | ```User ./User/Vendor/MSFT/Policy/Config/ADMX_Sensors/DisableLocation_1 ``` 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 don't configure this policy setting, all programs on this computer won't be prevented from using location information from the location feature. **Description framework properties**: | Property name | Property value | |:--|:--| | Format | `chr` (string) | | Access Type | Add, Delete, Get, Replace | [!INCLUDE [ADMX-backed policy note](includes/mdm-admx-policy-note.md)] **ADMX mapping**: | Name | Value | |:--|:--| | Name | DisableLocation_1 | | Friendly Name | Turn off location | | Location | User Configuration | | Path | Windows Components > Location and Sensors | | Registry Key Name | Software\Policies\Microsoft\Windows\LocationAndSensors | | Registry Value Name | DisableLocation | | ADMX File Name | Sensors.admx | ## DisableLocationScripting_1 | Scope | Editions | Applicable OS | |:--|:--|:--| | ❌ Device
✅ User | ✅ Pro
✅ Enterprise
✅ Education
✅ Windows SE
✅ IoT Enterprise / IoT Enterprise LTSC | ✅ Windows 10, version 2004 with [KB5005101](https://support.microsoft.com/help/5005101) [10.0.19041.1202] and later
✅ Windows 10, version 20H2 with [KB5005101](https://support.microsoft.com/help/5005101) [10.0.19042.1202] and later
✅ Windows 10, version 21H1 with [KB5005101](https://support.microsoft.com/help/5005101) [10.0.19043.1202] and later
✅ Windows 11, version 21H2 [10.0.22000] and later | ```User ./User/Vendor/MSFT/Policy/Config/ADMX_Sensors/DisableLocationScripting_1 ``` This policy setting turns off scripting for the location feature. - If you enable this policy setting, scripts for the location feature won't run. - If you disable or don't configure this policy setting, all location scripts will run. **Description framework properties**: | Property name | Property value | |:--|:--| | Format | `chr` (string) | | Access Type | Add, Delete, Get, Replace | [!INCLUDE [ADMX-backed policy note](includes/mdm-admx-policy-note.md)] **ADMX mapping**: | Name | Value | |:--|:--| | Name | DisableLocationScripting_1 | | Friendly Name | Turn off location scripting | | Location | User Configuration | | Path | Windows Components > Location and Sensors | | Registry Key Name | Software\Policies\Microsoft\Windows\LocationAndSensors | | Registry Value Name | DisableLocationScripting | | ADMX File Name | Sensors.admx | ## DisableLocationScripting_2 | Scope | Editions | Applicable OS | |:--|:--|:--| | ✅ Device
❌ User | ✅ Pro
✅ Enterprise
✅ Education
✅ Windows SE
✅ IoT Enterprise / IoT Enterprise LTSC | ✅ Windows 10, version 2004 with [KB5005101](https://support.microsoft.com/help/5005101) [10.0.19041.1202] and later
✅ Windows 10, version 20H2 with [KB5005101](https://support.microsoft.com/help/5005101) [10.0.19042.1202] and later
✅ Windows 10, version 21H1 with [KB5005101](https://support.microsoft.com/help/5005101) [10.0.19043.1202] and later
✅ Windows 11, version 21H2 [10.0.22000] and later | ```Device ./Device/Vendor/MSFT/Policy/Config/ADMX_Sensors/DisableLocationScripting_2 ``` This policy setting turns off scripting for the location feature. - If you enable this policy setting, scripts for the location feature won't run. - If you disable or don't configure this policy setting, all location scripts will run. **Description framework properties**: | Property name | Property value | |:--|:--| | Format | `chr` (string) | | Access Type | Add, Delete, Get, Replace | [!INCLUDE [ADMX-backed policy note](includes/mdm-admx-policy-note.md)] **ADMX mapping**: | Name | Value | |:--|:--| | Name | DisableLocationScripting_2 | | Friendly Name | Turn off location scripting | | Location | Computer Configuration | | Path | Windows Components > Location and Sensors | | Registry Key Name | Software\Policies\Microsoft\Windows\LocationAndSensors | | Registry Value Name | DisableLocationScripting | | ADMX File Name | Sensors.admx | ## DisableSensors_1 | Scope | Editions | Applicable OS | |:--|:--|:--| | ❌ Device
✅ User | ✅ Pro
✅ Enterprise
✅ Education
✅ Windows SE
✅ IoT Enterprise / IoT Enterprise LTSC | ✅ Windows 10, version 2004 with [KB5005101](https://support.microsoft.com/help/5005101) [10.0.19041.1202] and later
✅ Windows 10, version 20H2 with [KB5005101](https://support.microsoft.com/help/5005101) [10.0.19042.1202] and later
✅ Windows 10, version 21H1 with [KB5005101](https://support.microsoft.com/help/5005101) [10.0.19043.1202] and later
✅ Windows 11, version 21H2 [10.0.22000] and later | ```User ./User/Vendor/MSFT/Policy/Config/ADMX_Sensors/DisableSensors_1 ``` 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 can't use the sensor feature. - If you disable or don't configure this policy setting, all programs on this computer can use the sensor feature. **Description framework properties**: | Property name | Property value | |:--|:--| | Format | `chr` (string) | | Access Type | Add, Delete, Get, Replace | [!INCLUDE [ADMX-backed policy note](includes/mdm-admx-policy-note.md)] **ADMX mapping**: | Name | Value | |:--|:--| | Name | DisableSensors_1 | | Friendly Name | Turn off sensors | | Location | User Configuration | | Path | Windows Components > Location and Sensors | | Registry Key Name | Software\Policies\Microsoft\Windows\LocationAndSensors | | Registry Value Name | DisableSensors | | ADMX File Name | Sensors.admx | ## DisableSensors_2 | Scope | Editions | Applicable OS | |:--|:--|:--| | ✅ Device
❌ User | ✅ Pro
✅ Enterprise
✅ Education
✅ Windows SE
✅ IoT Enterprise / IoT Enterprise LTSC | ✅ Windows 10, version 2004 with [KB5005101](https://support.microsoft.com/help/5005101) [10.0.19041.1202] and later
✅ Windows 10, version 20H2 with [KB5005101](https://support.microsoft.com/help/5005101) [10.0.19042.1202] and later
✅ Windows 10, version 21H1 with [KB5005101](https://support.microsoft.com/help/5005101) [10.0.19043.1202] and later
✅ Windows 11, version 21H2 [10.0.22000] and later | ```Device ./Device/Vendor/MSFT/Policy/Config/ADMX_Sensors/DisableSensors_2 ``` 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 can't use the sensor feature. - If you disable or don't configure this policy setting, all programs on this computer can use the sensor feature. **Description framework properties**: | Property name | Property value | |:--|:--| | Format | `chr` (string) | | Access Type | Add, Delete, Get, Replace | [!INCLUDE [ADMX-backed policy note](includes/mdm-admx-policy-note.md)] **ADMX mapping**: | Name | Value | |:--|:--| | Name | DisableSensors_2 | | Friendly Name | Turn off sensors | | Location | Computer Configuration | | Path | Windows Components > Location and Sensors | | Registry Key Name | Software\Policies\Microsoft\Windows\LocationAndSensors | | Registry Value Name | DisableSensors | | ADMX File Name | Sensors.admx | ## Related articles [Policy configuration service provider](policy-configuration-service-provider.md)