Home  >  Article  >  System Tutorial  >  What should I do if I cannot delete the printer port in Win11?

What should I do if I cannot delete the printer port in Win11?

PHPz
PHPzforward
2024-03-16 10:37:15832browse

php editor Zimo today will introduce to you a common problem encountered in Win11 system-the printer port cannot be deleted. When using a printer, sometimes the printer port cannot be deleted, which causes trouble to users. Next, we will introduce in detail the solution to the problem that the printer port cannot be deleted in Win11 system, allowing you to easily solve this problem.

Win11 cannot delete the printer port problem analysis

What should I do if I cannot delete the printer port in Win11?

Method one: by setting

These are all four that I will explain below The simplest of these methods.

Press WinKey I to launch the Settings application.

Select Bluetooth and Devices and jump to the right.

Find and click the "Printers and Scanners" section.

The added printer list will be displayed on subsequent pages.

Click on the printer you no longer need on Windows 11 and click the Remove button.

If any prompt appears asking if you want to continue with this setup, click Yes.

The printer driver will be uninstalled automatically.

Next restart your PC for the changes to take effect the next time you log in.

Method 2: Remove Printer Driver via Print Management

Print Management is another useful tool that can be used to remove any printer driver on your computer.

Press Win S to launch the search window.

Enter "Print Management" in the search bar and double-click the top result.

Expand Custom Filters and click All Drivers.

The printer driver list will be displayed on the center page.

Right-click the driver you want to remove and click –Remove Driver Package.

If you want to continue to delete the driver, a prompt may appear, click Yes.

The selected driver will be uninstalled immediately afterwards. If you want to remove any other printers, re-perform the above steps and remove them.

Method 3: Uninstall the printer driver through the command prompt

You can also uninstall the printer driver by running some code in the command prompt.

Start the command prompt as administrator.

When the User Account Control window appears, click Yes.

On an elevated console, type the following and press Enter –

wmic printer get name

After that, type the following command again and press Enter again –

printui.exe /dl /n "YOUR-PRINTER-NAME"

Note: In the command line above, make sure to replace YOUR-PRINTER-NAME with the actual name of your printer.

The selected printer will be deleted soon. Don’t forget to restart your computer after this.

Method Four: Use PowerShell Commands

If you prefer PowerShell instead of running code in the command prompt, do the following.

Press Win X and select – Windows PowerShell (Admin).

If a UAC prompt appears on the display screen, click the "Yes" button.

When the blue console opens, type the following cmdlet and press Enter. Get-Printer | Format-List Name

Now that you know all the print drivers on your device, run this code –Remove-Printer -Name “YOUR-PRINTER-NAME”

Replace "Your-Printer-Name" with your actual print driver name and press Enter.

Restart your device to delete any leftover or leftover files.

The above is the detailed content of What should I do if I cannot delete the printer port in Win11?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:xpwin7.com. If there is any infringement, please contact admin@php.cn delete