none
Cannot use WEKF class in WMIObject RRS feed

  • Question

  • Hi everyone,

    I'm trying to configure Keyboard Filter settings, but it always shows "invalid class" when I using "WEKF_xxx" (like "WEKF_settings", "WEKF_PredefinedKey") which suggested by below articles.

    docs.microsoft.com/en-us/windows-hardware/customize/enterprise/wekf-settings

    docs.microsoft.com/en-us/windows-hardware/customize/enterprise/keyboardfilter-add-blocked-key-combinations

    Does this class change its namespace? or how can I fix it please?

    I'm running it on admin right with Win10 Enterprise Evaluation system.

    Below is the script and error message. Thanks for the help!

    =================

    PS C:\WINDOWS\system32> get-wmiobject -class wekf_settings -namespace root\standardcimv2\embedded

    ==================

    get-wmiobject : Invalid class "wekf_settings"
    At line:1 char:1
    + get-wmiobject -class wekf_settings -namespace root\standardcimv2\embe ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : InvalidType: (:) [Get-WmiObject], ManagementException
        + FullyQualifiedErrorId : GetWMIManagementException,Microsoft.PowerShell.Commands.GetWmiObjectCommand

    ================

    Sunday, October 22, 2017 7:12 AM

Answers

  • This isn't a WDK or driver question. Try asking in the Powershell forum

     -Brian


    Azius Developer Training www.azius.com Windows device driver, internals, security, & forensics training and consulting. Blog at www.azius.com/blog

    Sunday, October 22, 2017 6:17 PM
    Moderator
  • I reproduced your error, but this forum is not the place for this question; try either the Powershell forum I linked to, or the Script Center

     -Brian


    Azius Developer Training www.azius.com Windows device driver, internals, security, & forensics training and consulting. Blog at www.azius.com/blog

    Monday, October 23, 2017 7:09 AM
    Moderator

All replies

  • This isn't a WDK or driver question. Try asking in the Powershell forum

     -Brian


    Azius Developer Training www.azius.com Windows device driver, internals, security, & forensics training and consulting. Blog at www.azius.com/blog

    Sunday, October 22, 2017 6:17 PM
    Moderator
  • Hi Brian,

    Thanks for your help.

    But even if I tried "Get-WmiObject -List" function and still cannot find the specified class listed in the said namespace suggested by below articles..?

    docs.microsoft.com/en-us/windows-hardware/customize/enterprise/wekf-settings

    docs.microsoft.com/en-us/windows-hardware/customize/enterprise/keyboardfilter-add-blocked-key-combinations

    or any other way to configure Keyboard Filter to block some desired predefined key combinations and set a key sequence to break out for the admin?

    Thanks!

    -Holly

    Monday, October 23, 2017 1:39 AM
  • I reproduced your error, but this forum is not the place for this question; try either the Powershell forum I linked to, or the Script Center

     -Brian


    Azius Developer Training www.azius.com Windows device driver, internals, security, & forensics training and consulting. Blog at www.azius.com/blog

    Monday, October 23, 2017 7:09 AM
    Moderator
  • I see.. I reposted it in the script forum. Thanks, Brian.

    Thursday, October 26, 2017 6:24 AM