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 Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,551 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Rich Matheisen 46,811 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.

    0 comments No comments

  2. Limitless Technology 39,676 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

    0 comments No comments

Your answer

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