Does the Device Manager show a message like “Code 21: Windows is removing this device”? Do you have difficulties installing a video, sound or network driver for your computer/laptop? Does your mobile phone, video camera, external disk or another USB device connected to a Windows system refuse to work? Are you looking for the meaning of this Device Manger error: “Code 21: Windows is removing this device”? Then read our manual.
Microsoft recommended resolution:
Relevant for such OS as: Windows 10, Windows 8.1, Windows Server 2012, Windows 8, Windows Home Server 2011, Windows 7 (Seven), Windows Small Business Server, Windows Server 2008, Windows Home Server, Windows Vista, Windows XP, Windows 2000, Windows NT.
Errors that occur in Device Manager can be accompanied with accidental deleting or damaging data. To restore it, use Hetman Partition Recovery.
You can download for free and try the program. Install it and scan a media. All the files found by the program will be restored in the way they look in the preview window.
An error may occur if a new gadget is disabled in Device Manager. To enable it, do as follows:
The error “Code 21: Windows is removing this device” can occur when a driver for your device is not available. To install the driver, follow these steps:
Note. If you can’t find the driver automatically Windows will suggest you to specify the path to the necessary device driver. In this case, you should download the latest driver version from the manufacturer’s official website.
An error can occur because of a driver installed incorrectly, so installing alternative software can fix this problem. If your device is working with a default driver, find and download a driver from the official website of your device manufacturer. To install it, do the following:
Note. Device software can be provided as an installation file (usually setup.exe). In this case, just launch the file and follow the directions of its installation wizard.
The error “Code 21: Windows is removing this device” can occur because of a driver installed incorrectly or if some of its files damaged or deleted. In this case, deleting and reinstalling software will fix the problem. To delete the driver:
If the driver is installed but your computer cannot recognize the device yet, it can be installed with the help of Add Hardware Wizard. To launch Add Hardware Wizard do the following:
Install the device following the wizard direction and clicking the Next button.
An error can occur when you try to use the device after “Safely Remove Hardware” command. In this case, disconnect the device physically and reconnect it again. Windows is supposed to show you a notice.
The error “Code 21: Windows is removing this device” can occur if the registry size limit is exceeded. The problem can result from the registry containing records of many devices that were connected to the computer earlier.
So delete the devices you are not using anymore:
If your computer lacks memory to start a device, you can free up some memory by closing several of the programs which are running at the moment. To do it, launch the Task Manager by pressing the key combination CTRL + ALT + DELETE or right-clicking on the Start menu and selecting the menu item with the same name.
Select the application which you need to close and click on End task. If this method doesn’t help, you may need to add more memory (RAM).
If installation of a device driver blocks booting of the operating system, you can boot the last known good configuration of your system. The function “Last Known Good Configuration” is a recovery method you can use to repair your computer with the last effective parameters. This function restores all data, drivers and registry settings used during the last successful start of your computer/laptop.
To start this function press F8 while the system is loading and you will see a classic boot menu. Specify the necessary boot method and this function will be launched.
For any device to work correctly under a Windows OS, it has to be first recognized by BIOS. Usually it happens automatically. If it doesn’t, BIOS should be updated. To do it, download firmware from the official website of your computer/laptop manufacturer and follow the directions on how to adjust it properly.
Note. Updating firmware may result in blocking the system completely, so do it only in case of urgent need. Make sure you have downloaded the latest firmware and it is fully compatible with your hardware. Observe all installation recommendations and create a backup copy of your important data. If you don’t feel confident of what you are going to do, trust this job to professionals.
If the solutions above do not help you, you may need to replace the device.
Is the error "Code 21: Windows is removing this device" fixed now? Leave your feedback and ask questions in your comments.