علی پرسیده شده 2 سال قبل

سلام

هنگام نصب پرینتر share در شبکه با پیغام خطای “Windows cannot connect to the printer” مواجه می شوم. با کد خطای error code  ۰x0000002

1 پاسخ
آواگستر عضو سایت پاسخ داده شده 2 سال قبل

سلام

موارد مختلفی می تواند باعث این مشکل بشود. برای رفع مشکل راهکارهای زیر باید به نوبت انجام شود :

Solution 1: Restart Print Spooler Service

Follow steps below to stop Print Spooler service then start it again.

  1. Press Win+R (Windows logo key and R key) at the same time. A Run dialog box will open.
  2. Type services.msc in the run box and click OK button.
  3. In the Name list, locate and double-click on service Print Spooler.
  4. Under Service status, click Stop button.
  5. Click Start button to start the service again.
  6. Click OK button.

 

Solution 2: Create a New Local Port

Follow these steps:

  1. Open Control Panel.
  2. View by Large icons, click Devices and Printers.
  3. Click Add a printer at the top of the window. Note: To continue, you need to login to the computer as an administrator.
  4. Select Add a network, wireless or Bluetooth printer.
  5. Select Create a new port, change the “Type of port” to Local Port then click Next button.
  6. Enter a port name in the box. The port name is the printer’s address. The address format is \\IP address or the Computer Name\Printer’s Name (refer to the following screen). Then click OK button.
  7. Select the printer model from the directory and click Next button.
  8. Follow the rest on-screen instructions to finish adding the printer.

Solution 3: Delete Printer Drivers

The problem can be caused by printer drivers. So you can try to remove the drivers and install them again.

Follow steps below:

  1. Press Win+R (Windows logo key and R key) at the same time. A Run dialog box will open.
  2. Type printmanagement.msc in the run box and click OK button.
  3. In the left pane, click All Drivers.
  4. In the right pane, right-click on the printer driver and click Delete on the pop-up menu.

If you see more than one printer driver names, repeat steps above to remove them one by one.

  1. Add the printer again.

If the problem persists, you may want to install the driver manually. You can download and install the driver from the printer manufacturer’s website.

If you have difficulty downloading the driver manually, you can use Driver Easy to help you. Driver Easy can scan your computer to detect all problem drivers then provide you with new drivers instantly. Download its Free version to have a try. If you find it helpful, you can consider upgrading to the Pro version. The Pro version allows you to update all drivers with just one-click.

Solution 4: Copy “mscms.dll” Manually

  1. Open C:\Windows\system32 and find the file “mscms.dll“.
  2. Copy the file to the following path:

            C:\windows\system32\spool\drivers\x64\3\ if you are using 64-bit windows

            C:\windows\system32\spool\drivers\w32x86\3\ if you are using 32-bit windows

  1. Try to connect to the printer again.

Solution 5: Delete a Subkey

Modifying registry keys incorrectly may cause serious system problems. So before you get started, it is recommended that you back up the registry key so you can restore it in case any problems occurs.

  1. Stop Print Spooler service. (refer steps in Solution 1 to stop the service)
  2. Press Win + R (Windows logo key and R key) at the same time. A Run dialog box will open.
  3. Type regedit in the run box and click OK button.
  4. Expand HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Print\Providers\Client Side Rendering Print Provider. Right-click on Client Side Rendering Print Provider and select Delete.
  5. Start the Print Spooler service.
  6. Reboot your computer and try to add the printer again.