Device Manager Code 21 While Windows Removes a Device

Device Manager errors. Allow removal to finish. Check the new live entry

Code 21 can appear during removal. Starting another install immediately can leave you comparing stale entries from two different operations.

Allow removal to finish

Finish or close any device installer already running and allow the removal operation to complete. Refresh Device Manager. For a removable peripheral, keep track of whether it is physically connected.

Choose the next step

If removal remains pending, save work and restart the PC. Once Windows has settled, reconnect the peripheral directly and watch for a new live entry. Avoid repeatedly removing sibling devices from the list.

Check the new live entry

Read the current General tab and test the reconnected peripheral. If Code 21 persists across a restart, record the device instance and timestamp for the manufacturer.

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