> For the complete documentation index, see [llms.txt](https://docs.sevenpens.com/drawtab/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sevenpens.com/drawtab/troubleshoot/diag-windows-pnputil.md).

# DIAG: Get Windows PnPUtil device and driver info

Open a Terminal as Administrator.

Run the following commands:

```
pnputil /enum-drivers > %USERPROFILE%/Documents/drivers.txt
pnputil /enum-devices /connected /drivers > %USERPROFILE%/Documents/devices.txt
explorer "%USERPROFILE%/Documents"
```

These commands will create two files in your Documents folder:

* drivers.txt
* devices.txt

And then it will open a file explorer window to your Documents folder.
