windows-itpro-docs/windows/client-management/mdm/policy-csp-admx-sensors.md
nimishasatapathy e6d89cd2c4 Updated
2021-08-12 23:46:17 +05:30

12 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 Policy CSP - ADMX_Sensors dansimp medium article w10 windows manikadhiman 10/22/2020 dansimp

Policy CSP - ADMX_Sensors

Warning

Some information relates to prereleased products, which may be substantially modified before it's commercially released. Microsoft makes no warranties, expressed or implied, concerning the information provided here.


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

Windows Edition Supported?
Home cross mark
Pro cross mark
Business cross mark
Enterprise check mark
Education cross mark

Scope:

[!div class = "checklist"]

  • User

Available in the latest Windows 10 Insider Preview Build. 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.

Tip

This is an ADMX-backed policy and requires 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 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

Windows Edition Supported?
Home cross mark
Pro cross mark
Business cross mark
Enterprise check mark
Education cross mark

Scope:

[!div class = "checklist"]

  • Device

Available in the latest Windows 10 Insider Preview Build. 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.

Tip

This is an ADMX-backed policy and requires 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 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

Windows Edition Supported?
Home cross mark
Pro cross mark
Business cross mark
Enterprise check mark
Education cross mark

Scope:

[!div class = "checklist"]

  • User

Available in the latest Windows 10 Insider Preview Build. 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 do not configure this policy setting, all programs on this computer will not be prevented from using location information from the location feature.

Tip

This is an ADMX-backed policy and requires 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 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

Windows Edition Supported?
Home cross mark
Pro cross mark
Business cross mark
Enterprise check mark
Education cross mark

Scope:

[!div class = "checklist"]

  • User

Available in the latest Windows 10 Insider Preview Build. 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 cannot use the sensor feature.

If you disable or do not configure this policy setting, all programs on this computer can use the sensor feature.

Tip

This is an ADMX-backed policy and requires 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 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

Windows Edition Supported?
Home cross mark
Pro cross mark
Business cross mark
Enterprise check mark
Education cross mark

Scope:

[!div class = "checklist"]

  • Device

Available in the latest Windows 10 Insider Preview Build. 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 cannot use the sensor feature.

If you disable or do not configure this policy setting, all programs on this computer can use the sensor feature.

Tip

This is an ADMX-backed policy and requires 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 Info:

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

Note

These policies are currently only available as part of a Windows Insider release.