HotCakeX / Harden-Windows-Security

Harden Windows Safely, Securely using Official Supported Microsoft methods and proper explanation | Always up-to-date and works with the latest build of Windows | Provides tools and Guides for Personal, Enterprise, Government and Military security levels | Read The Rationale https://github.com/HotCakeX/Harden-Windows-Security/blob/main/Rationale.md
https://hotcakex.github.io
MIT License
1.87k stars 148 forks source link

[Bug]: Device Guard block Windows Subsystem for Linux #137

Closed Acenl12 closed 1 year ago

Acenl12 commented 1 year ago

Tools category

Harden Windows Security Script

Does your system meet the requirements?

Is your Windows installation genuine?

Please explain the bug

When I try to run a WSL Distro I get the following:

Installing, this may take a few minutes...
WslRegisterDistribution failed with error: 0x800711c7
Error: 0x800711c7 Your organization used Device Guard to block this app. Contact your support person for more info.

Press any key to continue...

Please help in making WSL distro possible to run again.

HotCakeX commented 1 year ago

Hi, The message "Your organization used Device Guard to block this app" is related to WDAC policy or Smart App Control. Are you using any of them?

Also since this isn't a bug with the module I'm converting this into a discussion.