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



1371 posts

Uber Geek
+1 received by user: 364

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
240 posts

Master Geek
+1 received by user: 29


  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



1371 posts

Uber Geek
+1 received by user: 364

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

733 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]

2776 posts

Uber Geek
+1 received by user: 119


  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.





4135 posts

Uber Geek
+1 received by user: 634

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



1371 posts

Uber Geek
+1 received by user: 364

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.

4135 posts

Uber Geek
+1 received by user: 634

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.

4937 posts

Uber Geek
+1 received by user: 1314

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?

4135 posts

Uber Geek
+1 received by user: 634

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 »

Australia datum changes means whole country moving 1.8 metres north-east
Posted 16-Dec-2017 08:39


UAV Traffic Management Trial launching today in New Zealand
Posted 12-Dec-2017 16:06


UFB connections pass 460,000
Posted 11-Dec-2017 11:26


The Warehouse Group to adopt IBM Cloud to support digital transformation
Posted 11-Dec-2017 11:22


Dimension Data peeks into digital business 2018
Posted 11-Dec-2017 10:55


2018 Cyber Security Predictions
Posted 7-Dec-2017 14:55


Global Govtech Accelerator to drive public sector innovation in Wellington
Posted 7-Dec-2017 11:21


Stuff Pix media strategy a new direction
Posted 7-Dec-2017 09:37


Digital transformation is dead
Posted 7-Dec-2017 09:31


Fake news and cyber security
Posted 7-Dec-2017 09:27


Dimension Data New Zealand strengthens cybersecurity practice
Posted 5-Dec-2017 20:27


Epson NZ launches new Expression Premium Photo range
Posted 5-Dec-2017 20:26


Eventbrite and Twickets launch integration partnership in Australia and New Zealand
Posted 5-Dec-2017 20:23


New Fujifilm macro lens lands in New Zealand
Posted 5-Dec-2017 20:16


Cyber security not being taken seriously enough
Posted 5-Dec-2017 20:13



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.