"Windows cannot connect to printer" error when using server alias

Good day Experts!

I set up a print server a couple of months ago.  I added an alias to the server so that we could have all the client computers connect to the network printers via the alias instead of the server name.  That way if we ever had to rebuild the print server it would be easy to point the alias at the new server and carry on as usual.

To be able to do that I had to edit the print server's registry using the following process:

1.      Create the CNAME record for the file server on the appropriate DNS server, if the CNAME record is not already present.

      2.      Apply the following registry change to the file server. To do so, follow these steps:

      a.       Start Registry Editor (Regedt32.exe).

      b.       Locate and click the following key in the registry:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\LanmanServer\Parameters

      c.       On the Edit menu, click new and choose dword, and then add the following registry value:

      Value name: DisableStrictNameChecking

      Data type: REG_DWORD

      Radix: Decimal

      Value: 1

      d.       Quit Registry Editor.

      3.      Restart your computer.

Once the print server was set up it worked perfectly for a couple of months.

As of today, when you run the printer setup wizard, when you get to "Specify Printer" step, if I use the alias, ie \\printers\printername, I get the following error: "Windows cannot connect to the printer.  Either the printer name was typed incorrectly or the specified printer has lost its connection to the server".  However, if you connect via the server name, ie \\servername\printername, it connects fine.

I can connect to the shares on the server via the alias(as the registry fix should allow).  I cannot find a reason for the printers to not connect.  Any help would be much appreciated.
PEI_ITAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Nirmal SharmaSolution ArchitectCommented:
How many DNS servers you have in environment?
Have have replicated the zone data with each other?
Can you ping the alias from the same server?
Any event is logged in System Log?
Did you restart the Server Service or restart the server to reflect the changes you made in registry?

Let us know.
SP

0
PEI_ITAuthor Commented:
Turned out our DHCP server wasn't passing on the DNS settings to clients as it should have been.  I went into the DHCP server and removed the DNS settings in the scope options, restarted the service, put the DNS settings back into the scope options, restarted the DHCP server again.  After doing all that the printer issue was resolved as we could then connect to the share with the alias name once again.

Thanks for your suggestions.
0
Nirmal SharmaSolution ArchitectCommented:
Good to know that it has been resolved.
0
Computer101Commented:
PAQed with no points refunded (of 500)

Computer101
EE Admin
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2003

From novice to tech pro — start learning today.