Home
Certification Preparation
Microsoft
MCTS / MCITP on Windows 2008 General
Pre-Windows2000 logon name exists
Lunchbocks
I am currently working on the labs for Automating Account Creation. While trying to create a user account with a PowerShell script, I kept getting the following error:
Exception calling "SetInfo" with "0" argument(s): "The object already exists. (Exception from HRESULT: 0x80071392)"
At C:\Users\Administrator\Desktop\newuser.ps1:4 char:17
+ $objUser.SetInfo( <<<< )
So I tried to create the user account with ADU&C, and got an error stating that the Pre-Windows 2000 logon name already exists in the domain. I looked throughout ADU&C, and even did a search via find users and dsquery, and there is nothing with the user account. Also, it is not an account I remember creating. Does anyone have any idea why this might be?
For the sake of the labs, I changed the logon name from scott.mitchell to scottmitchell.
Thanks,
Find more posts tagged with
Comments
Hyper-Me
Did you look for it in ADSI?
Lunchbocks
No I didn't, I'll do that tonight when I get home and see what I find. I think I might know what happened. One of my earlier automated account creation PS scripts failed (fat-fingered it). I wonder if it had created the name even though it failed?
I'll post back what I found.
Quick Links
All Categories
Recent Posts
Activity
Unanswered
Groups
Best Of