Cannot Rename Network Adapter

I’m feeling a bit … lost. For some reason on one particular machine I don’t seem to be able to rename any Network Interface on Windows 11:

Image shows the rename dialogue box for renaming a network interface
NIC Rename Screenshot

I’ve just tried it on another couple of machines and it’s worked fine – and I’ve obviously managed to rename some previously! So, anyone any idea what’s going on here? I’m sure we can do this with PowerShell though, so let’s do that.

Fire up PowerShell as an Administrator and use the following command to get a list of your adapters:

Get-NetAdapter

Image shows the output of the command Get-NetAdapter
Get-NetAdapter

You can see my output above. Next, rename the adapter using the following command:

Rename-NetAdapter -Name “Ethernet 7” -NewName “HyperV_10Gbpe

…obviously use the name of the interface you want to change, and what you want to change it to. Nothing appears to happen, but if you run the get-netadapter again you should see your changes:

Image shows the renamed network adapter using Get-NetAdapter
Get-NetAdapter
Image shows the network connections in Windows 11 after a successful rename
Network Connections

If anyone knows why I’ve lost the ability to do this in the GUI I’m all ears – I’ve tried removing all the HyperV vSwitch configuration but that didn’t seem to make any difference.

No big deal of course, I’m just curious.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *