[GH-ISSUE #3] Change own password without elevation #2

Closed
opened 2026-02-25 17:26:18 +03:00 by kerem · 1 comment
Owner

Originally created by @Anton-V-K on GitHub (Apr 16, 2022).
Original GitHub issue: https://github.com/akruhler/AccountManagement/issues/3

Is your feature request related to a problem? Please describe.
Ordinary user cannot change own password when running the program without administrative priviledges (without elevation).
Following error is shown:
image

Describe the solution you'd like
The program should allow changing own password without elevation.

Describe alternatives you've considered
Windows allows the user to change own password without elevation.

Originally created by @Anton-V-K on GitHub (Apr 16, 2022). Original GitHub issue: https://github.com/akruhler/AccountManagement/issues/3 **Is your feature request related to a problem? Please describe.** Ordinary user cannot change own password when running the program without administrative priviledges (without elevation). Following error is shown: ![image](https://user-images.githubusercontent.com/20116984/163691309-2d82e8f4-e046-4910-a8f1-01aac6a90c0a.png) **Describe the solution you'd like** The program should allow changing own password without elevation. **Describe alternatives you've considered** Windows allows the user to change own password without elevation.
kerem closed this issue 2026-02-25 17:26:18 +03:00
Author
Owner

@akruhler commented on GitHub (Apr 17, 2022):

Thanks for your request! While it is possible to invoke the ChangePassword() function to change one's password instead of setting it, this function unfortunately can't be invoked without administrative rights either, even when used on the currently logged in user. The only benefit of this feature being added would consequently be that it allows to change passwords without potential loss of login credentials, provided you know the old account password of course. But since the user could change the password by himself through logging in, it most probably would be an obsolete feature to add.

<!-- gh-comment-id:1100839862 --> @akruhler commented on GitHub (Apr 17, 2022): Thanks for your request! While it is possible to invoke the ChangePassword() function to change one's password instead of setting it, this function unfortunately can't be invoked without administrative rights either, even when used on the currently logged in user. The only benefit of this feature being added would consequently be that it allows to change passwords without potential loss of login credentials, provided you know the old account password of course. But since the user could change the password by himself through logging in, it most probably would be an obsolete feature to add.
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/AccountManagement#2
No description provided.