9

We all know the official, documented, and supported way to "change" your password is to press:

  • Ctrl + Alt + Del

and then select Change Password.

Except that doesn't work if you are connected to a machine over remote desktop.

Attempt #2 - Ctrl+Alt+End

We all know the official, documented, and supported way to "change" your password on a remote computer is to press:

  • Ctrl + Alt + End

This hotkey combination is sent by the Remote Desktop Client to the server as Ctrl+Alt+Del, causing the option Change Password to appear.

But if you are connected to an RDP session, which is connected to an RDP session, then you cannot use CAD or CAE; because neither reach the final final final computer.

Attempt #3 - On-screen keyboard

Some people suggest a workaround here is to use the on-screen keyboard inside the RDP window inside the RDP window, and then press Ctrl + Alt + Delete on the on-screen keybaord.

Except we all know that doesn't work:

enter image description here

Attempt #4 - Change account settings

And the final insult is if you try to go to your account to "change" your password, and it tells you the most unhelpful thing:

enter image description here

How do you change your password on a machine that you are connected to through 2, 3, 4, or more levels of RDP indirection?

Attempt #5 - More attempts at using the on-screen keyboard

  • Machine 0: RDP into machine 1.
  • Machine 1: RDP into machine 2.
  • Machine 2: Open the On-Screen Keyboard.
  • Machine 2: RDP into machine 3. Un-fullscreen the RDP session.
  • Machine 2: Use the OSK to press Ctrl-Alt-End.

Does nothing.

Attempt #6 - pspasswd

This does not change my password; it resets it.

Attempt #7 - More attempts at "Change account settings"

Doesn't work because there is no option to change your password:

enter image description here

Attempt #8 - net user

This does not change my password; it resets it.

Bonus Chatter

I say "change" your password (in quotes), as to distingush it from "resetting" your password.

  • the former changes your password
  • the latter causes you to lose access to all your certificate private keys, saved passwords, etc

Because you "reset" your old password rather than "change" it, and those private things are encrypted (essentially) with your password.


How do you access the Windows Change password user interface over remote desktop, over remote desktop, over remote desktop?

Regarding 3rd party applications: Corporate policies and security people lose their minds when i instal 3rd party software on the internal servers. I have no problem telling them where to go. But any answer should probably be suitable for the people who are afraid of telling security people, auditors, and governments where to go.

14
  • 1
    Is the PowerShell Set-ADAccountPassword cmdlet an option available to you? Commented Jul 9, 2021 at 20:29
  • @spikey_richie "The term 'Set-ADAccountPassword' is not recognized as the name of a cmdlet, function, script file, or operable program." Also that "resets" someone's password, where we need to "change" their password (which requires knowing the old password - otherwise they lose all their encrypted data - bad bad bad bad bad bad bad idea)
    – Ian Boyd
    Commented Jul 10, 2021 at 21:35
  • 2
    Can't you open a cmd with Administrator priviledge, and do net user Username NewPassword ?
    – 1NN
    Commented Mar 30, 2023 at 18:41
  • If you can change the software, It looks like anyviewer has a dedicated ctrl+alt+del command: anyviewer.com/how-to/ctrl-alt-delete-remote-desktop-8657.html
    – 1NN
    Commented Mar 30, 2023 at 20:00
  • Also, maybe sticky keys might work ? superuser.com/a/873638/714576
    – 1NN
    Commented Mar 30, 2023 at 20:04

7 Answers 7

2

I was having the same issue but I am on the Remote Desktop Web Client.

from some Microsoft Documentation I managed to change my password by hitting Ctrl+Alt+End from my physical keyboard that triggers Ctrl+Alt+Del on the remote session, perhaps some variation of this via being triggered from inside the first remote to the second remote triggers this.

1
  • Thanks for the tip. Actually, holding Ctrl+Alt on physical keyboard and clicking Del button on the on-screen keyboard in remote desktop did the trick. Commented Sep 1, 2023 at 0:41
1

This answer has 17 upvotes in a separate superuser thread. Hope it works for you:

STICKY KEYS IS THE ANSWER

There is another way which will work regardless of OS and as many nested RDC sessions as you can wrap your head round. With the focus in the inner most RDC session, quickly press the shift key 5 times. This will bring up the Sticky Keys window, and one window for each level of nesting. When prompted to turn on sticky keys, click Yes/Ok for your most nested session, and No/Cancel for the outer sessions. Now with the focus still on the inner most nested session, press ctrl (then let go), press alt (then let go), press delete.

Tadah!

To turn off sticky keys, with the focus on the nested session, press shift 6 times and click No/Cancel.

1

Press ctrl+alt on the physical keyboard followed by del on the on screen keyboard.

0

A. Try to press the start button > tap on the user name > settings > change password. enter image description here

B. Search for "Computer Management" in the start menu and launch it. Then go to "Users Management", right click on your user and then select "Set password". enter image description here

Edit:

As it would seem, since you are probably not a domain admin, just call tech-support and ask them to reset your password. They can tick "ask for password next login" in Active-Directory, which will make you select a new password for the user account.

I don't understand the problem between reseting and changing your password and have commented about it in response to your message.

12
  • I've commented like that because I know I'm right. The second method works for both Domain-joined and Non-domain-joined computers, and over several layers of RDP. The leading answer IS a heck of a guess... He just spoke with much more confidense! Did you downvote my answer? Did Ian ever tried to use that? Did he encountered a problem?
    – Netan
    Commented Apr 1, 2023 at 9:17
  • I mean... re-reading that - I'm not mad or something... This answer will solve it for future members coming accross this conversation... But it WAS more helpful than it currently is.
    – Netan
    Commented Apr 1, 2023 at 10:39
  • “I don't understand the problem between reseting and changing your password and have commented about it in response to your message.” - It disables access to any files encrypted with EFS unless you have the original certificate. It also breaks credential manager. Resetting a password isn’t what the author wants.
    – Ramhound
    Commented Apr 1, 2023 at 15:08
  • I meant like, I'm really familiar with Windows etc but never heard that changing a password for a DOMAIN USER will interfere with Bitlocker or any imported certificates. The user is being identified with his SID and the system is being decrypted long before logon screen.
    – Netan
    Commented Apr 2, 2023 at 16:10
  • A warning when you Reset a user’s password specifically warns you have potential issues with encrypted files.
    – Ramhound
    Commented Apr 2, 2023 at 16:34
0

For changing the password of a remote network computer, you may use the free PsPasswd.

Example :

pspasswd \\workstation64 jdoe password567

The description of the pspasswd command-line :

Syntax

pspasswd [[\\computer[,computer[,..] | @file 
     [-u user [-p passwd]]] Username [NewPassword]

Options:

computer   The computer on which the user account resides. Default=local system 

-p passwd  Specify a password for user (optional). Passed as clear text.
           If omitted, you will be prompted to enter a hidden password.

-u user    Specify a user name for login to remote computer(optional).

@file      Execute the command on each of the computers listed in the file.

Username   Name of account for password change.

NewPassword  The new password, If ommitted a NULL password is applied.

-accepteula Suppress the display of the license dialog.

Related command for use on the local computer is net user, whose syntax is one of the following:

net user [<UserName> {<Password> | *} [<Options>]] [/domain]
net user [<UserName> {<Password> | *} /add [<Options>] [/domain]]
net user [<UserName> [/delete] [/domain]]

Since there seems some disagreement on whether PsPasswd changes or resets the password, although when Mark Russinovich says "change an account password" I do tend to accept his words as-is, I did find a commercial product that is explicitly said to change the password.

The product is Password Assistant, part of the EventSentry suite of utilities. It's unclear whether this product is free if used alone or priced at $98.00 per Windows device (if it requires buying the entire suite).

In a review at FREE: Password Assistant – Change the local administrator password on multiple computers, where the author discusses the difference between Password Assistant and a previous product that he reviewed, he says:

A while back I discussed the similar tool NetWrix Bulk Password Reset. The main difference between Password Assistant and the NetWrix tool is that with the latter, you reset the password, whereas with the Password Assistant you change the password. "Resetting" means that you don't have to know the current password, whereas to "change" the password you have to specify the old password. Changing the password is usually the preferable method because, if you reset the password, the user might lose data such as EFS encrypted files or stored Internet Explorer credentials.

3
  • The problem with resetting a user's password is that it resets their password - rather than changing their password. The difference is that if you reset their password, they lose all their private keys, encrypted certificates, stored passwords, lose access to all their encrypted files. That's why you should never reset someone's password, but instead change it. I want to change my pasword.
    – Ian Boyd
    Commented Apr 3, 2023 at 20:01
  • I'm not sure that pspasswd resets the password, as after all it needs the current password in order to do its job. It might need some testing, but I would think that it does the same as logging in and changing the password. For reset, it would just need the credentials for an admin login. The documentation also says "change an account password", and Mark Russinovich is very specific about Windows terminology.
    – harrymc
    Commented Apr 3, 2023 at 20:06
  • In any case, I added one more product to my answer.
    – harrymc
    Commented Apr 5, 2023 at 9:01
0

This is a long shot - do you have the option to download TeamViewer on both machines? This will give you the command to run Ctrl Alt Del on the end machine.

I appreciate it doesn't resolve resetting via RDP but you have tried all of the answers I could come up with so this ones more a workaround suggestion.

1
  • Your answer could be improved with additional supporting information. Please edit to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers in the help center.
    – Community Bot
    Commented Apr 6, 2023 at 12:34
0

I can't remember exactly where I found this before, but this works for me when using an alternative RDP client (Remmina, where I can't enter Ctrl+Alt+End) to access Windows 10 from Linux.

C:\Windows\explorer.exe shell:::{2559a1f2-21d7-11d4-bdaf-00c04f60b9f0}
1
  • Your answer could be improved with additional supporting information. Please edit to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers in the help center.
    – Community Bot
    Commented Jun 17, 2023 at 4:50

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .