Use this Knowledge Script to change the password for a specified domain user account or local user account. This script raises an event when the change password operation is successful or when it fails.
Before running this script, ensure that the AppManager Client Resource Monitor service (netiqmc.exe) is set to log on as a domain user account in the same domain as, or a domain trusted by, the target computer.
Windows 2003 Server or later
The default interval for this script is Run once.
Set the following parameters as needed:
Parameter |
How to Set It |
---|---|
Name of user account |
Provide the name of the user account whose password should be changed. The default is guest. |
New password for user account |
Provide the new password for the user account. |
Is the account a domain user? |
Set to y to change the password for a domain user account. Set to n to change the password for a local user account. If set to y, the affected domain user account is one associated with the domain of the managed client where the Knowledge Script job is running. The default is y. |
Event if password was changed |
Set to y to raise an event if the password is changed successfully. The default is n. |
Event if password was not changed |
Set to y to raise an event if the password is not changed. The default is y. |
Event severity: Password was not changed |
Set the event severity level, from 1 to 40, to indicate the importance of an event in which the password was not changed. The default is 12 (yellow event indicator). |
Event severity: Password was changed |
Set the event severity level, from 1 to 40, to indicate the importance of an event in which the password was changed. The default is 25 (blue event indicator). |