How do I change my Remote Desktop password through RDP?

Type your search query and hit enter:
All Rights ReservedView Non-AMP Version

ITExperience.NET

Type your search query and hit enter:
  • Homepage
  • Windows Tips 'n Tricks

10 ways to change password in Remote Desktop session

As a regular user of Remote Desktop sessions, you may have been confronted with the case to change your password. Control-Alt-Delete [CTRL-ALT-DEL] doesnt allow you to change the password in the remote session, but instead gives you a menu on your actual host

Contents hide
1 Change password in Remote Desktop
1.1 CTRL-ALT-END
1.2 On screen keyboard
1.3 Run the shell
1.4 Run a VBS-script
1.5 ALTGR-END
2 Reset your password in an RDP session
2.1 Active Directory Users and Computers
2.2 Net user
2.3 Powershell: Set-ADAccountPassword
2.4 Powershell: Set-LocalUser

Change password in Remote Desktop

There are many ways to change your password. Of course, when youre working on your physical computer, you may just hit CTRL-ALT-DEL, but this wont work in an RDP session

CTRL-ALT-END

Sometimes [but not always], CTRL-ALT-END helps you ctrl-alt-delete the session to change your password in the remote session. CTRL-ALT-END is the equivalent to CTRL-ALT-DELETE in RDP. However it depends on the OS-version session settings whether this works or not.

On screen keyboard

The On Screen Keyboard [OSK] is a virtual keyboard on your screen. This works in Windows Server 2012 / Windows 7 and higher. To reset your password with the OSK, follow these steps:

  1. Click Start
  2. Type osk and hit enter to open the on screen keyboard.
    If this doesnt work, press Windows+R to open your Run Command window. Type osk and click OK
  3. Press and Hold CTRL-ALT keys on your physical keyboard and then click on the DEL key in the virtual keyboard [on screen]
  4. Minimize the OSK
  5. Click Change a password.

Run the shell

You can directly launch the shell to get the Windows Security Options displayed. To do so, open the Run-box or open a command prompt and copy-paste:

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

Run a VBS-script

This one is nice too. Copy paste the lines below to a Notepad and save the file as securityoptions.vbs . Then open/run/execute the VBS. It will launch the Windows Security Options screen to change the password

************************************
Set objShell = CreateObject[Shell.Application]
objShell.WindowsSecurity
***********************************

ALTGR-END

In case you have a keyboard with the ALTGR-key, you may also use ALTGR+END to simulate CTRL-ALT-DELETE. I believe German keyboards in particuar have this key.

Reset your password in an RDP session

In contrast to changing a password, resetting a password does not require you to remember the current password. Instead you just overwrite the existing password [if any] and set a new password.

Active Directory Users and Computers

When logged on to a computer that has active directory tools installed, you may use Active Directory Users and Computers to reset the password . You need user account privileges to do so, however.

  1. Open Active Directory Users and Computers from your startmenu [or quicker: Start -> Run -> dsa.msc]
  2. Localize the account [tip: at top level, right-click and choose Find ]
  3. Right-click the account, and choose Reset Password

Net user

Assuming its a local user [so NOT a domain user account], you can use net user to change a users password. To do so:

  1. Click Start -> Run [or press Win+R]
  2. Type something like net user $username $password. I.e. if the user account is named Peter, you could reset its password by typing: net user Peter P@55w0rd.

Powershell: Set-ADAccountPassword

In case of a domain user account, you may use the Set-ADAccountPassword cmdlet in Powershell. Note that the Active Directory module must be loaded.

Set-ADAccountPassword -Identity Peter -NewPassword [Read-Host -Prompt Provide New Password -AsSecureString] -Reset

Powershell: Set-LocalUser

In case of a local user, you may use the Set-LocalUser cmdlet in Powershell to reset a local users password

Get-LocalUser Peter | Set-LocalUser -Password [Read-Host -Prompt Provide New Password -AsSecureString]

John van Ooijen
Next Easy fix Microsoft Office SDX helper high CPU usage »
Previous « Error 0x80040154 in Gears 5 and Metro Exodus [XBOX]

View Comments

  • Chris says:
    September 30, 2021 at 8:08 pm

    Thank you for posting all these alternatives !

  • Lakshminarayana says:
    September 6, 2021 at 4:31 pm

    thank u so much, it really helpful for me

  • Twana says:
    July 14, 2021 at 7:52 am

    Thanks

  • Sunny says:
    April 12, 2021 at 12:00 am

    This worked for me,

    //answers.microsoft.com/en-us/windows/forum/all/user-tile/8faf8cb6-5a8c-43cf-abf6-00de00a80fe5

    If you are getting this error, you are probably trying to reset the password and this should help:

    This procedure is the only one which worked for me on a Windows 2012 R2 RDP session:
    Click Start.
    Type osk [to bring up the on screen keyboard]
    Hit enter.
    Once the on screen keyboard is open, hold ctrl+Alt on your physical keyboard, then click on the del key in the on screen keyboard.
    Minimize the on screen Keyboard.

  • Nylo says:
    March 30, 2021 at 2:25 am

    Thank you so much.

  • Anthony says:
    February 17, 2021 at 11:36 pm

    Thank you

  • p k says:
    January 20, 2021 at 12:30 pm

    thank you so much for this trick

  • corbo says:
    December 22, 2020 at 2:03 pm

    Ctrl + Alt + end works . Many Thanks !

  • Claudiu C says:
    December 15, 2020 at 9:18 pm

    I tried OSK but pressing with the mouse Ctrl, Alt and Del. Not OK. Only when you press physically Ctrl&Alt and use OSK for Del is OK.

  • John Coleman says:
    December 12, 2020 at 2:14 pm

    OSK did the trick, thank you

Leave a Comment
2 years ago

    Related Post

  • Weer widget uitschakelen in taakbalk Windows 10
  • Remove Get Genuine Office warning
  • [2021] Change Edge default search engine to Google

Recent Posts

  • Be A Better Sysadmin

Automatically open ica file in Chrome and Edge

If you often work with Citrix sessions, you will probably recognize the following problem. As

3 months ago
  • General

Turn off weather widget in taskbar Windows 10

The Weather widget was introduced in the latest Windows 10 Cumulative Update, June 2021. The

4 months ago
  • Windows Tips 'n Tricks

Weer widget uitschakelen in taakbalk Windows 10

In de laatste cumulatieve update van Windows 10, juni 2021 is de Weer-widget geintroduceerd. De

4 months ago
  • Be A Better Sysadmin

Remove Windows Hello after disabling in Intune

Enabling Windows Hello for Business in Intune is quite easy as the Microsoft Docs are

5 months ago
  • No Errors No Problems

Fix Onedrive The tag present in the reparse point buffer is invalid

Onedrive's error The tag present in the reparse point buffer is invalid must be one

5 months ago
  • Windows Tips 'n Tricks

Remove Get Genuine Office warning

Some Office 2019 users experience a new yellow-colored warning stating "Get Genuine Office you may

6 months ago
All Rights ReservedView Non-AMP Version

Video liên quan

Chủ Đề