M
Marty List
I posted a new freeware tool on my website, called 'Network Alias' or
NetAlias.exe.
http://www.optimumx.com/download/#NetAlias
C:\>NetAlias.exe /?
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:
NetAlias.exe [/ALIAS:NEWNAME] [/DOMAIN:NAME] [/DELETE] [/Y] [\\COMPUTERNAME]
/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.
NetAlias.exe.
http://www.optimumx.com/download/#NetAlias
C:\>NetAlias.exe /?
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:
NetAlias.exe [/ALIAS:NEWNAME] [/DOMAIN:NAME] [/DELETE] [/Y] [\\COMPUTERNAME]
/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.