xfreerdp /v:192.168.1.10Initiates a standard RDP connection to the target IP address using default settings.
Connecting to Windows Remote Desktop from Linux with xfreerdp and rdesktop — including pass-the-hash, drive sharing and clipboard.
sudo apt install freerdp2-x11xfreerdp /u:administrator /v:192.168.1.10Specifies the username to use for the connection attempt.
xfreerdp /u:user /p:password123 /v:192.168.1.10Provides both username and password directly in the command line for automated login.
xfreerdp /u:user /d:CORP /v:192.168.1.10Specifies the Active Directory domain for the user account.
xfreerdp /v:192.168.1.10 /port:3389Explicitly sets the destination port, useful if RDP is listening on a non-standard port.
xfreerdp /v:192.168.1.10 /fLaunches the RDP session in full-screen mode.
xfreerdp /v:192.168.1.10 /size:1280x720Sets a specific window resolution for the remote desktop session.
xfreerdp /v:192.168.1.10 /size:80%Sets the RDP window size to a percentage of the local screen size.
xfreerdp /v:192.168.1.10 /multimonEnables multiple monitor support, spanning the session across all local screens.
xfreerdp /u:user /v:192.168.1.10 +clipboardEnables clipboard sharing between the local host and the remote RDP session.
xfreerdp /u:user /v:192.168.1.10 /drive:share,/home/user/filesMounts a local directory as a mapped drive inside the remote Windows session.
xfreerdp /v:192.168.1.10 /sound:sys:alsaRedirects remote audio output to the local machine using the ALSA backend.
xfreerdp /v:192.168.1.10 /microphone:sys:alsaRedirects local microphone input to the remote session.
xfreerdp /v:192.168.1.10 +printingEnables local printer redirection to the remote host.
xfreerdp /v:192.168.1.10 /cert-ignoreIgnores any invalid or self-signed certificate errors from the target.
xfreerdp /v:192.168.1.10 /cert-tofuUses Trust on First Use policy to accept the certificate once and warn on changes.
xfreerdp /v:192.168.1.10 /sec:nlaForces the usage of Network Level Authentication (NLA) protocol.
xfreerdp /v:192.168.1.10 /sec:tlsForces the usage of TLS encryption for the connection.
xfreerdp /v:192.168.1.10 /sec:rdpFalls back to standard RDP security (often less secure) if other methods fail.
xfreerdp /v:192.168.1.10 /network:lanOptimizes connection settings for a high-speed Local Area Network.
xfreerdp /v:192.168.1.10 /network:modemOptimizes connection settings for low-bandwidth connections by disabling wallpapers and themes.
xfreerdp /v:192.168.1.10 /bpp:16Reduces color depth to 16-bit to save bandwidth.
xfreerdp /v:192.168.1.10 +compressionEnables bulk compression to reduce data transfer size.
xfreerdp /v:192.168.1.10 /u:admin /pth:E52CAC67419A9A224A3B108F3FA6CB6DPerforms a Pass-the-Hash attack to authenticate using an NTLM hash instead of a password.
xfreerdp /v:192.168.1.10 /restricted-adminConnects in Restricted Admin mode, preventing credential exposure to the target machine.
xfreerdp /v:192.168.1.10 /client-hostname:spoofed-hostSpoofs the client hostname sent to the server during the connection sequence.
xfreerdp /v:192.168.1.10 +auto-reconnectAutomatically attempts to reconnect if the session drops.
xfreerdp /v:192.168.1.10 /auto-reconnect-max-retries:10Limits the number of automatic reconnection attempts to 10.
xfreerdp /v:192.168.1.10 /app:"||cmd"Uses RemoteApp feature to launch a single application (cmd) instead of a full desktop.
xfreerdp /v:192.168.1.10 /kbd:0x00000409Forces the keyboard layout to US English to prevent mapping issues.
xfreerdp /v:192.168.1.10 +fontsEnables font smoothing (ClearType) for better text readability.
xfreerdp /v:192.168.1.10 -wallpaperExplicitly disables the desktop wallpaper to improve responsiveness.
mstsc /v:192.168.1.10Basic command line execution for the native Windows Remote Desktop Connection client.
mstsc /v:192.168.1.10 /adminConnects to the console session (Session 0) or the administrative session of the server.
mstsc /v:192.168.1.10 /fStarts the native Windows RDP client immediately in full-screen mode.
mstsc /v:192.168.1.10 /w:1024 /h:768Launches the native client with specific width and height dimensions.
mstsc /edit connection.rdpOpens an existing RDP configuration file for editing without connecting.
mstsc /shadow:1 /v:192.168.1.10 /controlShadows (views) session ID 1 on the target server with control privileges.
mstsc /shadow:1 /v:192.168.1.10 /noConsentPromptShadows a session attempting to bypass the user consent prompt (requires policy configuration).
xfreerdp /v:192.168.1.10 /sec:rdp /cert-ignoreDeliberately downgrades security to test if the target alerts on weak encryption protocols.
xfreerdp /u:baduser /p:wrongpass /v:192.168.1.10Generates a failed login event (Event ID 4625) to test SIEM alerting rules.
xfreerdp /v:192.168.1.10 /drive:*,/tmpMounts all available local drives to test DLP controls or monitoring of drive redirection.
xfreerdp /v:192.168.1.10 /u:admin /p:pass /size:90% +clipboard /drive:share,./payloads /cert-ignoreA typical admin workflow connecting with credentials, sharing payloads, and ignoring cert warnings.
xfreerdp /v:192.168.1.10 /ssl-protocol:TLSv1.2Strictly enforces the use of TLS version 1.2 for the connection.
pkill -f xfreerdpForcefully terminates all running xfreerdp processes.
Nmap project’s high-speed network authentication cracker for RDP, SSH, SMB, FTP and other services, with timing controls.
The go-to WinRM shell for penetration testers: upload and download files, load PowerShell scripts and pass the hash.
Windows Remote Management from Linux and PowerShell: Enter-PSSession, Invoke-Command and service configuration.
OpenSSH: secure remote login, key management, file transfer and port forwarding — local, remote and dynamic SOCKS tunnels.