JSI Tip 10620. How can I rename an interface (Local Area Connection) from the command-line?


The Netsh.exe command-line tool has the ability to rename an interface.

The Netsh syntax for renaming an interface is:

netsh.exe interface set interface name = "Old Name" newname = "New Name"

Examples:

netsh.exe interface set interface name = "Local Area Connection" newname = "JSIINC Local Network"

netsh.exe interface set interface name = "Local Area Connection(2)" newname = "Internet"



Hide comments

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.
Publish