This article describes two error messages that occur when you connect to a shared printer by using a CNAME record in Windows.
Error 1You provide an alternative Universal Naming Convention UNC (UNC) path for a Windows Server 2008 R2-based printer server. The UNC path uses a CNAME DNS record. The following error message is received when clients try to connect to the printer:
Operation could not be completed (error 0x00000709). Double-check the printer name and make sure that the printer is connected to the network.For more information about this issue, click the following article number to view the article in the Microsoft Knowledge Base:
2546625 "Operation could not be completed (error 0x00000709)" error when you use a CNAME record for a print server in Windows Server 2008 R2
Error 2Clients receive the following error message when you use a CNAME DNS record to connect to a printer server that is running Windows Server 2008 R2 or Windows 7:
Windows couldn't connect to the printer. Check the printer name and try again. If this is a network printer, make sure that the printer is turned on, and that the printer address is correct.For more information about this issue, click the following article number to view the article in the Microsoft Knowledge Base:
979602 Error message when you try to connect to a printer by using an alias (CNAME) resource record: "Windows couldn't connect to the printer"
To resolve these issues, use the following commands:
reg add hklm\system\currentcontrolset\control\print /v DnsOnWire /t REG_DWORD /d 1Note For third-party DNS providers, you may have to use QWord instead of DWord. Therefore, you should use QWord instead of DWord for these commands.
reg add hklm\system\currentcontrolset\services\lanmanserver\parameters /v DisableStrictNameChecking /t REG_DWORD /d 1
reg add hklm\system\currentcontrolset\services\lanmanserver\parameters /v OptionalNames /t REG_SZ /d " aliasname "
Article ID: 2965564 - Last Review: May 15, 2014 - Revision: 1