Tuesday, October 1, 2024

Wi-Fi Direct Virtual Adapter terdisable pada Windows 10

 JIka mengenable ethernet interface (khususnya interface virtual untuk wlan local windows 10) pada windows (khususnya windows 10) selalu gagal dengan command berikut



D:\presentasi\andCmd>netsh interface set interface name="Local Area Connection* 4" admin=ENABLED

No more data is available.


D:\presentasi\andCmd>netsh interface show interface

Admin State    State          Type             Interface Name
-------------------------------------------------------------------------
Enabled        Connected      Dedicated        Ethernet
Disabled       Disconnected   Dedicated        Ethernet 2
Enabled        Connected      Dedicated        Local Area Connection* 4
Enabled        Connected      Dedicated        Wi-Fi

Menjadi :
D:\presentasi\andCmd>netsh interface show interface

Admin State    State          Type             Interface Name
-------------------------------------------------------------------------
Enabled        Connected      Dedicated        Ethernet
Disabled       Disconnected   Dedicated        Ethernet 2
Enabled        Connected      Dedicated        Wi-Fi

setelah terdisable melalui Interface Connection Windows


dan gagal pula dengan command  wmic path win32_networkadapter where index=6 call enable

D:\presentasi\andCmd>wmic nic get name, index
Index  Name
0      Microsoft Kernel Debug Network Adapter
1      PANGP Virtual Ethernet Adapter Secure
2      Bluetooth Device (Personal Area Network) #2
3      Microsoft Wi-Fi Direct Virtual Adapter
4      Intel(R) Ethernet Connection (5) I219-LM
5      Intel(R) Dual Band Wireless-AC 8265
6      Microsoft Wi-Fi Direct Virtual Adapter
7      Microsoft Wi-Fi Direct Virtual Adapter
8      WAN Miniport (SSTP)


D:\presentasi\andCmd>wmic path win32_networkadapter where index=6 call enable
Executing (\\IOCN-2017-PC025\root\cimv2:Win32_NetworkAdapter.DeviceID="6")->enable()
ERROR:
Description = Invalid method Parameter(s)

D:\presentasi\andCmd>wmic path win32_networkadapter where index=7 call enable
Executing (\\IOCN-2017-PC025\root\cimv2:Win32_NetworkAdapter.DeviceID="7")->enable()
ERROR:
Description = Invalid method Parameter(s)


solusinya adalah melalui devmgmt.msc di command prompt, maka akan muncul  windows :




Lalu klik kanan pada Wi-Fi Direct Virtual Adapter > Enable.