npcap icon indicating copy to clipboard operation
npcap copied to clipboard

Error: SetWlanOperationMode::SetInterface error, error code = 50 (The request is not supported)

Open crazyRM opened this issue 3 years ago • 3 comments

i get error Error: SetWlanOperationMode::SetInterface error, error code = 50 (The request is not supported)

yes i have tried EVERYTHING i online nothing works

card is: AC1200 Wireless Dual Band PCI Express Adapter

i been told it works with monitor mode so yea

crazyRM avatar Aug 14 '21 09:08 crazyRM

I was getting that error when trying some commands from

https://npcap.com/guide/npcap-devguide.html#npcap-feature-loopback

Note- correction. Not exactly the link above. But going https://npcap.com/guide/npcap-devguide.html and scrolling down which would be https://npcap.com/guide/npcap-devguide.html#npcap-feature-dot11


when cmd not running as administrator!
C:\Users\User>netsh wlan show interfaces

There is 1 interface on the system:

    Name                   : Wireless Network Connection 6
    Description            : Broadcom BCM943228HM4L 802.11a/b/g/n 2x2 WiFi Adapter
    GUID                   : 2380bb39-c1e5-42bc-8d03-5e4e562ba42d
    Physical address       : 3c:77:e6:0c:45:88
    State                  : connected
    SSID                   : VM7617748
    BSSID                  : 40:0d:10:b5:9b:9f
    Network type           : Infrastructure
    Radio type             : 802.11n
    Authentication         : WPA2-Personal
    Cipher                 : CCMP
    Connection mode        : Auto Connect
    Channel                : 44
    Receive rate (Mbps)    : 300
    Transmit rate (Mbps)   : 300
    Signal                 : 85%
    Profile                : VM7617748

    Hosted network status  : Not started


C:\Users\User>Wlanhelper "Wireless Network Connection 6" mode
managed

C:\Users\User>wlanhelper "Wireless Network Connection 6" mode
managed

C:\Users\User>wlanhelper "Wireless Network Connection 6" mode monitor
Error: SetWlanOperationMode::SetInterface error, error code = 5 (Access is denied)
Failure

C:\Users\User>wlanhelper "Wireless Network Connection 6" mode managed
Error: SetWlanOperationMode::SetInterface error, error code = 5 (Access is denied)
Failure

C:\Users\User>

After opening cmd as administrator then when running them there

C:\Windows\system32>wlanhelper "Wireless Network Connection 6" mode
managed

C:\Windows\system32>wlanhelper "Wireless Network Connection 6" mode monitor
Success

C:\Windows\system32>wlanhelper "Wireless Network Connection 6" mode managed
Success

C:\Windows\system32>

no problems

gartha1 avatar Jun 18 '22 15:06 gartha1

I was getting that error when trying some commands from

https://npcap.com/guide/npcap-devguide.html#npcap-feature-loopback

Presumably you meant

https://npcap.com/guide/npcap-devguide.html#npcap-feature-dot11

because

https://npcap.com/guide/npcap-devguide.html#npcap-feature-loopback

is for loopback adapters, not 802.11 adapters, and therefore does not list the wlanhelper command - that command doesn't apply to the loopback adapter.

guyharris avatar Jun 18 '22 19:06 guyharris

ah yeah that's it, I'd just gone to that link and scrolled down, which would be, say you say, the "#npcap-feature-dot11" part,

gartha1 avatar Jun 19 '22 07:06 gartha1