How to Fix Code 28 Errors

A troubleshooting guide for Code 28 errors in Device Manager

Device error Code 28 on Windows 10 desktop

The Code 28 error is one of several Device Manager error codes. It's caused by a missing driver for that particular piece of hardware.

There is any number of reasons that a driver might not be installed for a device but your troubleshooting of the problem will be the same no matter the root cause.

Code 28 errors will almost always display exactly like this:

The drivers for this device are not installed. (Code 28)

Details on Device Manager error codes like Code 28 are available in the Device Status area in the device's properties and will look pretty much like the image you see on this page.

Device Manager error codes are exclusive to Device Manager. If you see the Code 28 error elsewhere in Windows, chances are it's a system error code that you should not troubleshoot as a Device Manager problem.

The Code 28 error could apply to any hardware device in Device Manager but most Code 28 errors seem to affect USB devices and sound cards.

Any of Microsoft's operating systems could experience a Code 28 Device Manager error, including Windows 10Windows 8Windows 7Windows VistaWindows XP, and more.

How to Fix a Code 28 Error

Restart menu in Windows 10
  1. Restart your computer if you haven't done so already.
    1. There is always the slim chance that the Code 28 error you're seeing in Device Manager was caused by a fluke with Device Manager or in your BIOS. If that's the case, a reboot might fix the Code 28.
  2. Did you install a device or make a change in Device Manager just before you noticed the Code 28? If so, it's very possible that the change you made caused the Code 28 error.
    1. Undo the change, restart your PC, and then check again for the Code 28 error
    2. Depending on the changes you made, some solutions might include removing or re-configuring the newly installed device
  3. Rolling back the driver to the version prior to your update
  4. Using System Restore to undo recent Device Manager changes
System Restore button for Windows 10
  1. Update the drivers for the device. Installing the latest manufacturer supplied drivers for a device with the Code 28 error is the most likely solution to the problem.
    1. Make sure you install the drivers for the correct operating system. For example, if you're using Windows 10 64-bit, install the drivers designed for that specific version of Windows. Many Code 28 errors are caused by attempting to install the wrong drivers for a device. One way to be sure you're getting the right driver is to use a free driver updater tool.
    2. If the drivers won't update, try disabling your antivirus software during the update process. Sometimes these programs misinterpret your driver updating as malicious and block it.
  2. Install the latest Windows service pack. Microsoft regularly releases service packs and other patches for their operating systems, one of which may contain a fix for the cause of the Code 28 error.
    1. We know for sure that certain service packs for Windows Vista and Windows 2000 have contained specific fixes for some instances of the Code 28 error in Device Manager.
  1. Replace the hardware. As a last resort, you may need to replace the hardware that has the Code 28 error.
    1. It's also possible that the device is not compatible with this version of Windows. You can check the Windows HCL to be sure.

If you still think there is still a software/operating system component to this Code 28 error, you could try a repair install of Windows. If that doesn't work, try a clean install of Windows. We don't recommend doing either of those more drastic options before you try replacing the hardware, but you may have to if you're out of other options.