How to change RDP account password | Serverspace (2024)

One of the good habits of any PC user, and especially a system administrator, is to periodically change account passwords. The main thing is not to forget it later.

How to change password on remote desktop?:

  • How to change password in Windows Server 2008
  • How to change password in Winodows Server 2012 and Windows Server 2012 R2
  • How to change password in Windows Server 2016
  • Alternative way to change password in Windows Server 2016
  • How to change password on remote desktop computer with combination CTRL + ALT + END
  • How to change password on remote desktop with On-Screen Keyboard
  • How to change password with VBS-script or with PowerShell
  • How to change password using shell extension shortcut Windows Explorer
  • How to change password with Desktop Web Access
  • How to change password with CredSSP and NLA
  • How to change password with special RDP-file

In operating systems of the Microsoft Windows Server family, it is common to use the keyboard shortcut Ctrl + Alt + Del to change the password the problem is that the “three buttons” cannot be used through “Remote Desktop Connection”. Let's see how to change the password anyway.

Cloud Servers from $5/moIntel Xeon Gold 6254 3.1 GHz CPU, SLA 99,9%, 100 Mbps channel

In Windows Server 2008, this can be done from the Start menu by clicking on “Windows Security”.

On the updated screen, select “Change Password”.

How to change RDP account password | Serverspace (2)

How to change RDP account password | Serverspace (3)

We enter the old password and the new one and it's confirmation.

How to change RDP account password | Serverspace (4)

In Windows Server 2012 and Windows Server 2012 R2, the task has become somewhat more complicated.

Open the notebook and write two lines:

set objShell = CreateObject("shell.application")
objshell.WindowsSecurity

How to change RDP account password | Serverspace (5)

We save the file with the extension * .vbs (we write manually.). To do this, select File -> Save as ...

In a new window, select the directory to save the file, for example, Desktop. In the File type, select All files, and in the File name, specify an arbitrary name, for example, 1.vbs.

After saving the file, it is ready for execution. Double-clicking with the left mouse button will bring up a screen in which “Change password” should be selected.

How to change RDP account password | Serverspace (6)

Further, everything is familiar.

Fill in the fields with the old password, indicate the new password and its confirmation. Click on the arrow icon.

How to change RDP account password | Serverspace (7)

The Windows Server 2016 OS pleases with its attention to the user, but to change the password remotely, you still need to search for this item.

Open the Start menu and click on the user’s icon, select “Change account settings” in the menu that opens.

How to change RDP account password | Serverspace (8)

In the “Parameters” window that opens, select “Sign-in” options, and in the Password section, click on the Change button:

How to change RDP account password | Serverspace (9)

In a new window, specify the current password and click on the Next button.

How to change RDP account password | Serverspace (10)

The window will be updated and ask for a new password, its confirmation, as well as a hint for the password. Click on the button “Next”. As a result, click on the Finish button. The next login will be with a new password:

How to change RDP account password | Serverspace (11)

An alternative way

This method is applicable both for changing the password for your account and the accounts of other users.

From the Start menu, select Administration (“Administration Tools” in Windows Server 2016).

How to change RDP account password | Serverspace (12)

In a new window, double-click open “Computer Management”.

How to change RDP account password | Serverspace (13)

In the left part of the window that opens, open the “Local users and groups” branch and open the Users folder. In the main part of the window, right-click on the user and select “Set Password ...” in the context menu.

How to change RDP account password | Serverspace (14)

The system will issue a warning. Having carefully read which and having realized all the risks, click on the “Continue” button. Otherwise, “Cancel."

How to change RDP account password | Serverspace (15)

In a new window, specify the new password and its confirmation. When finished, click on the OK button.

How to change RDP account password | Serverspace (16)

How to change password on remote desktop with combination CTRL + ALT + END.

To get the combination CTRL + ALT + DEL on remote desktop, you need to press CTRL + ALT + END.
Pressing this combination will open a dialog box for us in which we will have to select "Change a password":

How to change RDP account password | Serverspace (17)

To change the password, we will need to provide some data:

How to change RDP account password | Serverspace (18)

How to change password on remote desktop using On-Screen keyboard.

When connecting to the desktop remotely, the password can be changed using the on-screen keyboard.
To open the on-screen keyboard, type "On-Screen Keyboard" or "OSK" in the Start menu.

How to change RDP account password | Serverspace (19)

After the on-screen keyboard appears, hold down the ALT + CTRL keys and use the mouse to press the Del button.

How to change RDP account password | Serverspace (20)

You will get a dialog box in which you yourself will need to select "Change a password":

How to change RDP account password | Serverspace (21)

To change the password, we will need to specify: username, old password and repeat the new password twice:

How to change RDP account password | Serverspace (22)

How to change password in RDP session with a VBS script or PowerShell.

To call the password change window using a VBS script, create the WindowsSecurity.vbs file and enter the following lines of code there:

set objShell = CreateObject("shell.application")

objshell.WindowsSecurity

After that, after double-clicking on this VBS script, a dialog box will open in front of you, in which we will need to select "Change password":

How to change RDP account password | Serverspace (23)

To change the password, we will need to specify: username, old password and repeat the new password twice:

How to change RDP account password | Serverspace (24)

Also, to open the password change window using PowerShell, open PowerShell itself using the Start menu and use the command:

New-Object -COM Shell.Application).WindowsSecurity()

How to change RDP account password | Serverspace (25)

After that, a dialog box will open in front of you, in which we will need to select "Change password":

How to change RDP account password | Serverspace (26)

To change the password, we will need to specify: username, old password and repeat the new password twice.

How to change RDP account password | Serverspace (27)

To open the change password dialog box, you can create a shortcut with a link to the Windows Explorer shell extension.

First, create a shortcut and specify the given path for it:

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

How to change RDP account password | Serverspace (28)

Next, choose a name for the label and create it:

How to change RDP account password | Serverspace (29)

After double-clicking on this shortcut, a dialog box will open in front of you, in which we will need to select "Change password":

How to change RDP account password | Serverspace (30)

To change the password, we will need to specify: username, old password and repeat the new password twice.

How to change RDP account password | Serverspace (31)

Change password with Remote Desktop Web Access

In Windows Server 2012 /R2 and later, remote users with Remote Desktop Web Access rights have the ability to reset their password themselves through a special web page on the Remote Desktop Web Access server.

The remote password change functionality is available on the server with the Remote Desktop Web Access role, but this feature is disabled by default.

To enable this feature:
Open the IIS Manager server management console and go to [Name of your Server] - Sites - Default Web Site - RDWeb - Pages and open the Application Settings section.

How to change RDP account password | Serverspace (32)

In the right pane, select the option named "PasswordChangeEnabled" and change its value to "true".

How to change RDP account password | Serverspace (33)

To check the availability of the password change page, go to: https://[RD-WEB-1]/RDWeb/Pages/en-US/password.aspx

After successfully changing the user's password, a message should appear:

Your password has been successfully changed.

How to change password in RDP witch CredSSP and NLA

Credential Security Support Provider (CredSSP) is a credential passing protocol used by RDP to protect DDoS attacks and unauthorized process execution.

Network Level Authentication (NLA) is a Remote Desktop Services feature that requires the connecting user to authenticate themselves before establishing a session with the server.

There is one important feature regarding changing an expired user password with RDP, related to the Network Level Authentication (NLA) option and the Credential Security Support Provider (CredSSP) protocol. By default, CredSSP with NLA for RDP is enabled on all versions of Windows starting with Windows Server 2012/Windows 8. NLA secures the RDP server by performing user authentication before establishing an RDP session with the server.

If the user's password has expired, or the user's AD administrator has enabled the option "userAccountControl" - wich requires to change password at first login, then an error will appear when logging in with RDP:

Remote Desktop Connection
You must change your password before logging on the first time. Please update your password or contact your system administrator or technical support.

As a result, the user will not be able to connect to the RDP server and change the password.

In this case, so that the user can change the password himself, you can:

1) Set up Remote Desktop Web Access (RDWA) with a password change page as in this part of the manual : How to change password with Desktop Web Access

2)Create a separate server for changing user passwords. On this server, you need to disable the NLA function. In this case, users will be able to change the password.

3) The user can change his password remotely with PowerShell - as shown in this part of the tutorial How to change password with VBS-script or with PowerShell

Changing the password on the remote desktop using a special RDP file:

If you want the user to change the password using an .rdp file, then you must match the RDP configuration level security settings on the RDS interface and the server .rdp file prestandard on the client interface.

Try on the client side, open mstsc.exe.
In the start menu, type "mstsc" and select "Remote Desktop Connection":

How to change RDP account password | Serverspace (34)

Next, we configure all the necessary parameters for connecting to the server.
Click "Show more", enter the IP address of our remote computer and username there, then, using the Save As button, create an RDP file:

How to change RDP account password | Serverspace (35)

After that, open the RDP file with a text editor and add the line at the end of the file:

enablecredsspsupport:i:0

How to change RDP account password | Serverspace (36)

Explanation: Adding this parameter to the RDP connection properties will allow the client to successfully establish an RDP session with the remote system and change the password before gaining access to the remote desktop. However, this setting will lower the security level of the RDP connection, as the client will not be able to use Network Level Authentication (NLA), which we described earlier in our article.

If NLA is enabled, then the user will not be able to connect and will receive the corresponding error:

How to change RDP account password | Serverspace (37)

The only way to fix this error is to lower the RDP security level on the RDS server side by disabling the mandatory Network Level Authentication (NLA) requirement.

Important!

We do not recommend doing this if your remote computer may be subject to DDoS attacks and unauthorized processes.

To change this setting, on a remote computer, in the start menu, enter "Control Panel":

How to change RDP account password | Serverspace (38)

Next, go to "System and Security":

How to change RDP account password | Serverspace (39)

After that go to "System":

How to change RDP account password | Serverspace (40)

We open the window that appeared in full screen and select "Advanced system settings": "Allow connections only from ...":

How to change RDP account password | Serverspace (41)

We will have a window with "System Properties", go to the part with "Remote Access" and uncheck the box "Allow connections only from ...", then click "Apply" and "OK":

How to change RDP account password | Serverspace (42)

After we have disabled the NLA function on the RDP server side, the client, using a special RDP file, can successfully establish an RDP session and change the password in it:

How to change RDP account password | Serverspace (43)

How to change RDP account password | Serverspace (44)

After that you will be able to connect with the new password.

So, we have considered all possible ways to change the account password with RDP.

Cloud Servers from $5/moIntel Xeon Gold 6254 3.1 GHz CPU, SLA 99,9%, 100 Mbps channel

How to change RDP account password | Serverspace (2024)

FAQs

How do I force change my RDP password? ›

All you have to do in the Remote Desktop Connection box is press “Ctrl + Alt + End” on your physical keyboard at the same time. The Security Options box will then appear. To access the “Change a password” interface, click Change a password.

How do I find my remote desktop username and password? ›

Your RDP username is always "Administrator" (this is case sensitive). Your administrator password is generally the password you use to log into Plesk with the username "admin" (although the administrator account and admin accounts can use different passwords).

How to change domain password using command prompt? ›

Reset Domain Administrator Password using Command Line and RMM
  1. Login to your RMM service.
  2. Open command prompt as system service, not logged on user.
  3. type “net user Administrator P@ssword123 /domain” (change the P@ssword123 to your desired password)
  4. You should see “The command completed successfully.”

How do I change my RDP 2012 R2 password? ›

To change the administrator's password in Windows Server 2012 R2 or Windows Server 2016, simply complete the following steps:
  1. Log in as Administrator User to your Windows Server 2012 R2 or Windows Server 2016.
  2. Press Ctrl+Alt+Del or Ctrl+Alt+End if you logged in to the Windows Server via RDP.
  3. Select Change a password.
Jun 9, 2015

How do I force a RDP login? ›

Step 1. Press "Win + R" to invoke the dialog box. Step 2. Enter mstsc /console /v:servername or ip address of remote computer /admin, such as mstsc /console /v:192.168.

How do I do a Ctrl Alt Delete on Remote Desktop? ›

While you are seeing the Remote Desktop window, simultaneously press the “CTRL,” “ALT,” and “END” keys on your keyboard. Instead of executing the standard CTRL-ALT-DEL command on your local computer, this command runs it on the remote machine.

Can I use RDP without password? ›

Can you use Remote Desktop without a password? The answer to this question is Yes! Generally, the default settings of RDP do not allow access without password. However, the remote connection without a password in RDP is available by changing some settings to allow blank password.

How to login Windows Server without password? ›

1 Answer. Ok found it, in the domain, make a group policy called no password and apply it only to that computer server, then edit it and go into computer configuration -> windows settings -> security settings -> account policies -> password policy. Edit minimum password lenght and set it to zero.

What does RDP stand for? ›

The Remote Desktop Protocol (RDP) is a protocol, or technical standard, for using a desktop computer remotely. Remote desktop software can use several different protocols, including RDP, Independent Computing Architecture (ICA), and virtual network computing (VNC), but RDP is the most commonly used protocol.

What is the command to change your password? ›

The passwd command sets and changes passwords for users.

How can I reset a PC if I forgot the administrator password? ›

One of the easiest ways to reset your PC without a password is by issuing the Restart command while pressing the SHIFT key. This allows us to invoke the same Reset operation as from the Windows Repair menu. On the Choose an option screen, click Troubleshoot: Reset your PC or see advanced options. Choose Reset this PC.

How do I reset my administrator password if I forgot it? ›

Windows 11, Windows 10, and Windows 8. x
  1. Press Win-r . In the dialog box, type compmgmt. msc , and then press Enter .
  2. Expand Local Users and Groups and select the Users folder.
  3. Right-click the Administrator account and select Password.
  4. Follow the on-screen instructions to complete the task.
Nov 29, 2021

How to configure RDP Server 2012 R2? ›

How to set up RDP on Windows Server 2012 R2
  1. Switch to the Local Server tab in the left sidebar, find the Remote Desktop column in the right window, and click Disable button next to it.
  2. In the System Properties window, switch to the Remote tab and click to select Allow remote connection to this computer.
Oct 27, 2022

How do I change my default RDP settings? ›

To do it:
  1. Connect to the Windows Client/Server over RDP. ...
  2. Navigate to the Remote Desktop Registry (RDP-Tcp) ...
  3. Change the default RDP port number. ...
  4. Connect to the windows computer after restarting via RDP and include the new RDP port.
  5. Confirm listening port for RDP.

Where are Remote Desktop credentials stored? ›

After a user has clicked the “Connect” button, the RDP server asks for the password and the Windows saves it to the Credential Manager (not to the . RDP file).

Top Articles
Latest Posts
Article information

Author: Chrissy Homenick

Last Updated:

Views: 6450

Rating: 4.3 / 5 (74 voted)

Reviews: 89% of readers found this page helpful

Author information

Name: Chrissy Homenick

Birthday: 2001-10-22

Address: 611 Kuhn Oval, Feltonbury, NY 02783-3818

Phone: +96619177651654

Job: Mining Representative

Hobby: amateur radio, Sculling, Knife making, Gardening, Watching movies, Gunsmithing, Video gaming

Introduction: My name is Chrissy Homenick, I am a tender, funny, determined, tender, glorious, fancy, enthusiastic person who loves writing and wants to share my knowledge and understanding with you.