Partager via


GUID

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 GUID setting is used with the setting: GUIDClassification to specify a globally unique identifier (GUID) of a class or type of sensor.

The lists of sensor categories and types are available at the MSDN site: Sensor Categories, Types, and Data Fields.

Values

GUID

Specifies the GUID of a class or type of sensor.

Valid Configuration Passes

oobeSystem

Parent Hierarchy

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

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 all motion sensors are enabled, except for speedometers. In this example:

  • The GUID: {CD09DAF1-3B2E-4C3D-B598-B5E5FF93FD46} and the GUID classification: Category map to the sensor category: motion sensors.

  • The GUID: {6BD73C1F-0BB4-4310-81B2-DFC18A52BF94} and the GUID classification: Type map to the sensor type: speedometers.

<SensorPermissions>
  <Sensor wcm:action="add">
    <Order>1</Order>
    <GUID>{CD09DAF1-3B2E-4C3D-B598-B5E5FF93FD46}</GUID>
    <GUIDClassification>Category</GUIDClassification>
    <Enable>true</Enable>
  </Sensor>
  <Sensor wcm:action="add">
    <Order>2</Order>
    <GUID>{6BD73C1F-0BB4-4310-81B2-DFC18A52BF94}</GUID>
    <GUIDClassification>Type</GUIDClassification>
    <Enable>false</Enable>
  </Sensor>
</SensorPermissions>

See Also

Concepts

GUIDClassification
Sensor