Share via


LaunchDeviceStageOnDeviceConnect element

Important

Device metadata is deprecated and will be removed in a future release of Windows. For information about the replacement for this functionality, see Driver Package Container Metadata.

The LaunchDeviceStageOnDeviceConnect element specifies whether the operating system displays a Device Stage user interface when the device transitions from a disconnected state to a connected state, such as when the user plugs in the device.

Usage

<LaunchDeviceStageOnDeviceConnect>
  text
</LaunchDeviceStageOnDeviceConnect>

Attributes

There are no attributes.

Text value

Must be false (0) or true (1).

Child elements

There are no child elements.

Parent elements

Element Description
WindowsInfo The WindowsInfo element is the parent element of the WindowsInfo XML schema.

XSD

<xs:element name="LaunchDeviceStageOnDeviceConnect" type="xs:boolean" default="false" minOccurs="0" />

Remarks

If the value of the LaunchDeviceStageOnDeviceConnect element is set to true (1), the operating system displays the Device Stage user interface when the device transitions from a disconnected to a connected state.

Important

This element can only be used for eligible devices that comply with the Device Stage participation and implementation requirements. Otherwise, Windows ignores this element in the device metadata package.

More information about the Device Stage user interface, along with the Device Stage participation and implementation requirements, can be found in the Microsoft Device Experience Development Kit.

This element is optional.

See also