Rules for modifying device properties

Many device properties have complex dependencies on other properties or device state. For example, the values of DEVPKEY_Device_Class and DEVPKEY_Device_ClassGuid must be consistent with one another.

Direct modification of reserved properties could invalidate device installation state. For example, if the DEVPKEY_Device_DeviceDesc is changed, system functionality (such as backup, driver rollback, and Windows Update) could break.

The following properties are read-only and can never be set with CM_Set_DevNode_Property or SetupDiSetDeviceProperty:

The following properties are writable. However, they are reserved for use by the operating system and must not be set directly:

Note

Class installers and co-installers must not change device properties except for the friendly name (DEVPKEY_Device_FriendlyName). For more information, see Accessing Device Instance Properties.