Skip to content
PCFixWorkbench

Shutdown & USB · Windows 11

Fix a PC that takes minutes on 'Shutting down' only when a USB drive is attached

Written December 3, 2026

Without the USB drive, your PC shuts down in seconds. With it plugged in, 'Shutting down' sits for minutes. The drive is part of the shutdown whether you use it or not — writes to finish, an app holding it, or the drive itself slow to respond. Clear those, and shutdown is fast either way.

What you need

Read the problem before you touch it

  1. Understand what shutdown waits for. Before the power goes off, Windows closes every open file and finishes every pending write on every attached drive. A large copy you thought had finished, a backup or sync program working on the drive, or a drive that answers slowly can stretch that closing work from seconds to minutes — but only while that drive is attached, which is exactly your pattern. Microsoft's eject guidance in Safely remove hardware in Windows exists for the same reason: a drive is finished only when Windows says it is.
  2. Time both cases once. Shut down once with the drive attached and once without, timing the 'Shutting down' screen. A consistent difference confirms the drive is the variable, and gives you a number to beat as you work through the steps.

The simple fixes, in order

  1. Eject the drive before shutting down, for one test. Click the Safely Remove Hardware icon in the system tray, eject the drive, wait for the safe-to-remove message, unplug it, then shut down. If shutdown is fast, the stall is unfinished drive work — the steps below find whose work it is.
  2. Close the apps that use the drive before shutdown. Backup, sync, photo, and media-library apps often keep a drive busy in the background. Quit them from the system tray before shutting down for one test. If shutdown speeds up, set that app not to run its jobs near shutdown, or let it finish before you power off.
  3. Let copies truly finish. After a big copy to the drive, wait a minute before shutting down even when the progress bar is gone — Windows can still be flushing data to a slow drive. The eject message is the reliable signal that the drive is idle.

The advanced route

  1. Check the drive for errors. Connect the drive, open File Explorer, right-click the drive, and use Properties > Tools > Error checking to scan it. A drive with file-system errors can make every close-out slow while Windows works around the damage; let the check repair what it finds, then retest shutdown.
  2. Update the USB and storage drivers. In Device Manager, update the USB controllers and the drive's driver, or install the current chipset drivers from the PC maker's support page. Microsoft's driver route is in Update drivers through Device Manager in Windows. A controller that handles device removal badly stalls exactly at shutdown, when every device is being closed.
  3. Test a clean boot with the drive attached. If shutdown still stalls with nothing visibly using the drive, start Windows with third-party services off using How to perform a clean boot in Windows, attach the drive, and shut down. A fast clean-boot shutdown names a background service as the drive's keeper; re-enable services in groups to find it.

End state

When it goes wrong

Related fixes

Sources