Fix Last Device Connected to This Computer (Windows)
In this article
When Windows says "Last connected device" under a USB or Bluetooth device in Settings, it usually means the device is not currently active or the connection is stale. To fix it, unplug the device, restart your computer, then reconnect it. If that does not work, follow the steps below to clear the device cache and reinstall the driver.
What You'll Need
- Administrator access to the Windows computer
- The device you want to fix (USB drive, phone, printer, etc.)
- A USB cable or the device's original wireless adapter (if applicable)
Step-by-Step
- Unplug the device from the computer. If it is a Bluetooth device, turn it off or disconnect it from the computer's Bluetooth settings.
- Restart your computer (Start > Power > Restart). This clears temporary glitches in the USB and Bluetooth stacks.
- Reconnect the device after the computer fully boots. Plug it into a different USB port if possible. For Bluetooth, put the device in pairing mode and go to Settings > Bluetooth & devices > Add device.
- Check Device Manager: Right-click the Start button and select Device Manager. Expand "Universal Serial Bus controllers" or "Bluetooth". Look for any device with a yellow triangle or a down arrow. If you see one, right-click it and select "Uninstall device". Check the box "Delete the driver software for this device" if offered, then click Uninstall. Restart the computer again.
- Reinstall the driver automatically: After restart, Windows will usually reinstall the driver. If not, go to Device Manager, click "Action" in the menu bar, then "Scan for hardware changes".
- Clear the device cache (for USB devices): Open Command Prompt as administrator (search "cmd", right-click, Run as administrator). Type
pnputil /enum-devices /connectedand press Enter. Look for the device in the list. If it appears as "Disconnected", note the instance ID. Then typepnputil /remove-device "(without quotes) and press Enter. Restart the computer." - For Bluetooth specifically: Go to Settings > Bluetooth & devices > Devices. Find the device under "Last connected" or "Paired devices". Click the three-dot menu next to it and select "Remove device". Then put the device in pairing mode and add it again from "Add device".
- Check power management: In Device Manager, right-click the device (or the USB Root Hub) and select Properties. Go to the "Power Management" tab and uncheck "Allow the computer to turn off this device to save power". Click OK.
- Update Windows: Go to Settings > Windows Update > Check for updates. Install any pending updates and restart.
Common Mistakes
- Not unplugging the device before restarting – this can leave the connection in a half-state.
- Using the same USB port that is physically damaged or has a loose connection.
- Removing a device from Device Manager without also unplugging it – this can cause a conflict.
- Forgetting to check if the device itself needs a power cycle (e.g., a phone that needs a restart).
- Assuming the issue is with the computer when the cable or the device's own port is faulty.
Tips
- Always use a high-quality, short USB cable if you suspect cable issues.
- For Bluetooth devices, make sure they are fully charged and in pairing mode (usually a button or holding the power button).
- If the device is a printer or scanner, also check the manufacturer's support site for a dedicated driver update.
- Keep your Windows system updated – driver fixes often come through Windows Update.
- If you have multiple USB devices, try connecting the problem device to a port directly on the motherboard (back of the PC) rather than a front panel or hub.
Troubleshooting
If the steps above do not work:
- Try a different device in the same port – if that device also fails, the port or the USB controller may be faulty.
- Try the device on another computer – if it works there, the issue is with your computer's settings or hardware.
- Check the BIOS/UEFI settings – on some PCs, USB ports can be disabled in the firmware. Restart, press the key to enter setup (usually Del or F2), and look for "USB Configuration" to ensure ports are enabled.
- Run the Windows Hardware and Devices troubleshooter: Go to Settings > System > Troubleshoot > Other troubleshooters, then select "Hardware and Devices" and run it.
- Check the system event log: Open Event Viewer (search "event viewer"), go to Windows Logs > System, and look for errors related to USB or the device's name around the time of connection. This can give a specific error code.
- If the device is a phone or camera, make sure it is set to "File Transfer" or "MTP" mode, not "Charge only".
- As a last resort, reset the Windows device cache: This involves deleting a registry key. Back up your registry first. Open Registry Editor (regedit), navigate to
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\USBSTOR, and delete the "Start" value (or set it to 3). Restart. This forces Windows to re-enumerate all USB devices.
Frequently Asked Questions
Why does Windows say "Last connected" instead of showing the device as active?
It means the device was recognized previously but is not currently communicating. This can happen if the device is unplugged, turned off, or the driver is not loading.
Will removing the device from Device Manager delete my files on it?
No, uninstalling the driver does not delete any data on the device. It only removes the software that lets Windows talk to it.
Can I fix this without restarting my computer?
Sometimes you can just unplug and replug the device, or run the troubleshooter. But a restart is the most reliable way to clear a stale connection.
Why does my USB device work on a friend's computer but not mine?
This usually points to a driver issue on your computer, or a power management setting that is disabling the port. Follow the steps above, especially the power management and driver reinstall steps.
Is there a way to prevent this from happening?
Keep your Windows updated, avoid using cheap USB hubs, and always eject devices safely before unplugging. For Bluetooth, remove unused paired devices regularly.
Does this fix work for printers and scanners?
Yes, the same steps apply. For printers, also check that the printer is set as the default and that the print spooler service is running (search "services.msc", find "Print Spooler", and ensure it is started).