get device list failed in windows 10 1709 16299.1146

Open
#1 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
csharp, powershell

Research direction

Reproduce the issue by running the PowerShell Get-Device entry point on Windows 10 version 1709 and inspect where SetupDiGetDeviceProperty is called. Compare the devices listed before the Win32Exception with the failing device property lookup. Done means Get-Device completes without the reported error while preserving the device list.

Written by the indexing model from the issue text.

Description


Name                                                     Enabled Class                  InstanceId                   
----                                                     ------- -----                  ----------                   
Send To OneNote 2013                                     True    4294967295             SWD\PRINTENUM\{B5188BED-7D...
Motherboard resources                                    True    GUID_DEVCLASS_SYSTEM   ACPI\PNP0C02\0               
Microsoft AC Adapter                                     True    GUID_DEVCLASS_BATTERY  ACPI\ACPI0003\0              
USB Root Hub                                             True    GUID_DEVCLASS_USB      USB\ROOT_HUB20\4&221FC7CD&0  
Intel(R) 8 Series USB Enhanced Host Controller #1 - 9C26 True    GUID_DEVCLASS_USB      PCI\VEN_8086&DEV_9C26&SUBS...
Microsoft ACPI-Compliant Embedded Controller             True    GUID_DEVCLASS_SYSTEM   ACPI\PNP0C09\0               
Direct memory access controller                          True    GUID_DEVCLASS_SYSTEM   ACPI\PNP0200\4&2BAB320D&0    
HID-compliant vendor-defined device                      True    GUID_DEVCLASS_HIDCLASS HID\VID_04F3&PID_0139&COL0...
USB Input Device                                         True    GUID_DEVCLASS_HIDCLASS USB\VID_04F3&PID_0139\6&22...
Microsoft ACPI-Compliant Control Method Battery          True    GUID_DEVCLASS_BATTERY  ACPI\PNP0C0A\0               
Microsoft ACPI-Compliant Control Method Battery          True    GUID_DEVCLASS_BATTERY  ACPI\PNP0C0A\1               
Intel(R) Dual Band Wireless-AC 7260                      True    GUID_DEVCLASS_NET      PCI\VEN_8086&DEV_08B2&SUBS...
Root Print Queue                                         True    4294967295             SWD\PRINTENUM\PRINTQUEUES    
Generic PnP Monitor                                      True    GUID_DEVCLASS_MONITOR  DISPLAY\LEN40E2\4&12B41AD7...
Volume Manager                                           True    GUID_DEVCLASS_SYSTEM   ROOT\VOLMGR\0000             
Intel(R) 8 Series PCI Express Root Port #6 - 9C1A        True    GUID_DEVCLASS_SYSTEM   PCI\VEN_8086&DEV_9C1A&SUBS...
WAN Miniport (PPPOE)                                     True    GUID_DEVCLASS_NET      SWD\MSRRAS\MS_PPPOEMINIPORT  
USB Input Device                                         True    GUID_DEVCLASS_HIDCLASS USB\VID_03F0&PID_154A\6&19...
Microsoft Hyper-V Virtual Machine Bus Provider           True    GUID_DEVCLASS_SYSTEM   ROOT\VMBUS\0000              
PCI Express Root Complex                                 True    GUID_DEVCLASS_SYSTEM   ACPI\PNP0A08\2&DABA3FF&6     
Microphone Array (Realtek High Definition Audio)         True    4294967295             SWD\MMDEVAPI\{0.0.1.000000...
Microsoft Basic Display Driver                           True    GUID_DEVCLASS_SYSTEM   ROOT\BASICDISPLAY\0000       
ACPI Thermal Zone                                        True    GUID_DEVCLASS_SYSTEM   ACPI\THERMALZONE\THM0        
ACPI Sleep Button                                        True    GUID_DEVCLASS_SYSTEM   ACPI\PNP0C0E\2&DABA3FF&6     
Intel(R) HD Graphics Family                              True    GUID_DEVCLASS_DISPLAY  PCI\VEN_8086&DEV_0A16&SUBS...
System board                                             True    GUID_DEVCLASS_SYSTEM   ACPI\PNP0C01\2&DABA3FF&6     
Hyper-V Virtual Switch Extension Adapter                 True    GUID_DEVCLASS_NET      ROOT\VMS_VSMP\0000           
Get-Device : Error calling SetupDiGetDeviceProperty
At line:1 char:1
+ Get-Device
+ ~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Get-Device], Win32Exception
    + FullyQualifiedErrorId : System.ComponentModel.Win32Exception,DeviceManagementModule.GetDeviceCmdlet
 



PS C:\Users\test\Downloads\Software\PowerShell>
Dominant language
C#
Stars
30
Forks
11
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.