Use this Knowledge Script to add a user account to Active Directory. You must run this script on a computer that is a Domain Controller. The user account is added to the domain associated with the computer where the script runs. This script raises an event when the 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 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 account was added. The default is y. |
Event if user was not added? |
Set to y to raise an event if the user account was not added. 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). |