I have often encountered situations where Windows could not remove installed printers. A printer may not appear in the Windows Control Panel (but it may be available in the Print dialog box in all applications), or you may get various errors when you try to remove a printer (no access, the printer port is in use, a print queue error, etc.). In this article, we’ll look at how to completely remove a printer on Windows 10 and 11.
How to Properly Remove a Printer on Windows?
First of all, there are the standard Windows printer removal methods, which you should definitely try:
- Open Settings -> Devices -> Printers and Scanners (or run a quick access URI command:
- Select a printer you want to remove and click Remove Device;
- Confirm the printer removal.
The local print spooler service is not running” when removing a printer, check the spooler service settings as follows.
You can also remove a printer from the classic Windows Control Panel:
- Run the command:
control /name Microsoft.DevicesAndPrinters
- Select a printer from the list and click Remove Device.
Note that if there are active tasks in the print queue, you won’t be able to uninstall the printer until you clear the print queue. To do it, locate the printer in the Control Panel and select Open queue. Then click Printer -> Cancel All Documents.
Try to remove the printer after you clear the print queue.
You can use the Print Management MMC snap-in to remove a printer (it helped me remove a printer that was not showing up in the Windows Control Panel several times).
- Open the console using the command:
- Navigate to Print Manager -> Print Servers -> select your computer -> Printers;
- Select your printer and click Delete in the context menu.
List installed printers:
cscript "C:\Windows\System32\Printing_Admin_Scripts\en-US\prnmngr.vbs" -l
Remove a specific printer:
cscript "C:\Windows\System32\Printing_Admin_Scripts\en-US\prnmngr.vbs" -d -p "HP LaserJet Pro MFP M130"
Or you can use the built-in PowerShell module to uninstall a printer:
Remove-Printer -Name "HP LaserJet Pro MFP M130"
Can’t Remove the Printer in Windows: How to Force Uninstall?
If for some reason a printer is not displayed in the Control Panel, or you cannot remove it due to an error, you can force it to be removed.
The first step is to clear the print queue by using the commands:
net stop spooler
del %systemroot%\system32\spool\printers\*.shd /F /S /Q
del %systemroot%\system32\spool\printers\*.spl /F /S /Q
net start spooler
Then you may delete a printer entry from the Windows registry:
- Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Printes;
- Find the registry sub-key with the name of your printer (in my example, it is
HP LaserJet Pro MFP M130fn (Copy 1);
- Delete the registry key for the printer;
- Restart your computer and make sure that the printer has disappeared from the Control Panel. If it is still displayed, but its status has changed to Not Connected, just remove it.
You may receive the following error message when removing a printer:
This operation has been cancelled due to restrictions in effect on this computer. Please contact your system administrator.
In this case, check that the Group Policy option preventing printer removal is enabled (Prevent deletion of printers). It can be found in the User Configuration –> Administrative Templates –> Control Panel –> Printers section of the Local Group Policy Editor (gpedit.msc).
If the policy is disabled or not configured, you will need to remove hidden printers and print queues using the Device Manager. This problem often occurs with shared network printers.
- Open the Device Manager (
- Enable View -> Show hidden devices;
- Expand Print queues and Printers sections and remove any printers you do not need.
Remove or Uninstall a Printer Driver on Windows
When you remove a printer from the Control Panel, its drivers remain in the Windows Drive Store. You can clean up the Drive Store by removing the unused printer drivers from your computer:
- Open the
services.mscconsole and restart the Print Spooler. You may restart the service using the PowerShell command:
Restart-Service spooler -Verbose
- Open the Print Management snap-in:
- Expand Print Manager -> Print Servers -> select your computer -> Drivers;
- All installed printer drivers are displayed in the list;
- Right-click the driver you want to uninstall and select Remove driver package;
- Confirm the removal of the driver, its inf file, and any associated files.
You can also remove unnecessary drivers from the Print Server Properties. To do this, run the
printui /s /t2 command, select the printer driver, and click Delete.