Solved rename network interface


WildWilly

Well-known member
Member
Local time
3:15 AM
Posts
170
Location
Cincinnati Ohio
OS
Windows 11 Pro 64-bit 25H2
Well over a year ago, my close friend :D @garlin gave me a Power Shell script upthread here for displaying the network status dialog. Things have changed & now I have this:

C:\Users\WildWilly2>ipconfig

Windows IP Configuration


Ethernet adapter Ethernet:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :

Ethernet adapter Ethernet 2:

and there's more but this is the only relevant bit.

#01.webp


I now have an interface with the name

Ethernet 2

It's got a space in it. I've tried a number of modifications to @garlin's script & I have utterly failed to get the script to continue to be useful. I could list everything I've tried but I really don't feel like embarrassing myself in public. Again.

So I'll just ask: What's the magic spell now?

________
EDIT
________

Never mind. I found the place where I can rename the interface. I changed it to Ethernet2 without the space. It's all good now. Thanks for reading. I hope you chuckled at least once.
 

My Computer My Computer

At a glance

Windows 11 Pro 64-bit 25H2Intel Core i9-13900K4x32G Teamgroup TForce Vulcan DDR5 6000 DIMMsMSI/NVidia GeForce RTX 4070 Gaming X Trio 12G...
OS
Windows 11 Pro 64-bit 25H2
Computer type
PC/Desktop
Manufacturer/Model
Self build
CPU
Intel Core i9-13900K
Motherboard
ASUS Z790-Plus WiFi TUF Gaming
Memory
4x32G Teamgroup TForce Vulcan DDR5 6000 DIMMs
Graphics Card(s)
MSI/NVidia GeForce RTX 4070 Gaming X Trio 12G GDDR6X + built into motherboard Intel UHD Graphics
Sound Card
Built into graphics card + built into motherboard Realtek Audio
Monitor(s) Displays
Two connected to the NVidia adapter - Primary: Dell SE2417HGX 23" diagonal connected via HDMI-to-DisplayPort dongle, Secondary: Toshiba TV 32" diagonal connected via HDMI through Onkyo TX-NR717 surround receiver. Third: Viewsonic VS19151 32" diagonal connected wirelessly via WiFi/Miracast & j5create JVAW56 dongle.
Screen Resolution
1920x1080 on all 3 monitors
Hard Drives
Samsung 970 EVO Plus NVMe M.2 2T
6xSATA-to-USB 3.0 Fideco external enclosures holding SATA drives of various brands & sizes 1x20T, 2x18T, 2x6T, 1x500G, all connected to a multi-port USB hub
For backups: USB 3.0 HDDs of various brands & sizes 3x20T, 1x1T + SSDs of various brands & sizes 2x480G, 1x1T, all connected to another multi-port USB hub, powered on only while actually performing backups & (may it never happen) restores
PSU
MSI MPG A1000G PCIe5 1000W, TrippLite Smart1500TSU 1200W UPS for the main system, TrippLite ECO850LCD 850W UPS for the DASD & my Internet connectivity boxes (no reason to throw out legacy equipment that stil works fine)
Case
Fractal North
Cooling
DeepCool AK620 CPU cooler (air, 2 fans), 2 case fans, 1 fan in PSU, 3 fans in graphics adapter; 4xpersonal cooling fans strategically placed to cool the external HDDs
Keyboard
Cherry MX 11900 USB (wired)
Mouse
Touchpad built into the keyboard
Internet Speed
500Mbps via Spectrum cable TV/cell phone bundle
Browser
Firefox
Antivirus
Built into Windows 11
Other Info
The ethernet adapter integrated into the motherboard died. I am now using a TPLink TX201 ethernet adapter in a PCIe expansion slot for Internet connectivity.
I suppose this will work, if you're only using Ethernet 2:
Code:
powershell "explorer ""::{208D2C60-3AEA-1069-A2D7-08002B30309D}\::{7007ACC7-3202-11D1-AAD2-00805FC1270E}\::$((Get-NetAdapter -Name 'Ethernet 2').DeviceID)"""

Is there only one physical Ethernet on this motherboard? I'm wondering if you re-installed some driver, and now have a duplicated device instance.
 

My Computer My Computer

At a glance

Windows 7
OS
Windows 7
Oh geez. Single quotes. The one thing I didn't think to try. Anyway, the point is moot now, at least for me, since I renamed the interface. But your advice is probably now just hiding here in the weeds for some other lost soul to use to get found.

The background, which I thought was irrelevant, is this. The symptom I was observing was that numerous web sites (my bank, my pharmacy, GitHub, Metropolitan Opera, many others) were giving the error, "We can't find that web site." But other sites (WTA, ATP, NHL, GMail, NBC Sports, among others) were loading up fine or loading up fine with missing components of their web pages. I exhausted pretty much everything I could think of, including clearing Firefox cache & cookies, messing with Firefox settings, disabling all my Firefox plugins, & I don't remember what all else, not to mention resetting my Internet connection multiple times (a button on the front of the box) as well as powering it off multiple times, & of course rebooting multiple times. I finally decided to look at my connection status. I had IPV6 connectivity but not IPV4, according to the status dialog. That's supposed to be impossible. I'm assuming I was failing to connect to sites that still use IPV4 addresses but succeeding in connecting to sites that now use IPV6. Anyway, I decided the problem belonged to my ISP. But a call to their support determined the problem was not theirs. I was able to use my phone to get to the sites my W11 desktop was refusing to see. If I could use the WiFi in my home to access all these sites, the failure of my PC to do so was clearly a problem in the PC.

So I just got home from Microcenter with an ethernet adapter. It took me rather a while to get it installed because for one thing, I can't open up my system without completely disconnecting every wire from the back of it & pulling the box out of the corner into the middle of the room where I have enough space to open it up. Then, I had to remove my NVidia video adapter because it's a behemoth & was blocking the PCIe slot where the ethernet adapter had to go. It didn't help that I dropped a screw down inside the NVidia & it took rather a lot of shaking to get it to fall out.

The bottom line is that the network adapter integrated into this motherboard is now kaput. I have installed a separate ethernet adapter. It was the Ethernet 2 that I renamed to Ethernet2. My CAT6 cable is connected only to the new ethernet card. The old ethernet port integrated with the motherboard now has no wire plugged into it. Windows recognizes the old adapter as disconnected & the new adapter as functional. The fact that I'm here posting is proof that it's working.

Even getting the new card to work was an adventure. The driver for this new card comes on a CD in the package. Cute little CD, too. It's only about 1/3 the diameter of a regulation CD. The brand name of the new adapter is TPLink but the installer kept launching an Intel driver installer. I thought Windows was interfering with the proper operation of the installer. I ended up installing the driver about 3 times before I decided it wasn't an error. Now, why does a TPLink bit of hardware have an Intel installation utility? That's just weird, as well as confusing. I was confused. Once I decided I must have actually done everything correctly, I tried to run your script & it wasn't opening the status display. So I thought I must not have things working yet. But I decided, in what I thought would be a futile effort, to try surfing to some of the web sites that hadn't been found before. They all rendered the way they're supposed to, which proves any success I have is by dumb luck. At that point I finally remembered that your script relies on the name of the connection. That's when I ran ipconfig & saw the name with the space in it. That is not a name I provided. Either the installer or Windows did that without ever asking me what name I would have liked. I posted my question before I thought to look more closely at what was on the screen in Control Panel. Control Panel. Not Settings. I wish they'd get it together & migrate ALL settings to Settings & just do away with Control Panel. That is their intent, isn't it? Anyway, I found the rename function before you answered.

So no, there are not 2 ethernet adapters integrated into the motherboard. I do have 2 ethernet adapters now, but only the new one, which is an expansion card, is actually connected to the Internet. The one on the motherboard is now not being used.

More than you wanted to know but you asked . . .
 

My Computer My Computer

At a glance

Windows 11 Pro 64-bit 25H2Intel Core i9-13900K4x32G Teamgroup TForce Vulcan DDR5 6000 DIMMsMSI/NVidia GeForce RTX 4070 Gaming X Trio 12G...
OS
Windows 11 Pro 64-bit 25H2
Computer type
PC/Desktop
Manufacturer/Model
Self build
CPU
Intel Core i9-13900K
Motherboard
ASUS Z790-Plus WiFi TUF Gaming
Memory
4x32G Teamgroup TForce Vulcan DDR5 6000 DIMMs
Graphics Card(s)
MSI/NVidia GeForce RTX 4070 Gaming X Trio 12G GDDR6X + built into motherboard Intel UHD Graphics
Sound Card
Built into graphics card + built into motherboard Realtek Audio
Monitor(s) Displays
Two connected to the NVidia adapter - Primary: Dell SE2417HGX 23" diagonal connected via HDMI-to-DisplayPort dongle, Secondary: Toshiba TV 32" diagonal connected via HDMI through Onkyo TX-NR717 surround receiver. Third: Viewsonic VS19151 32" diagonal connected wirelessly via WiFi/Miracast & j5create JVAW56 dongle.
Screen Resolution
1920x1080 on all 3 monitors
Hard Drives
Samsung 970 EVO Plus NVMe M.2 2T
6xSATA-to-USB 3.0 Fideco external enclosures holding SATA drives of various brands & sizes 1x20T, 2x18T, 2x6T, 1x500G, all connected to a multi-port USB hub
For backups: USB 3.0 HDDs of various brands & sizes 3x20T, 1x1T + SSDs of various brands & sizes 2x480G, 1x1T, all connected to another multi-port USB hub, powered on only while actually performing backups & (may it never happen) restores
PSU
MSI MPG A1000G PCIe5 1000W, TrippLite Smart1500TSU 1200W UPS for the main system, TrippLite ECO850LCD 850W UPS for the DASD & my Internet connectivity boxes (no reason to throw out legacy equipment that stil works fine)
Case
Fractal North
Cooling
DeepCool AK620 CPU cooler (air, 2 fans), 2 case fans, 1 fan in PSU, 3 fans in graphics adapter; 4xpersonal cooling fans strategically placed to cool the external HDDs
Keyboard
Cherry MX 11900 USB (wired)
Mouse
Touchpad built into the keyboard
Internet Speed
500Mbps via Spectrum cable TV/cell phone bundle
Browser
Firefox
Antivirus
Built into Windows 11
Other Info
The ethernet adapter integrated into the motherboard died. I am now using a TPLink TX201 ethernet adapter in a PCIe expansion slot for Internet connectivity.
That makes sense... you could open PowerShell as Admin and do a rename switcheroo:
Code:
Rename-NetAdapter -Name 'Ethernet' -NewName 'Ethernet 3'
Rename-NetAdapter -Name 'Ethernet 2' -NewName 'Ethernet'
Rename-NetAdapter -Name 'Ethernet 3' -NewName 'Ethernet 2'
 

My Computer My Computer

At a glance

Windows 7
OS
Windows 7

Latest Support Threads

Latest Tutorials

Back
Top Bottom