Share via

WDACConfig error installing

Anonymous
2024-06-28T08:54:53+00:00

Hi,

I'm trying to install the hardening tool WDACConfig, I've got it partially installed by running the command "Install-PSResource -Name WDACConfig" but when I try to install the module with the command "Install-Module -Name 'WDACConfig' -Scope 'AllUsers' -Force" I get the following (non-descript) errors: "Install-PSResource: The signature for 'WDACConfig' is 'UnknownError." and "Install-PSResource: Package(s) 'WDACConfig' could not be installed from repository 'PSGallery'." PSGallery is set as trusted :

Get-PSResourceRepository Name Uri Trusted Priority --------------------- PSGallery

https://www.powershellgallery.com/api/v2 True 50

So I'm unsure what the problem is, as my PowerShell knowledge is limited.

I appreciate the time anyone spends helping me out.

Lee

***moved from Windows / Windows 11 / Security and privacy***

Windows for business | Windows Client for IT Pros | User experience | Remote desktop services and terminal services

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

1 answer

Sort by: Most helpful
  1. Anonymous
    2024-07-01T05:34:50+00:00

    Hi,

    What version of PowerShell are you using? The minimum version required by the WDACConfig module is 7.4.2.

    PowerShell Gallery | WDACConfig 0.4.0

    Please see if you can install the module by specifying a different version with the "-RequiredVersion" parameter.

    Also try adding the "-SkipPublisherCheck" parameter to skip the check.

    Install-Module -Name 'WDACConfig' -Scope 'AllUsers' -Force -SkipPublisherCheck
    

    Was this answer helpful?

    0 comments No comments