home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.comp.os.windows-10      Steaming pile of horseshit Windows 10      197,590 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 196,001 of 197,590   
   Paul to VanguardLH   
   Re: Change name of adapter (not its inte   
   06 Dec 25 04:41:57   
   
   From: nospam@needed.invalid   
      
   On Fri, 12/5/2025 10:56 PM, VanguardLH wrote:   
   > I can go into Control Panel -> All Control Panel Items -> Network   
   > Connections, and rename a connectoid.  However, that only changes the   
   > InterfaceAlias attribute of the connectoid, not the Name attrib.  When I   
   > run the following command in PowerShell (admin):   
   >   
   > get-netconnectionprofile   
   >   
   > it lists the currently active connectoid(s), and their status.  Although   
   > I have 2 Ethernet (RJ-45) ports on the computer (I don't use bridging)   
   > along with a wi-fi radio (and the cable modem also has 2-band wi-fi),   
   > only 1 Ethernet port (RJ-45 cable) is enabled and connected to the cable   
   > modem.  The other Ethernet port is disabled (no connection), and the   
   > wi-fi connectoid is also disabled.  I don't need the 2nd Ethernet nor do   
   > I want my desktop PC using wi-fi to the cable modem since it already has   
   > a CAT5 cable running to it and the cable modem.  I can go into Control   
   > Panel, and rename the active connectoid:   
   >   
   > From: Ethernet2   
   > To:   EtherCable1   
   >   
   > However, while the name looks to have changed, it really did not.  The   
   > above PowerShell command outputs:   
   >   
   > Name                     : -2.4   
   > InterfaceAlias           : EtherCable1   
   > InterfaceIndex           : 11   
   > NetworkCategory          : Private   
   > DomainAuthenticationKind : None   
   > IPv4Connectivity         : Internet   
   > IPv6Connectivity         : Internet   
   >   
   > I named the wi-fi connects (SSIDs) in the cable modem to -2.4   
   > for the 2.4 GHz band and -5 for the 5 GHz band to identify   
   > each by their frequency.  I don't want a wired Ethernet connection   
   > getting identified with a wi-fi name.   
   >   
   > I ran:   
   >   
   > set-netconnectionprofile -h   
   >   
   > to see what parameters it accepted.  I see the -InterfaceAlias parameter   
   > that apparently changed when I renamed the connectoid in the the Control   
   > Panel applet, but still uses a misleading wi-fi *Name* for the adapter   
   > making it appear a wi-fi connect instead of a wired Ethernet connect.   
   >   
   > I could use the -Name parameter, as in:   
   >   
   > set-netconnectionprofile -Name EtherPort1    
   >   
   > but -Name parameter looks to select which network adapter instead of   
   > renaming it.  From:   
   >   
   > https://learn.microsoft.com/en-us/powershell/module/netconnect   
   on/set-netconnectionprofile   
   >   
   > which says the -Name attribute:   
   >   
   >   Specifies an array of names of networks with which the connection is   
   >   currently established.   
   >   
   > That almost sounds like Name identifies to which group (array) of   
   > devices an adapter is associated, or maybe "array" is their terminology   
   > for "profile" (as noted in the name of the PS command).  Not sure why   
   > Windows decided the "array of names of networks" for an Ethernet adapter   
   > would be grouped or identified with wi-fi adapters, or, conversely, why   
   > Windows picked a wi-fi connection name for the Name attribute of a wired   
   > Ethernet adapter.   
   >   
   > Just what does the -Name attribute specify for a network adapter?  If   
   > -Name is just a selector to identify which adapter gets other attributes   
   > changed (i.e., -Name just selects which adapter, not to allow a value   
   > change), how do I change the name of the adapter to eliminate a wired   
   > Ethernet adapter looking like it's a wi-fi adapter?   
   >   
   > Is what I see using the PS command for InterfaceAlias, and what the   
   > Control Panel applet shows but won't let me change, just the first   
   > connection type identified in the cable modem to which that adapter   
   > connects?   
   >   
      
   This is what I get when I run my Daily Driver (ethernet connected to   
   eth-only IPV4 router).   
      
   get-netconnectionprofile   
      
   Name                     : Network   
   InterfaceAlias           : Ethernet 5   
   InterfaceIndex           : 23   
   NetworkCategory          : Private   
   DomainAuthenticationKind : None   
   IPv4Connectivity         : Internet   
   IPv6Connectivity         : NoTraffic   
      
   Intel(R) I210 Gigabit Network Connection #2   
      
   *******   
      
   Virtualbox - Win10 Guest   
      
   > get-netconnectionprofile   
      
      
   Name                     : Network   
   InterfaceAlias           : Ethernet   
   InterfaceIndex           : 5   
   NetworkCategory          : Private   
   DomainAuthenticationKind : None   
   IPv4Connectivity         : Internet   
   IPv6Connectivity         : NoTraffic   
      
   VMWare - Win11 Guest   
      
   > get-netconnectionprofile   
      
      
   Name                     : Network   
   InterfaceAlias           : Ethernet0   
   InterfaceIndex           : 3   
   NetworkCategory          : Private   
   DomainAuthenticationKind : None   
   IPv4Connectivity         : Internet   
   IPv6Connectivity         : NoTraffic   
      
   Nothing has Wifi here. Adapters disconnected.   
      
   I could do an internet connection sharing over Bluetooth.   
   That's if I could remember how :-)   
      
      Paul   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca