Windows Device Manager Code 31: Trace the Driver Windows Tried to Add

Device Manager errors. Record the failed instance. Check for a fresh event

Code 31 indicates that Windows could not add the device successfully. The useful clue is which device instance failed and what changed immediately beforehand.

Record the failed instance

Open General and Events in the device’s properties. Record the exact problem text, time, hardware ID, and most recent driver version. Check whether the first failure followed a device or software update.

Choose the next step

Use the PC or hardware maker’s supported package for that precise instance. If the device worked before a confirmed driver change, consider the supported earlier package or Roll Back Driver when available.

Check for a fresh event

Restart, test the affected function, and check for a fresh event. If the same error returns, provide the installation log section for that attempt when seeking support.

See the Microsoft reference for technical details. For related Windows PC troubleshooting, identify the affected device or browse the Windows Drivers library.