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.84k stars 143 forks source link

[Bug]: Azure VM, RDP getting logged off #97

Closed Acenl12 closed 1 year ago

Acenl12 commented 1 year ago

Tools category

Harden Windows Security Script

Does your system meet the requirements?

Please explain the bug

When you run this on an Azure VM (with the Microsoft Security Baselines option enabled) you get logged off and kicked out of the machine and can't get in anymore. Probably because the policies disable RDP. Please make something to detect that it's an Azure VM and don't apply those settings. I can help with that. Until that's done you should state that this shou;dm\t be run on azure vm because it breaks the connection to the VM.

HotCakeX commented 1 year ago

The readme says choose the option that applies Microsoft Security baseline + Optional overrides for Azure VMs.

https://github.com/HotCakeX/Harden-Windows-Security?tab=readme-ov-file#microsoft-security-baselines