Categories
Welcome Center
Education & Development
Discussions
Certification Preparation
Recent Posts
Groups
Free Resources
Ebooks
Free Workshops
Trending Certifications Infographic
Infosec Training
IT & Security Training
Live Boot Camps
Security Awareness Training
About Infosec Institute
Home
Certification Preparation
Microsoft
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
Save $250 on 2025 certification boot camps from Infosec!
Book now with code EOY2025
Button
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
INFOSEC Boot Camps
$250
OFF
Use code
EOY2025
to receive $250 off your 2025 certification boot camp!
BROWSE BOOT CAMPS