Change local user account password
| 1 Votes |
Description
Important Notes
-
You must enter a password in order to take an action
-
Because of the way secure parameters work, you cannot use this task in a baseline, target an action dynamically by property (e.g., automatic groups), use add additional actions.
This fixlet is based on the following post on bigfix.me:
https://bigfix.me/fixlet/details/3670
Property Details
| 27377 | |
| Beta - Preliminary testing ready for more | |
| Change local user account password | |
| BESC | |
| Accounts | |
| 0 | |
| Internal | |
| 7/23/2025 12:00:00 AM | |
| User Account management | |
| danilohs on 7/23/2025 5:25:04 AM | |
| danilohs on 7/23/2025 5:25:04 AM | |
| 2519 Views / 10 Downloads | |
* Average over 0 ratings.
** Log In or Register to add your rating.
|
Relevance
isWindows (Relevance 1172)
windows of operating system
Actions
Action 1 (default)
Action Link
Change specified local user account password.
Script Type
BigFix Action Script
action parameter query "username" with description "Please specify the name of an existing local user account"Success Criteria
if {exists ((name of it as string as lowercase) of users) whose (it as string as lowercase contains parameter "username" of action)}
waithidden "C:\Windows\System32\net.exe" user {parameter "username" of action} {parameter "secret" of action}
continue if {exit code of action = 0}
else
exit 1
endif
This action will be considered successful when all lines of the action script have completed successfully.
Sharing
| Social Media: |

