Wednesday, May 1, 2013

Enable File Shares and Printing on Servers With Alternate Computer Names


Alternate Computer Names (Enable Shares and printing)

“To enable \\Shares and Printer shares on a server with a different Name or on Multiple different names.”

To add alternate computer names to your new server (after your old servers are retired). This can be done easily by using the NETDOM COMPUTERNAME command.

EG: When Domain is contoso.local and the full FQDN for the file server was CFILE.contoso.local, you could add the other names with:

NETDOM COMPUTERNAME cfile /ADD file1.contoso.local
NETDOM COMPUTERNAME cfile /ADD file2.contoso.local
NETDOM COMPUTERNAME cfile /ADD file2.contoso.local
IPCONFIG /registerdns


The last command makes sure the alternate names are properly registered with your DNS server, where other computers in the domain will find it. To check all the names of the computer, primary and alternate, you can use the command:

NETDOM COMPUTERNAME cfile /ENUM


After change was completed restart the Server Service

No comments:

Post a Comment