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.72k stars 134 forks source link

Smart App Control State remain False #290

Closed hardwarebxl closed 3 months ago

hardwarebxl commented 3 months ago

Tools category

Harden Windows Security Module

Does Your System Meet The Requirements?

Is your Windows Installation Genuine?

Did You Read The Frequently Asked Questions?

Please Explain The Bug

On a clean Windows 23H2 installation, I run the script on either VMWare Workstation Pro or in Hyper-V and I get the warnings: WARNING: The parameter OobeEnableRtpAndSigUpdate is not available yet, restart the OS one more time after updating and try again. and so on, because Smart App Control State is not turned ON yet, but even after trying this myself and clearly seeing the state is ON, these warnings keep appearing, sometimes after several reboots I somehow get it to work, but I cannot say when and how. Is there some issue with Smart App Control on a virtual machine? Is this expected, or can it be fixed?

Error Details

No response

HotCakeX commented 3 months ago

My suggestion is giving the OS enough time to prepare itself after just installing and fully updating it, then reboot once or twice.

For comparison, if you run it on Azure VMs they don't need this extra wait time as they are fully updated already.

P.S the next version of Windows 11, 24H2, has all of these new Defender features by default from the beginning in the group policies so it won't need the Get-MpPreference cmdlet to activate those features.

So you see there isn't much I can do other than communicating the message to the user, at least for now. Hope that helps.