I am running a batch file for creating new users in the Active Directory
using dsadd command, as a schedule task and it gives an error in the log file
as "The task completed with an exit code of (1), and the users are not
created.
I have a user created as NSUser and made it a member of Domain Users and
Account Operators, and using this account to run the schedule task.
But when I make the NSUser a member of Administrators group the task runs
successfull without any errors and the user accounts are created using the
batch file.
Bookmarks