---
title: "Error: “Operation could not be completed (error 0x000006d1)” when adding a Samba based network printer to Vista"
description: "<p>If you are getting the following error while adding a Samba based network printer to Vista:</p>
<blockquote>
<p>Windows cannot connect to the printer. Operation could not be completed (error 0x000006d1).</p></blockquote>
<p>And you have a Samba server (version 3.0 and above) consider using the following technique to add the printer:</p>
<ul>
<li>Add a local printer (not a network one!)</li>
<li>Select “create a new port”</li>
<li>Select “Local port” as type of port</li>
<li>In the port name enter the printer’s SMB path, i.e. \sambaserver\printer_name</li>
<li>Select the right driver</li>
</ul>
<p>That’s all. Works like a charm!</p>"
doc_version: "1"
last_updated: "2017-06-02"
date: 2009-01-20
tags: [1745, network printer, operation could not be completed, samba, samba printer, Vista]
canonical: "https://eran.sandler.co.il/2009/01/20/error-operation-could-not-be-completed-error-0x000006d1-when-adding-a-samba-based-network-printer-to-vista/"
---

## Sitemap

- [Home](https://eran.sandler.co.il/)

If you are getting the following error while adding a Samba based network printer to Vista:

> Windows cannot connect to the printer. Operation could not be completed (error 0x000006d1).

And you have a Samba server (version 3.0 and above) consider using the following technique to add the printer:

  * Add a local printer (not a network one!)
  * Select &#8220;create a new port&#8221;
  * Select &#8220;Local port&#8221; as type of port
  * In the port name enter the printer&#8217;s SMB path, i.e. \\sambaserver\printer_name
  * Select the right driver

That&#8217;s all. Works like a charm!

If you have an older version of Samba (< 3.0) know that Vista uses NTLMv2 by default. Follow [these instructions][1] to revert back to NTLMv1 by default (also true for regular shares).

Also note that since this is a local printer that prints to a print queue on the Samba server, you might not be able to delete print jobs that were completely sent to the Samba server print queue, since we essentially created a local queue.

 [1]: http://www.builderau.com.au/blogs/codemonkeybusiness/viewblogpost.htm?p=339270746