Share via

Windows Change Password Screen

Yakup Akpınar 1 Reputation point
2021-08-24T16:40:02.05+00:00

Hello,
I created a powershell toast notification script for change password.
And ı added a button. I want when click to button open Windows change password screen (ctrl+alt+Delete change password)
Which Code can open change password screen ?

Thanks
Yakup

Windows for business | Windows Server | User experience | PowerShell
0 comments No comments

2 answers

Sort by: Most helpful
  1. Limitless Technology 40,101 Reputation points
    2021-08-25T10:29:28.773+00:00

    Hello Yakup,

    Unfortunately, what admins can do in Windows 10 is just set scripts or email reminders for users to change password. Microsoft removed the functions that we used in Windows 7 like : rundll32.exe shell32.dll,Control_RunDLL password.cpl or similar that opened the GUI for changing password.

    Seems logical, for a number of reasons.

    Best regards!

    Luis P

    Was this answer helpful?

    0 comments No comments

  2. Rich Matheisen 48,116 Reputation points
    2021-08-24T18:21:28.66+00:00

    Ctrl+Alt+Delete cannot be sent from a program. That key combination generates a hardware interrupt from the keyboard. The whole point is to not allow some nefarious software to trick a user into giving away their password. It's been that way since, well, just about forever!

    Just have your code create a message box telling the user what to do.

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.