- Windows 10 Network Adapter(NIC) Registry Path
- 의외로 단순하지 않음, Hyper-V 가 부팅할때마다 가상 NIC을 새로 생성하는 문제 해결용
- 전체 NIC 정보
- Hyper-V Virtual Ethernet Adapter (가상 NIC)을 찾을 수 있는 경로
- 사용하지 않는 NIC도 있음
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\랜카드ID
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\npcap\Parameters\NdisAdapters\랜카드ID
- 예)
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\{091DEF4A-D5B9-446E-8EF6-8D0CFD3CCE6F}\Parameters\Tcpip
에서 IPAddress 값이 172로 시작하는 경우
//-------------------------------------
- Hyper-V Virtual Ethernet Adapter 정상 정보
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\VMSMP\Parameters
- 그외 일반 경로
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Network
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E972-E325-11CE-BFC1-08002bE10318}
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters\Interfaces
//-------------------------------------
< 참고 >
* 장치관리자 이용 숨겨진 장치 삭제 방법
set devmgr_show_nonpresent_devices=1
devmgmt.msc
보기 -> 숨겨진 장치 표시
//-------------------------------------
* Where is network adapter state information stored in the registry?
https://superuser.com/questions/1608238/where-is-network-adapter-state-information-stored-in-the-registry
WMIC NIC WHERE (NetEnabled=TRUE) GET Availability,Index,Name,MACAddress,NetEnabled,NetworkAddresses,Speed /FORMAT:LIST
WMIC NIC WHERE (NetEnabled=TRUE) GET /FORMAT:LIST
//-------------------------------------
* How to remove a Hyper-V virtual Ethernet switch
https://superuser.com/questions/1192492/how-to-remove-a-hyper-v-virtual-ethernet-switch
Get-HNSNetwork
Get-HNSNetwork | ? Name -Like "Default Switch" | Remove-HNSNetwork
Get-VMSwitch
//-------------------------------------
How to Remove Hidden/Ghost Network Adapters in Windows?
https://woshub.com/remove-hidden-ghost-network-adapter-windows/
List network adapters:
pnputil /enum-devices /class net
pnputil /remove-device "PCI\VEN_8086&DEV_10D3&SUBSYS_07D015AD&REV_00\000C29FFFF66A80700"
//-------------------------------------
How to get the type of an network adapter (Wi-Fi, Ethernet, Bluetooth) in Windows Powershell?
https://stackoverflow.com/questions/70579956/how-to-get-the-type-of-an-network-adapter-wi-fi-ethernet-bluetooth-in-window
Get-NetAdapter *
//-------------------------------------
Win32_NetworkAdapter
https://powershell.one/wmi/root/cimv2/win32_networkadapter
Get-CimInstance -ClassName Win32_NetworkAdapter
'Tips' 카테고리의 다른 글
유튜브 플레이리스트 복사하는 방법 (0) | 2023.08.19 |
---|---|
엑셀 차트 사용법 (0) | 2023.05.14 |
Adobe Premiere Pro에서 VR 편집하기 (0) | 2023.03.11 |
엑셀 VBA 매크로 사용팁 (0) | 2023.02.28 |
[엑셀] 셀이 참조하는 셀 주소 얻기 (0) | 2023.02.28 |