Windows OS Hub
  • Windows Server
    • Windows Server 2016
    • Windows Server 2012 R2
    • Windows Server 2012
    • Windows Server 2008 R2
    • SCCM
  • Active Directory
    • Group Policies
  • Windows Clients
    • Windows 10
    • Windows 8
    • Windows 7
    • MS Office
    • Outlook
  • Virtualization
    • VMWare
    • Hyper-V
  • PowerShell
  • Exchange
  • Home
  • About

Windows OS Hub

  • Windows Server
    • Windows Server 2016
    • Windows Server 2012 R2
    • Windows Server 2012
    • Windows Server 2008 R2
    • SCCM
  • Active Directory
    • Group Policies
  • Windows Clients
    • Windows 10
    • Windows 8
    • Windows 7
    • MS Office
    • Outlook
  • Virtualization
    • VMWare
    • Hyper-V
  • PowerShell
  • Exchange

 Windows OS Hub / Windows 10 / Error 0x00000002 – Windows Cannot Connect to Printer

January 17, 2018 Windows 10Windows 7

Error 0x00000002 – Windows Cannot Connect to Printer

Some Windows 10 and Windows 7 clients have faced the error 0x00000002 when trying to add a network printer(from the Print Server or the local TCP/IP port).

Connect to Printer

Windows cannot connect to the printer.

Operation failed with error 0x00000002.

Windows cannot connect to the printer. Operation failed with error 0x00000002

The error 0x00000002 means that the driver of this printer installed on the computer is corrupted. First of all, you should try to remove this driver from the driver store (like in case of error 0x00000057).

Run this command:

printui.exe /s /t2

In the list of installed drivers, find the printer driver you want to reinstall and remove it by clicking Remove and select Remove driver and driver package.

Remove printer driver and driver package

Restart the spooler (net stop spooler & net start spooler) and try to connect your printer again.

It is likely that the driver will be installed and the printer will connect successfully.

Otherwise, try the following:

  • Delete this registry key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\PendingFileRenameOperations
  • If there are any subfolders with the names from 1 to 499 in c:\Windows\System32\spool\prtprocs\x64, delete all of them but for winprint.dll
  • Delete all Print Processors and drivers (except winprint) from HKLM\SYSTEM\CurrentControlSet\Control\Print\Environments
  • Restart your computer and add the printer

As a workaround, if the previous methods haven’t helped, connect your printer using UNC path following the instructions in the article How to Print on Windows 10 Network Printer from XP.

5 comments
0
Facebook Twitter Google + Pinterest
previous post
How to Obtain SeDebugPrivilege when Debug Program Policy is Enabled
next post
How to Create the DaRT 10 Recovery Image

Related Reading

How to Sign a PowerShell Script (PS1) with...

February 25, 2021

How to Shadow (Remote Control) a User’s RDP...

February 22, 2021

Configuring PowerShell Script Execution Policy

February 18, 2021

Configuring Proxy Settings on Windows Using Group Policy...

February 17, 2021

Updating Group Policy Settings on Windows Domain Computers

February 16, 2021

5 comments

motaleb April 7, 2019 - 10:36 am

thanks it’s done

Reply
Vipin January 15, 2020 - 11:22 am

thanks a lot
done

Reply
Aviad March 9, 2020 - 1:52 pm

is this command removes the driver from the localhost or from the print server?

Reply
admin April 2, 2020 - 10:48 am

This command is applied on your computer (localhost).

Reply
Bogdan December 3, 2020 - 8:09 am

Simple and efective. Job done

Reply

Leave a Comment Cancel Reply

Categories

  • Active Directory
  • Group Policies
  • Exchange
  • Windows 10
  • Windows 8
  • Windows 7
  • Windows Server 2016
  • Windows Server 2012 R2
  • Windows Server 2008 R2
  • PowerShell
  • VMWare
  • MS Office

Recent Posts

  • How to Sign a PowerShell Script (PS1) with a Code Signing Certificate?

    February 25, 2021
  • Change the Default Port Number (TCP/1433) for a MS SQL Server Instance

    February 24, 2021
  • How to Shadow (Remote Control) a User’s RDP session on RDS Windows Server 2016/2019?

    February 22, 2021
  • Configuring PowerShell Script Execution Policy

    February 18, 2021
  • Configuring Proxy Settings on Windows Using Group Policy Preferences

    February 17, 2021
  • Updating Group Policy Settings on Windows Domain Computers

    February 16, 2021
  • Managing Administrative Shares (Admin$, IPC$, C$, D$) in Windows 10

    February 11, 2021
  • Packet Monitor (PktMon) – Built-in Packet Sniffer in Windows 10

    February 10, 2021
  • Fixing “Winload.efi is Missing or Contains Errors” in Windows 10

    February 5, 2021
  • How to Move (Clone) Windows to a New Hard Drive (HDD/SSD)?

    February 4, 2021

Follow us

woshub.com
  • Facebook
  • Twitter
  • RSS
Popular Posts
  • Booting Windows 7 / 10 from GPT Disk on BIOS (non-UEFI) systems
  • How to Run Program without Admin Privileges and to Bypass UAC Prompt?
  • Removable USB Flash Drive as Local HDD in Windows 10 / 7
  • How to Create a Wi-Fi Hotspot on your Windows 10 PC
  • How to increase KMS current count (count is insufficient)
  • Error Code: 0x80070035 “The Network Path was not found” after Windows 10 Update
  • How to Configure Google Chrome Using Group Policy ADMX Templates?
Footer Logo

@2014 - 2018 - Windows OS Hub. All about operating systems for sysadmins


Back To Top