Questions tagged [device-instance-id]

Use this tag for questions about Microsoft Device Instance IDs. Example of a Device Instance ID is `PCI\VEN_1000&DEV_0001&SUBSYS_00000000&REV_02\1&08`. It is a device identification string supplied by the Plug and Play Manager.

A device instance ID is a Windows system-supplied device identification string that uniquely identifies a device in an operating system. The Plug and Play (PnP) manager assigns a device instance ID to each device node (devnode) in the system's device tree. A device instance ID is persistent across system restarts.

An example of a Device Instance ID is:

PCI\VEN_1000&DEV_0001&SUBSYS_00000000&REV_02\1&08

Homepage: Microsoft Device Instance ID page on Microsoft.com
Device Instance IDs are part of the broader Device Identification Strings

22 questions
1
vote
2 answers

How to know if the device instance id is unique?

I am developing a C# windows application using .NET Framework v3.5. Every USB device should have a unique instance id that distinguishes a it from other devices of the same type on a computer. In case that the device InstanceID is not unique, the…
user844541
  • 2,868
  • 5
  • 32
  • 60
0
votes
1 answer

Using in MFC - Error CR_ACCESS_DENIED

I am a really newbie programmer, and currently using . I noticed several function I called keep on return CR_ACCESS_DENIED error back to me. I am unable to find the solution else where so I decided to came here. Here is my code (sorry if…
CharonEXE
  • 13
  • 3
0
votes
0 answers

How to prevent installation of USB drives which matches a specific VID or ParentID?

I know It can be done using Local Group Policy Editor in windows, but through code how to invoke it, I have not found any suggestions. I noticed when I am changing a policy in the Local Group Policy Editor, in Registry Editor it is reflecting in…
0
votes
0 answers

SystemManagement - Find a Device instance Path

The code I tried to convert from a C# code to VB.Net code is attached. I was able to add the headers to a ListView. I couldn't get the DeviceID and Caption values. There is a loop inside the code. Since I converted the code from C# code to VB.Net…
0
votes
2 answers

Should I use ANDROID_ID as device identification considering no factory reset?

I am developing an Android app where a single user can use the app only in one device by using the same Gmail account(for sign-in) . If the user wants to sign in the app on a different device, he won't be able to do it using the same Gmail account.…
-1
votes
1 answer

How to read device information in Android 10?

I am trying to read device Information like Build.SERIAL and DeviceId with TelephonyManager. In Android 9 and below I was able to access all this information without any Issue. I am receiving following exception when I try to read Device info in…
-1
votes
1 answer

Embed the Google assistant in a Windows computer - device instance ID not generated while running the sample code

I am trying to get Google Assistant installed on a Windows computer, following the instructions from Set Up Hardware and Network Access (Google Assistant SDK). I have been able to complete all but the last step. I am at the point of running the…
1
2