To find your device ID on your laptop, you can use Device Manager by following these steps:
- Open Device Manager.
- Select View and then select Devices by connection.
- From the tree, right-click the device you want to check and select Properties.
- In the dialog box for the selected device, select the Details tab.
- Select the Property drop-down list and choose Hardware Ids.
- Right-click the top ID value and select Copy.
If you are looking for the device ID in the Diagnostic Data Viewer, ensure that you have enabled data viewing in the settings. You can do this by going to Start, selecting Settings > Privacy & security > Diagnostics & feedback, and turning on the Turn on the Diagnostic Data Viewer option. Once enabled, you can review the diagnostic data sent from your device, which may include the device ID you need.
If you are unable to find your old device's ID, you may also consider using the PowerShell script provided in the context:
Get-WMIObject -Class Win32_DiskDrive |
Select-Object -Property *
This script can help you retrieve information about your disk drives, including their IDs.
References: