jondercik Posted December 29, 2005 Posted December 29, 2005 How do I name a network connection something unattended? I would like the name to be changed from Local Area connection to something more of my choosing, such as Realtek Gig, VMware NIC, etc.(This is in an NLited fully functional install)Jim
Gogol Posted December 30, 2005 Posted December 30, 2005 (edited) No reply yet !Using getmac.exe from sdk and reg.exe@echo off:: Change example by your choice - Avoid accentset connName=example::set file=%random%.$$1set k1=HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Network\{4D36E972-E325-11CE-BFC1-08002BE10318}::getmac /nh /fo list >%file%::FOR /F "skip=1 tokens=1,2* delims={,}" %%a in (%file%) do set k2={%%b}set fullkey=%k1%\%k2%\Connection::REG ADD %fullkey% /v Name /t reg_sz /d %connName% /f >NUL::del %file%Tested on a single nic pcHTH Edited December 30, 2005 by Gogol
tguy Posted January 18, 2006 Posted January 18, 2006 You can use the netsh.exe tool, executed via a batch file like this:netsh interface set interface name="Local Area Connection" newname= "Prod"
oioldman Posted January 18, 2006 Posted January 18, 2006 worked a treat tguy, thanks for that a slooking through the help i couldn't see anything obvious.P.S; just tested yours above and worked like magic
Littlebr00k Posted January 18, 2006 Posted January 18, 2006 The quickest way is to set the connection name in your winnt.sif for new installs so you don't have to change it later[params.Adapter1]INFID=*ConnectionName="Type name of connection here"params.Adapter1 is usually the network interfaceparama.Adapter2 is usually the 1394 connectionyou may have to experiment as it depends on how you mobo bios detects its inbuilt devices and pci cards.If your system is already up and running the easiest (I find anyway), is to open network connection - right click on the connection you want to change and select rename.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now