Share via


Enable

Applies To: Windows 7, Windows 8

Important

This setting has been deprecated in Windows® 8.1. The information about this deprecated setting is provided for reference only.

The Enable setting specifies whether the category or type of sensor is enabled.

Values

true

The category or type of sensor is enabled.

false

The category or type of sensor is disabled.

This is the default state.

Valid Configuration Passes

oobeSystem

Parent Hierarchy

Microsoft-Windows-MobilePC-Sensors-API | SensorPermissions | Sensor | Enable

Applies To

For a list of the supported Windows® editions and architectures that this component supports, see Microsoft-Windows-MobilePC-Sensors-API.

XML Example

The following example XML output shows how to specify that speedometers are enabled.

In this example, the GUID: {6BD73C1F-0BB4-4310-81B2-DFC18A52BF94} and the GUID classification: Type maps to the sensor type: speedometers.

<Sensor wcm:action="add">
  <Order>2</Order>
  <GUID>{6BD73C1F-0BB4-4310-81B2-DFC18A52BF94}</GUID>
  <GUIDClassification>Type</GUIDClassification>
  <Enable>true</Enable>
</Sensor>

See Also

Concepts

Sensor