Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


BTR



1293 posts

Uber Geek
+1 received by user: 331

Subscriber

Topic # 142716 21-Mar-2014 15:00
Send private message

Before anyone jumps to conclusions I am a Mac user and have had my first experience with Server 2012 today. I have setup AD and am at the point of importing users, over 600 to be exact.

My question is simple, is there a way of doing the whole lot in one go and have them added to the correct groups without having to use power shell. To me it seems nuts why their isn't an import users button. 

What I am trying to do is possible on a Mac server using a import feature from a drop down menu so I am hoping I am just not looking in the right place.

Thanks in advance for any help you can give.

Create new topic
223 posts

Master Geek
+1 received by user: 22


  Reply # 1010649 21-Mar-2014 15:12
Send private message

Yes, there are two other options, but they're both command-line. However I'm not going to tell you what they are sealed because powershell is by far and away the best way to do it. Besides, a quick google will give you the answer.

OK, I'll tell. CSVDE and LDIFDE. If you google for how to use those, it's easier to google for a ready made powershell script. But also, there are thrid-party GUI tools that may do it for you, although I've no experience of them. Caveat Emptor.




I reject your reality and substitute my own!
- Adam Savage, Mythbuster

BTR



1293 posts

Uber Geek
+1 received by user: 331

Subscriber

  Reply # 1012318 25-Mar-2014 10:54
Send private message

Can someone please tell me what I am doing wrong. Trying to import using PowerShell using the command import-csv \accountstoimport.csv and I keep getting a "member already exists" error.


Everything I have found on the internet suggests this is how to import users but stuffed if I can get it to work, have spent 2 days on this now and ready to drop the project and look into Linux options.

 
 
 
 


gjm

732 posts

Ultimate Geek
+1 received by user: 90


  Reply # 1012345 25-Mar-2014 11:38
Send private message

well at a guess I would say that there is already an account in the domain that has the same name as something in the spreadsheet you are importing from. Maybe its something as simple as the administrator account? Is there a log file anywhere from the failed import that you can look at or post?




[Amstrad CPC 6128: 128k Memory: 3 inch floppy drive: Colour Screen]

2742 posts

Uber Geek
+1 received by user: 114


  Reply # 1012374 25-Mar-2014 12:31
Send private message

Export a list of all users AD already knows about, copy it into the same list then delete the duplicates in Excel\Numbers & try again.





3948 posts

Uber Geek
+1 received by user: 504

Moderator
Trusted
Subscriber

  Reply # 1012451 25-Mar-2014 13:37
Send private message

Perhaps you exported users that include the BuiltIn user accounts OU along with other normal user accounts, and you're trying to import duplicate accounts?

BTR



1293 posts

Uber Geek
+1 received by user: 331

Subscriber

  Reply # 1012460 25-Mar-2014 13:40
Send private message

The AD has just been setup from scratch and does not contain any user account apart from the default ones the system creates. I haven't been successful in trying to get any accounts to import.

3948 posts

Uber Geek
+1 received by user: 504

Moderator
Trusted
Subscriber

  Reply # 1012480 25-Mar-2014 13:50
Send private message

Yeah so I'm asking if you exported the default users from the other AD that you're trying to import from.

EDIT: Unless I'm on the wrong track and you're just trying to set up bulk new users from the csv.

4923 posts

Uber Geek
+1 received by user: 1309

Trusted
Microsoft

  Reply # 1012490 25-Mar-2014 14:01
Send private message

are you logged on as a domain admin/ running PowerShell elevated

are there any error messages?

3948 posts

Uber Geek
+1 received by user: 504

Moderator
Trusted
Subscriber

  Reply # 1012496 25-Mar-2014 14:08
Send private message

Or anything being logged in the Event Logs?

Create new topic



Twitter »

Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:





News »

VMware NSX Meets Stringent Government Security Standards with Common Criteria Certification
Posted 22-Jun-2017 19:05


Brother launches next-generation colour laser printers and all-in- ones for business
Posted 22-Jun-2017 18:56


Intel and IOC announce partnership
Posted 22-Jun-2017 18:50


Samsung Galaxy Tab S3: Best Android tablet
Posted 21-Jun-2017 12:05


Wellington-based company helping secure Microsoft browsers
Posted 20-Jun-2017 20:51


Endace delivers high performance with new 1/10/40 Gbps packet capture card
Posted 20-Jun-2017 20:50


You can now integrate SMX security into Microsoft Office 365, Google and other cloud email platforms
Posted 20-Jun-2017 20:47


Ravensdown launches new decision-making tool HawkEye
Posted 19-Jun-2017 15:38


Spark planning to take on direct management of all consumer stores
Posted 19-Jun-2017 10:03


Qrious acquires Ubiquity
Posted 14-Jun-2017 12:21


Spark New Zealand prepares for 5G with Nokia
Posted 14-Jun-2017 12:16


 The future-proof  10.5-inch iPad Pro
Posted 13-Jun-2017 18:16


Mandatory data breach reporting in Australia
Posted 13-Jun-2017 11:30


Review: Sony MDR-1000X noise-cancelling headphones
Posted 12-Jun-2017 08:08


Kinetics Crowned Microsoft NZ Partner of the Year
Posted 9-Jun-2017 09:32



Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.