How to handle the first RDP prompt to change the password in Windows 10

There is a Windows 10 machine. The system administrator has given an RDP account and password. Use this account to remotely log in to this machine. Enter the mstsc command on the command line. After entering the user name and password, you cannot log in normally, and you are prompted to change the password.
insert image description here

The prompt information is as follows:

"Connection failed, system prompts "You must change your password before logging in for the first time. Please update your password, or contact your system administrator or technical support."

But on the relevant interface of RDP, there is no place to modify it. How to solve it?

The processing steps are as follows:

  1. Run the program and enter mstsc to open the remote desktop program

  2. Click "Display Options" in the lower left corner
    insert image description here

  3. Remote Desktop file saved as .rdp
    insert image description here

  4. Use a text editor to edit the .rdp file and add at the bottom

enablecredsspsupport:i:0

The content of the file is similar to:
insert image description here

  1. Click on the .rdp file to make an RDP connection
  2. Then there will be a prompt to change the password, after the modification is completed, you can log in.


Guess you like

Origin blog.csdn.net/oscar999/article/details/131427034