rob-
asked on
dsadd user help
In Windows 2008, logged on with the admin account, I run:
dsadd user "CN=Example User,OU=Users,OU=SomeLocat ion,OU=MyB usiness,DC =PJ,DC=loc al" -fn Example -ln User -display "Example User" -company "Example Company" -dept Department1 -email bb@example.co.uk -pwdneverexpires yes -u bb -p 4edXed23
and get the error:
dsadd failed:The logon attempt failed
I can't find much help with this error on Google.
Any help? I Have also tried running the code in a command prompt 'opened as administrator'.
The OU's are set up okay, I created a user object then used dsquery to get it's CN path which matched the example okay.
Thanks
Rob
dsadd user "CN=Example User,OU=Users,OU=SomeLocat
and get the error:
dsadd failed:The logon attempt failed
I can't find much help with this error on Google.
Any help? I Have also tried running the code in a command prompt 'opened as administrator'.
The OU's are set up okay, I created a user object then used dsquery to get it's CN path which matched the example okay.
Thanks
Rob
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER