Look in Device Manager for the flagged devices (error code 39 probably).
Go to Start > Run > type regedit then browse to the following registry key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class
Use the ↓ key to browse through the subfolders looking for the devices that don't work.
When you find one look for the value Upper Limit. Write down the value and delete it. Find the same device in Device Manager and disable then re-enable it.
If this works, repeat with all devices not responding.