Windows cannot connect to the printer access is denied lỗi

Recently we wanted to print something from an old computer running Windows 2000 (yes, we have all kinds of dinosaurs in our office zoo) to a printer connected to a laptop that was recently upgraded to Windows 10. In the past, all we needed to do was to share the printer on the laptop, and then add it as a network printer on the Windows 2000 computer, and it would work beautifully.

This time, however, when attempting to add the network printer to the Windows 2000 computer, we received the following message: "Windows cannot connect to the printer. Access is denied." We tried to do the usual troubleshooting: checked the security settings of the shared printer, checked the sharing settings, made sure that the file and printer sharing was enabled on the Windows 10 laptop, all was in order, yet the Windows 2000 computer was still denied access to the shared printer.

After restarting both computers a few times and repeating the sharing/connecting steps, but the same error message appeared every time. So we tried something different, and it worked. We decided to share our solution here, hoping it could be of help to someone else:

  1. On the computer to which the printer is connected (in our case it was the Windows 10 laptop), share the printer as usual, and when sharing it, set up the share name that is easy to type in. For example, in our case the long name of the printer was "Epson Stylus Photo R200", but we shared it with the name EpsonR200: (using a simple name like that should make it easier to enter it later on)

Windows cannot connect to the printer access is denied lỗi

  1. On the computer from which you want to connect to this printer (in our case it was the Windows 2000 computer) use the built-in Add Printer wizard and choose the 'Add Local Printer' option. (If your computer runs Windows 10, you can find this wizard on the Devices - Printers and Scanners page of the Windows Settings window)

Windows cannot connect to the printer access is denied lỗi

  1. Press Next, and on the next page choose the 'Create a new port' option and make sure the 'Local port' option is selected:

Windows cannot connect to the printer access is denied lỗi

  1. When you press Next, Windows will prompt you to enter the port name. Enter the UNC name of the shared printer, in the format: //computername/sharedname . In our case, the computer name of the Windows 10 laptop was laptop, and we had previously set up the shared name of the printer as EpsonR200 (see Step 1 above), so we entered the port name as:

Windows cannot connect to the printer access is denied lỗi

If you don't know the network name of your computer, you can find it out as follows: right-click on the This PC folder (or Computer) in Explorer or some other file manager, and choose Properties from the shortcut menu. On that page, look for the 'computer name' text. That's the name you need to enter instead of 'laptop' in our example. Be sure to use the name of the computer that has the printer attached to it, not the one from which you are trying to connect to the printer through the network!

Next, Windows will probably ask you to select the printer make and model, install its drivers, etc. Keep providing the information that the wizard requires, according to your specific printer. When done, Windows should add the new printer to the computer, and you should be able to use it to print files. The procedure described above worked for us, hopefully it will work for you, too.

Happy printing!

If you want to link to this article, you can use this HTML code: Solved: Windows cannot connect to the printer. Access is denied.

Một máy in dùng chung cho nhiều PC là một điều rất phổ thông tại môi trường văn phòng. Tuy nhiên một lỗi rất phổ biến gây trở ngại cho quá trình in ấn đó là “Windows cannot connect to the printer” ( thường gặp nhiều nhất ở Windows 7). Trong bài viết sau, Phong Vũ muốn chia sẻ tới quý bạn đọc hướng dẫn 4 cách sửa lỗi không thể kết nối tới máy in trên.

Lỗi “Windows cannot connect to the printer” nhiều khả năng đi kèm với các dòng mã cụ thể như 0x0000007e.

Windows cannot connect to the printer access is denied lỗi

Cách 1: Khởi động lại Printer Spooler Service

  • Sử dụng tổ hợp phím Windows + R để mở hộp thoại Run.
  • Type dòng mã services.msc và nhấn OK.

Windows cannot connect to the printer access is denied lỗi

Tìm kiếm mục Print Spooler và nhấn đúp vào icon mục được chọn.

Windows cannot connect to the printer access is denied lỗi

Chọn Stop tại mục Service status và sau đó nhấn Start lại ngay sau đó.

Windows cannot connect to the printer access is denied lỗi

Chọn OK và kiểm tra lại khả năng hoạt động bình thường của máy in.

Nếu lỗi “Windows cannot connect to the printer” vẫn chưa được khắc phục, bạn có thể chuyển sang cách 2 sau.

Cách 2: Tạo Local Port mới

  1. Mở Control Panel.
  2. Chọn mục Devices and Printer

Windows cannot connect to the printer access is denied lỗi

Tiếp tục click vào Add a printer.

Windows cannot connect to the printer access is denied lỗi

4. Chọn Add a network, wireless or Bluetooth printer.

Windows cannot connect to the printer access is denied lỗi

5. Chọn Create a new port, thay đổi cấu hình “Type of port” thành Local Port và Next.

Windows cannot connect to the printer access is denied lỗi

6. Đối với Enter a port name trong hộp thoạt hiện lên, bạn cần điền vào địa chỉ của máy in. Thông số này hoạt động như sau: địa chỉ IP của bạn hoặc tên PC Tên máy in.

Windows cannot connect to the printer access is denied lỗi

7. Lựa chọn nhà phát hành và mẫu máy in rồi tiếp tục làm theo hướng dẫn để hoàn thành thêm printer.

Windows cannot connect to the printer access is denied lỗi

Cách 3: Xóa và cài lại driver của printer để sửa lỗi “Windows cannot connect to the printer”

  1. Windows + R để mở hộp thoại Run.
  2. Type dòng mã printmanagement.msc và xác nhận.

Windows cannot connect to the printer access is denied lỗi

Click vào mục All Drivers.

Windows cannot connect to the printer access is denied lỗi

Tìm driver của máy in ở ô cửa sổ giữa, chuột phải và chọn Delete. Nếu bạn tìm thấy nhiều hơn một driver, lặp lại những bước trên và xóa bỏ từng cái một.

Windows cannot connect to the printer access is denied lỗi

Thêm vào driver của máy in một lần nữa. Địa chỉ tải về tốt nhất đó là trang web chính thức của nhà phát hành máy in mà hiện tại bạn đang sử dụng.