locked
Call to WlanIhvControl from non-administrator account login RRS feed

  • Question

  • A Native Wifi API call may fail when a caller does not have adequate
    permissions. By default, only a user who is logged on as a member of
    the Administrators group or the Network Configuration Operators group
    can use the Native Wifi API.

    Then, if I used the non-administrator account to logged on the Windows 8.
    It fails when I called the "WlanIhvControl".
    I can not get any information from the driver. (It is no problem when
    I logged on as administrator or use "Run as Administrator".)

    For a call to WlanIhvControl,  Permissions are stored in a DACL associated with a wlan_secure_ihv_control (WLAN SECURE OBJECT). For a successful call to WlanIhvControl (using non-administrator login), we need to modify the default DACL associated with it.  And the default permissions stored in the DACL can be changed using the WlanSetSecuritysettings function.

    But when I call the API "WlanSetSecuritySettings".
    It returns "ERROR_ACCESS_DENIED".
    It was still unworkable.

    Could you please give me some suggestion?
    Thank you very much

    Tuesday, September 25, 2012 3:29 AM