Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improved dependency compatibility in the Harden Windows Security Module #514

Merged

Conversation

HotCakeX
Copy link
Owner

@HotCakeX HotCakeX commented Jan 7, 2025

The module will now detect if there was a problem loading its dlls and if it was, reloads PowerShell with -NoProfile switch to fix it.

Also a new message will be shown when installing the AppControl Manager and there is an incompatible policy on the system.

The module will not detect if there was a problem loading its dlls and if it was, reloads PowerShell with -NoProfile switch to fix it.

Also a new message will be shown when installing the AppControl Manager and there is an incompatible policy on the system.
@HotCakeX HotCakeX self-assigned this Jan 7, 2025
@Copilot Copilot bot review requested due to automatic review settings January 7, 2025 20:22
@HotCakeX HotCakeX added the Enhancement 💯 New feature or request label Jan 7, 2025
@HotCakeX HotCakeX linked an issue Jan 7, 2025 that may be closed by this pull request
3 tasks

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 5 out of 12 changed files in this pull request and generated no comments.

Files not reviewed (7)
  • Harden-Windows-Security Module/Main files/Core/Confirm-SystemCompliance.psm1: Language not supported
  • Harden-Windows-Security Module/Main files/Core/Protect-WindowsSecurity.psm1: Language not supported
  • Harden-Windows-Security Module/Main files/Core/Unprotect-WindowsSecurity.psm1: Language not supported
  • Harden-Windows-Security Module/Main files/Harden-Windows-Security-Module.psd1: Language not supported
  • Harden-Windows-Security Module/Main files/Harden-Windows-Security-Module.psm1: Language not supported
  • Harden-Windows-Security Module/Main files/Resources/XAML/AppControlManager.xaml: Language not supported
  • Harden-Windows-Security Module/Main files/C#/Others/GlobalVars.cs: Evaluated as low risk
Comments suppressed due to low confidence (2)

Harden-Windows-Security Module/Main files/C#/GUI/AppControlManager/View.cs:371

  • [nitpick] The error message is too long and might be confusing. Consider breaking it into shorter lines and clarifying the term 'self-signed with your on-device keys'.
Logger.LogMessage("Warning: A policy named 'Only elevate executables that are signed and validated' " +

Harden-Windows-Security Module/Main files/C#/GUI/AppControlManager/View.cs:356

  • The new behavior introduced in the try block should be covered by tests to ensure it works as expected.
try
@HotCakeX HotCakeX merged commit bad0e85 into main Jan 7, 2025
4 checks passed
@HotCakeX HotCakeX deleted the Improving-dependency-compatibility-with-other-modules branch January 7, 2025 20:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement 💯 New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: Clicking on AppControl Manager tab crashes the GUI
1 participant