Files
pentest.intro/content
quoije 703db36381 Fix RDP never being enabled
The discoverability-flyout tweak used New-Item -Force on a protected HKLM
key, which throws UnauthorizedAccessException. With ErrorActionPreference
Stop that aborted the bootstrap before the RDP block, so TermService stayed
stopped, fDenyTSConnections stayed 1 and no RDP firewall rule was enabled.
Anyone trying 3389 got a closed port.

Use New-ItemProperty in a try/catch, and make the RDP block defensive
(start the service, enable the rule group, log failures).
2026-10-22 22:40:00 -04:00
..
2026-10-22 22:40:00 -04:00