How to remotly enable remote desktop

Here is a way to remotly enable the remode desktop thanks to psexec.

Configuration

Commands

Enable remote desktop

PS C:\Users\Administrator> PsExec.exe \\remote_computer reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server" /v fDenyTSConnections /t REG_DWORD /d 0 /f
Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.

Contact :