Alias Names - How did they do that ?? - Help !

Posted on 2006-04-24
Last Modified: 2012-08-13
A server has a name called test_server.  The server in question has been renamed to testserver and an alias setup so that both the old and new NetBios names, (test_server and testserver) can be resolved on the network.

Both names can also be seen in Network Neighbourhood.

How do you manage to achieve this ?  I've managed to create a alias by putting an entry for the other name into WINS and modifying the registry but never been able to get both names to appear in Networkneighbourhood.  

I've even had experts tell me it wasnt possible to get both names to appear in Network Neighbourhood only the "real" one.  

So how did they do it ?????
Question by:MarionTaylor
    LVL 27

    Expert Comment

    Not sure about Network Neighborhood, as this is a Windows function.  But an alias in DNS is called a Cname or a Canocial name.  It's standard in most DNS implementations.  It points to an A Record.  So, you can't have an alias without a real DNS name (which points to an IP).
    LVL 4

    Expert Comment

    Windows networking neighborhood should not be supporting this; if you know of a situation where they managed to do this, i wouldn't be surprised to find that test_server is actually still online and all it's shares are forwarded to testserver.

    In any case, you could try to setup aliases like this:
    regedit, edit:
    Add Value: OptionalNames REG_SZ with as value the name of the alias
    If you make it a type REG_MULTI_SZ, you can add multiple aliases.

    I don't think (I have not seen it happening anyway) that this machine will broadcast its OptionalNames on the network neighborhood but i do think that you would be able to use \\alias now.

    maybe this helps ?

    LVL 12

    Accepted Solution

    This is what I've done to get it working:

    - Make sure the server and client(s) are using WINS name resolution (NetBT nodetype is either P-node or H-node)
    - Use WINS Administrator to add a Unique type manual entry with the Netbios name and IP-address.
    - Add the HKEY_Local_Machine\System\CurrentControlSet\Services\LanmanServer\Parameters\OptionalNames value to the registry of the server.

    The WINS entry will add the name to the network neighbourhood and the OptionalNames will make sure the server listens to that name.

    Tested with Windows XP Pro and Windows Server 2003 Std. I'm not sure if this is a supported configuration, though.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Threat Intelligence Starter Resources

    Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

    There have been a lot of times when we have seen the need to enter a large number of DNS entries in a forward lookup zone. The standard procedure would be to launch the DNS Manager console, create the Zone and start adding new hosts using the New…
    Join Greg Farro and Ethan Banks from Packet Pushers ( and Greg Ross from Paessler ( for a discussion about smart network …
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
    This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor ( If you're looking for how to monitor bandwidth using netflow or packet s…

    760 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    9 Experts available now in Live!

    Get 1:1 Help Now