Use this Knowledge Script to add a domain user account or local user account. A domain user account is added to the domain associated with the managed computer where the script runs. This script raises an event when the operation succeeds or fails.
NOTE: You cannot create a local user on a Windows Domain Controller.
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 to be added |
Provide the name of the user account to add. |
Password of user to be added |
Provide the password of the user account to add. |
Event if user was added? |
Set to y to raise an event if the user was added. The default is n. |
Event if user was not added? |
Set to y to raise an event if the user was not added. The default is y. |
Add domain user? |
Set to y to add the user as a domain user in the current client’s domain. If set to y, the user account is associated with the domain of the computer where the script is running. If set to n, a local user account is created on the computer where the script is running. The default is y. |
Event severity: User was not added |
Set the event severity level, from 1 to 40, to indicate the importance of an event in which the user was not added. The default is 12 (yellow event indicator). |
Event severity: User was added |
Set the event severity level, from 1 to 40, to indicate the importance of an event in which the user was added. The default is 25 (blue event indicator). |