JSI Tip 7374. How do I allow a computer to be accessed using an alias, instead of the computer name?

Marty List brings us NetAlias.zip to display, add or remove NetBIOS names for the Server service.

The ReadMe.txt file contains:

Network Alias \[Version 1.00\]

Displays, adds or removes NetBIOS names for the Server service.  This allows a 
computer to be accessed using an alias, or a name other than the computer name.
The Server service will also announce this alias to the browse list where it 
will be displayed in apps such as My Network Places and the NET VIEW command.

After a system restart, this alias will no longer exist.  To make the alias 
persistent, this tool would need to be scheduled to execute at system startup.
This alias will only be available as a UNC path (\\server\share), tools like 
ping and nslookup will not be able to resolve it.

The syntax of this command is:


 /ALIAS: Allows you to specify a new name to add (or delete).  A new alias can
 be up to 15 characters. Names with spaces must be enclosed in "double quotes".

 /DOMAIN: Optional, rarely needed.  Allows you to specify the domain/workgroup
 that the new alias will be announced to. Ignored if /ALIAS is not specified.

 /DELETE Allows you to delete the specified alias.

 /Y Allows you make changes without being prompted.

 \\COMPUTERNAME Allows you to manage the names on a remote system.

A Windows NT based operating system is required (2003/XP/2000/NT), and the 
user must be a member of the Administrators or Server Operators group.  The 
maximum number of names that can be added will vary between 128 and 1024, 
depending on the length of the names.  The new alias should be available on 
the local subnet immediately, but may not be available on remote subnets or 
appear in browse lists for up to 30 minutes, depending on the complexity of 
network.  Likewise, deleted names are not immediately removed from the browse 
list. For more information, see Microsoft KB articles 150800 and 102878.

An argument of /? or -? displays this syntax and always returns 1.
A successful completion will return 0.

Copyright 2003  Marty List


System Requirements:

	Windows Server 2003; Windows XP; Windows 2000; Windows NT
	NetBIOS must be enabled, and the Server service must be running
	File and Printer Sharing for Microsoft Networks must be bound to each NIC

Revision History:

	1.00 	10/02/2003
	Initial release.

Hide comments


  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.