Indice

Using Ctrl + Alt + End para cambiar la contraseña de RDP

Una de las principales dificultades al trabajar en sesiones RDP es que el sistema local a menudo captura atajos de teclado globales como Ctrl + Alt + Supr. Para superar esto, Microsoft ofrece una alternativa específica para la sesión: Ctrl + Alt + Fin.

Comprendre le raccourci Ctrl + Alt + Fin

Ctrl + Alt + End emulates Ctrl + Alt + Del within a Remote Desktop session. This combination opens the Windows Security screen, allowing access to multiple options including:

  • Verrouiller la session
  • Cerrar sesión
  • Start Task Manager
  • Cambiar una contraseña

This is the recommended method for domain-joined users and for remote servers where GUI access is enabled.

Cuando funciona y cuando no funciona

Esta método requiere:

  • Eine vollständige RDP-Desktop-Sitzung (nicht RemoteApp)
  • Versión de Windows OS que admite la pantalla de seguridad de Windows
  • Proper user rights to change passwords (e.g., not disabled via Group Policy)

In minimal or headless environments, this method might be unavailable due to restricted GUI features.

Changing RDP Password Using the On-Screen Keyboard (OSK)

Pour les environnements avec une fonctionnalité de clavier limitée, tels que les clients légers, les machines virtuelles ou l'accès basé sur des tablettes, le clavier visuel Windows (OSK) offre une alternative pour simuler Ctrl + Alt + Suppr.

Guía paso a paso para usar OSK para cambiar la contraseña

  1. Lancez le clavier à l'écran ; appuyez sur Win + R, tapez osk et appuyez sur Entrée.
  2. Simuler Ctrl + Alt + Suppr
    • Hold Ctrl and Alt on your physical keyboard.
    • Click the Del key on the OSK.
  3. Open Password Change Interface
    • Desde la pantalla de Seguridad de Windows, haga clic en Cambiar una contraseña.
    • Entrez le mot de passe actuel, le nouveau mot de passe et la confirmation.

This method works regardless of the physical keyboard limitations and is particularly useful in virtual environments where USB passthrough is restricted.

How to Change Password Over RDP Using Command Line Tools

Les méthodes en ligne de commande sont idéales pour Administrateurs informatiques , permettant des modifications scriptées ou à distance sans naviguer à travers les menus de l'interface graphique. Cela est particulièrement utile lors de la gestion de plusieurs comptes utilisateurs ou de l'automatisation de la rotation des mots de passe.

net user Command (Local ou Utilisation à distance)

El comando net user es una herramienta simple y efectiva:

net user username newpassword

Requisitos:

  • Must be run from an elevated Command Prompt
  • Requires local administrator rights or remote PowerShell/SSH access
  • Target user must exist on the local machine or be reachable in the domain

Example:

net user admin SecurePass2025!

Use this carefully—passwords passed in plaintext can be exposed via command history or process monitoring tools.

Nota de Seguridad

Avoid scripting net user with plaintext passwords unless it is within a secure, encrypted deployment framework (e.g., PowerShell DSC or encrypted credential vaults).

Changing Passwords via PowerShell (Local & Domain)

PowerShell offre un contrôle moderne et orienté objet sur les comptes utilisateurs, à la fois sur les machines locales et dans les environnements Active Directory.

Set-LocalUser pour les comptes locaux

Este cmdlet permite cambios de contraseña seguros en máquinas independientes o que no pertenecen a un dominio:

Set-LocalUser -Name "johndoe" -Password (ConvertTo-SecureString "N3wSecureP@ss" -AsPlainText -Force)

Requisitos:

  • Windows PowerShell 5.1 o posterior
  • Local administrator privileges

Set-ADAccountPassword pour les comptes de domaine

Pour changer le mot de passe d'un utilisateur de domaine :

Set-ADAccountPassword -Identity "johndoe" -NewPassword (ConvertTo-SecureString "NewDomP@ss123!" -AsPlainText -Force) -Reset

Zusätzliche bewährte Verfahren:

  • Import the AD module: Import-Module ActiveDirectory
  • Ejecutar PowerShell como un administrador de dominio o administrador delegado

Sécurité des identifiants

Always avoid embedding passwords in plain text—use secure strings or secure vaults (e.g., Azure Key Vault, Windows Credential Manager).

Changing RDP Password via Administrative Tools

Windows ofrece consolas integradas para gestionar usuarios y restablecer contraseñas de manera eficiente, especialmente en Active Directory o entornos de terminal multiusuario.

Utilizando la Administración de Equipos (compmgmt.msc)

Pour les utilisateurs locaux :

  1. Open compmgmt.msc
  2. Naviguer vers Utilisateurs et groupes locaux > Utilisateurs
  3. Right-click the target user → Set Password
  4. Follow the dialog to reset the password securely

Utilizando Usuarios y Equipos de Active Directory (ADUC)

Para entornos unidos a un dominio:

  1. Lancez dsa.msc ou ADUC à partir des outils RSAT
  2. Locate the user → Right-click → Reset Password
  3. Appliquer des politiques de mot de passe, expiration et invites de connexion suivantes

ADUC intègre également des capacités de journalisation des audits et de délégation, ce qui est essentiel pour la conformité informatique.

Utilizando VBS o scripts de Shell para activar diálogos de contraseña

When GUI access is restricted, or you're automating password changes across systems, scripting offers a workaround to open the password change dialog.

Visual Basic Script (VBS)

Save the following content into ChangePassword.vbs:

Set objShell = CreateObject("Shell.Application")

objShell.WindowsSecurity

Running this script in the RDP session will simulate Ctrl + Alt + Del.

Shell Folder Command

Ejecuta esto en PowerShell o a través de Ejecutar:

explorer.exe shell:::{2559a1f2-21d7-11d4-bdaf-00c04f60b9f0}

This launches the same Windows Security menu where the Change a password option appears.

Note: These methods rely on shell access being permitted. GPO restrictions may block them.

Gestion des mots de passe expirés dans Remote Desktop

When a password expires, the RDP client may reject login attempts without offering an option to reset the password—especially in older or restricted configurations.

Comportamiento Típico

In vielen RDP-Setups:

  • La sesión se cierra inmediatamente al fallar el inicio de sesión.
  • No option to change the password is offered
  • El mensaje de error puede variar (por ejemplo, "El nombre de usuario o la contraseña son incorrectos")

Soluzioni

  1. Preemptar advertencias de expiración: Configurar políticas de grupo para mostrar alertas de expiración y permitir a los usuarios cambiar contraseñas por adelantado.
  2. Enable NLA Password Change: Set the AllowPasswordReset policy in RDP host or client configurations.
  3. Admin Reset: Use ADUC or PowerShell to reset the user’s password manually.
  4. Integración del Portal Web: Despliegue de portales de restablecimiento de contraseña de autoservicio con autenticación multifactor.

Secure su infraestructura RDP con TSplus Advanced Security

While changing passwords is a critical aspect of remote desktop management, true protection requires layered defense. TSplus Advanced Security enhances your RDP infrastructure with powerful tools like IP filtering, brute-force protection, and time-based access control. Designed for IT professionals, it helps enforce security policies and block threats proactively—ensuring robust, centralized control over all remote access points in your organization.

Conclusione

Managing password changes in Remote Desktop environments is a vital task for ensuring user security and maintaining operational integrity across remote systems. From keyboard shortcuts and command-line tools to advanced scripting and administrative interfaces, IT professionals have a wide range of options to facilitate secure password management. By mastering these techniques and pairing them with robust tools like TSplus Advanced Security , las organizaciones pueden proteger con confianza su infraestructura RDP contra amenazas en evolución.

Articoli correlati

back to top of the page icon