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.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for