Local diagnostics

Preview a DxDiag text report or copy a read-only PowerShell command for problem-device IDs.

Read a DxDiag text report

On the target PC, open dxdiag and choose Save All Information. Select the English .txt report below. The file stays in this tab’s memory and is discarded when you clear the preview or leave.

Read problem-device IDs in PowerShell

Copy the command, open Windows PowerShell on the target PC, and run it manually. It reads present devices and prints IDs for devices with a reported PnP problem. The network status summary describes Device Manager state; an OK adapter can still have connection problems.

The command works locally and prints no instance paths. Copy only the PCI/USB lines into Hardware ID Lookup. If the PnP commands or properties are unavailable, use Device Manager → Properties → Details → Hardware Ids.

Review PowerShell command
& {
  $ids = [System.Collections.Generic.HashSet[string]]::new()
  $problemCounts = @{}
  $networkOk = 0
  $networkProblem = 0
  $networkUnknown = 0
  foreach ($device in Get-PnpDevice -PresentOnly -ErrorAction Stop) {
    if ($device.Class -eq 'Net') {
      switch ($device.Status) {
        'OK' { $networkOk++ }
        'Error' { $networkProblem++ }
        'Degraded' { $networkProblem++ }
        default { $networkUnknown++ }
      }
    }
    $problem = Get-PnpDeviceProperty -InstanceId $device.InstanceId -KeyName 'DEVPKEY_Device_ProblemCode' -ErrorAction SilentlyContinue
    if ($null -eq $problem.Data -or [int]$problem.Data -eq 0) { continue }
    $code = [int]$problem.Data
    $problemCounts[$code] = 1 + $problemCounts[$code]
    $property = Get-PnpDeviceProperty -InstanceId $device.InstanceId -KeyName 'DEVPKEY_Device_HardwareIds' -ErrorAction SilentlyContinue
    foreach ($id in $property.Data) {
      if ($ids.Count -ge 32) { break }
      if ($id -match '^(?:PCI\\VEN_[0-9A-F]{4}&DEV_[0-9A-F]{4}(?:&SUBSYS_[0-9A-F]{8})?(?:&REV_[0-9A-F]{2})?(?:&CC_[0-9A-F]{4}(?:[0-9A-F]{2})?)?|USB\\VID_[0-9A-F]{4}&PID_[0-9A-F]{4}(?:&REV_[0-9A-F]{4})?(?:&MI_[0-9A-F]{2})?)$') {
        [void]$ids.Add($id.ToUpperInvariant())
      }
    }
  }
  Write-Host "Present Net-class devices: OK $networkOk | reported problem $networkProblem | unknown $networkUnknown"
  foreach ($code in ($problemCounts.Keys | Sort-Object)) {
    Write-Host "PnP problem code $($code): $($problemCounts[$code]) device(s)"
  }
  $ids | Sort-Object
}

Get-PnpDeviceProperty · DEVPKEY_Device_HardwareIds