The greatest challenge to any thinker is stating the problem in a way that will allow a solution

Bertrand Russell

By

On 4 Jun 2013

Tech Notes

Tags: ,


When trying to connect to a printer share you get the following error…

Operation could not be completed (error 0x00000709). Double check the printer name and make sure that the printer is connected to the network.

Error message when trying to add network printer share

Operation could not be completed (error 0x00000709). Double check the printer name and make sure that the printer is connected to the network.

This occurs when the hostname (or IP address) that you are using to connect to the printer server, is not the same as the actual name (or IP address of the printer).

  • You could be using different DNS names for the printer server (for example locally the server is known as SVR012345, but has a CNAME record in DNS so can also be accessed via PRINT-SVR).
  • You could be using NAT so that the server is accessible from a remote network where NAT’ing is required.

The problem occurs because when the Print Spooler starts, it loads the local name(s) and IP address(es) of the server, and uses these to service requests.  If an incoming request uses a name/IP that it doesn’t know about the connection fails.

Fix

If you don’t think your using CNAMEs or NAT (or believe everything is set-up) try restarting the Print Spooler service.

Name

If you’re using different names, ensure that your server can resolve all of its names (A and CNAME records) in its local DNS server.

Add the following registry entry to ensure that the Print Spooler checks for CNAMEs in DNS (can have a slight performance hit, restart the Print Spooler service once added).

Key: HKLM\SYSTEM\CurrentControlSet\Control\Print
Value Name: DnsOnWire
Value Type: REG_DWORD
Value: 1

Alternatively, add a entry into the local hosts file (C:\Windows\System32\Drivers\etc\hosts) to provide resolution of the name to the server’s IP address, for example (not a FQDN)

10.10.0.25 PRINT-SVR

IP Address

The server needs to be able to resolve its NAT address as its own.  This is most easily achieved by adding the NAT IP address to the server…

  1. Within the TCP/IP settings of the network interface
  2. Click on the Advanced button
  3. Click on Add to add a new IP address

Further Reading

See the following Microsoft articles which deal with the CNAME problem, not aware of any other examples with the NAT problem…


Leave a Reply

XHTML: You can use these tags if you know what they are: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

ERROR: si-captcha.php plugin says GD image support not detected in PHP!

Contact your web host and ask them why GD image support is not enabled for PHP.

ERROR: si-captcha.php plugin says imagepng function not detected in PHP!

Contact your web host and ask them why imagepng function is not enabled for PHP.