windows-itpro-docs/windows/client-management/mdm/policy-csp-admx-sensors.md
2022-08-10 18:08:08 -04:00

6.8 KiB

title, description, ms.author, ms.localizationpriority, ms.topic, ms.prod, ms.technology, author, ms.date, ms.reviewer, manager
title description ms.author ms.localizationpriority ms.topic ms.prod ms.technology author ms.date ms.reviewer manager
Policy CSP - ADMX_Sensors Learn about Policy CSP - ADMX_Sensors. vinpa medium article w10 windows vinaypamnani-msft 10/22/2020 aaroncz

Policy CSP - ADMX_Sensors

Tip

These are ADMX-backed policies and require a special SyncML format to enable or disable. For details, see Understanding ADMX-backed policies.

You must specify the data type in the SyncML as <Format>chr</Format>. For an example SyncML, refer to Enabling a policy.

The payload of the SyncML must be XML-encoded; for this XML encoding, there are a variety of online encoders that you can use. To avoid encoding the payload, you can use CDATA if your MDM supports it. For more information, see CDATA Sections.


ADMX_Sensors policies

ADMX_Sensors/DisableLocationScripting_1
ADMX_Sensors/DisableLocationScripting_2
ADMX_Sensors/DisableLocation_1
ADMX_Sensors/DisableSensors_1
ADMX_Sensors/DisableSensors_2

ADMX_Sensors/DisableLocationScripting_1

Edition Windows 10 Windows 11
Home No No
Pro Yes Yes
Windows SE No Yes
Business Yes Yes
Enterprise Yes Yes
Education Yes Yes

Scope:

[!div class = "checklist"]

  • User

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.

ADMX Info:

  • GP Friendly name: Turn off location scripting
  • GP name: DisableLocationScripting_1
  • GP path: Windows Components\Location and Sensors
  • GP ADMX file name: Sensors.admx

ADMX_Sensors/DisableLocationScripting_2

Edition Windows 10 Windows 11
Home No No
Pro Yes Yes
Windows SE No Yes
Business Yes Yes
Enterprise Yes Yes
Education Yes Yes

Scope:

[!div class = "checklist"]

  • Device

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 don't configure this policy setting, all location scripts will run.

ADMX Info:

  • GP Friendly name: Turn off location scripting
  • GP name: DisableLocationScripting_2
  • GP path: Windows Components\Location and Sensors
  • GP ADMX file name: Sensors.admx

ADMX_Sensors/DisableLocation_1

Edition Windows 10 Windows 11
Home No No
Pro Yes Yes
Windows SE No Yes
Business Yes Yes
Enterprise Yes Yes
Education Yes Yes

Scope:

[!div class = "checklist"]

  • User

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.

ADMX Info:

  • GP Friendly name: Turn off location
  • GP name: DisableLocation_1
  • GP path: Windows Components\Location and Sensors
  • GP ADMX file name: Sensors.admx

ADMX_Sensors/DisableSensors_1

Edition Windows 10 Windows 11
Home No No
Pro Yes Yes
Windows SE No Yes
Business Yes Yes
Enterprise Yes Yes
Education Yes Yes

Scope:

[!div class = "checklist"]

  • User

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.

ADMX Info:

  • GP Friendly name: Turn off sensors
  • GP name: DisableSensors_1
  • GP path: Windows Components\Location and Sensors
  • GP ADMX file name: Sensors.admx

ADMX_Sensors/DisableSensors_2

Edition Windows 10 Windows 11
Home No No
Pro Yes Yes
Windows SE No Yes
Business Yes Yes
Enterprise Yes Yes
Education Yes Yes

Scope:

[!div class = "checklist"]

  • Device

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.

ADMX Info:

  • GP Friendly name: Turn off sensors
  • GP name: DisableSensors_2
  • GP path: Windows Components\Location and Sensors
  • GP ADMX file name: Sensors.admx

ADMX-backed policies in Policy CSP