LocationPaths Registry Subkey

Beginning with Windows 7, the LocationPaths registry subkey is used in the specification of a removable device capability override for a device identified through either the HardwareID or CompatibleID registry subkey. The LocationPaths registry subkey specifies that only the location path of the device's parent device node (devnode) will have the removable device capability override applied. For more information about removable device capability overrides, see DeviceOverrides Registry Key.

The LocationPaths registry subkey applies to only the parent devnode of the device specified through the name of the HardwareID or CompatibleID subkeys. As a result, only the parent devnode of the specified device is affected by the removable device capability override value. Child devnodes of the specified device are not affected by the removable device capability override, unless a ChildLocationPaths registry subkey is also specified.

The following table defines the format and requirements of the LocationPaths registry subkey.

Registry subkey name Required/optional Format requirements Parent subkey Child subkeys

LocationPaths

Optional

None

HardwareID or CompatibleID

LocationPath or *

Either the LocationPaths or ChildLocationPaths registry subkeys must be present to indicate the parent/child relationship to which the removable device capability override applies.