[w0lff4ng@site]: ~/cheat-sheets$ ./info
File: /home/w0lff4ng/cheat-sheets/habilitacion-rdp
Access: (0644/-rw-r--r--) Uid: (1000/w0lff4ng) Gid: (100/users)
Modify: 2026-10-22
[w0lff4ng@site]: ~/cheat-sheets$ cd habilitacion-rdp/█

Habilitación de RDP

techniquelateralwindows← índice

PowerShell

Validar si se permite el ingreso vía RDP:

Get-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Control\Terminal Server' -name "fDenyTSConnections"

Habilitar RDP en el host remoto:

$sess = New-PSSession -ComputerName <MACHINE>.<DOMAIN>
Enter-PSSession $sess
Set-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Control\Terminal Server' -name "fDenyTSConnections" -value 0