Software⏱️ 3 min read📅 2026-06-19

How to Fix Error 31 Error – Attempting to start "Windows Driver Foundation" service gives "Error 31: A device attached to the system is not functioning."

Windows Driver Foundation service error not functioning.

Quick Answer: Try stopping and restarting the Windows Driver Foundation service, or use the System File Checker (SFC) tool to scan for corrupted system files.

The 'Error 31: A device attached to the system is not functioning' error message can be frustrating when it prevents you from starting the Windows Driver Foundation service. This issue typically affects laptops running on Windows operating systems, and it's essential to troubleshoot it thoroughly to resolve the problem.

Finding a solution for this error requires patience and persistence. Since all devices in the Device Manager are working fine, we'll focus on other potential causes and methods to help you identify and fix the issue.

🛑 Root Causes of the Error

  • The Windows Driver Foundation service relies on various drivers to function correctly. If any of these drivers are outdated, corrupted, or incompatible with your system, it can cause this error. Additionally, conflicts between different drivers or system components can also lead to this issue.
  • Another possible reason for this error is a hardware issue with the laptop's device manager. Although all devices appear to be working correctly in the Device Manager, there might be an underlying problem that prevents the Windows Driver Foundation service from functioning properly.

🚀 How to Resolve This Issue

Disable and Re-enable Devices

  1. Step 1: Press the Windows key + X and select Device Manager. In the Device Manager window, find the 'Universal Serial Bus Controllers' section.
  2. Step 2: Right-click on each device in this section and select 'Disable device'. Wait for 10 seconds and then enable them again. Repeat this process for all devices in this section.
  3. Step 3: After disabling and re-enabling all devices, restart your laptop and try to start the Windows Driver Foundation service again.

Update Drivers

  1. Step 1: Open the Device Manager and find the 'Universal Serial Bus Controllers' section. Right-click on each device in this section and select 'Properties'.
  2. Step 2: In the Properties window, click on the 'Driver' tab and then click on 'Update Driver'. Select 'Search automatically for updated driver software' and follow the prompts to update the drivers.
  3. Step 3: Repeat this process for all devices in the Device Manager. After updating all drivers, restart your laptop and try to start the Windows Driver Foundation service again.

💡 Conclusion

If you've tried both methods and still encounter the 'Error 31: A device attached to the system is not functioning' error message, it's possible that there's a more serious hardware issue with your laptop. In this case, consider seeking professional assistance from a qualified IT technician or contact the manufacturer's support for further guidance.

Did this fix your problem?

If not, try searching for specific error codes.

🔍 Search Error Database

❓ Frequently Asked Questions