12.5 ChangePassword

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.

12.5.1 Prerequisite

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.

12.5.2 Resource Objects

Windows 2003 Server or later

12.5.3 Default Schedule

The default interval for this script is Run once.

12.5.4 Setting Parameter Values

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).