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



1301 posts

Uber Geek
+1 received by user: 338

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

Master Geek
+1 received by user: 27


  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



1301 posts

Uber Geek
+1 received by user: 338

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]

2741 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.





4011 posts

Uber Geek
+1 received by user: 555

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



1301 posts

Uber Geek
+1 received by user: 338

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.

4011 posts

Uber Geek
+1 received by user: 555

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.

4928 posts

Uber Geek
+1 received by user: 1312

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?

4011 posts

Uber Geek
+1 received by user: 555

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 »

How Oppo shakes New Zealand’s phone market
Posted 22-Aug-2017 18:32


Recognition for top small business advisors
Posted 22-Aug-2017 17:23


OPPO R11 dual 20MP camera phone debuts in New Zealand
Posted 22-Aug-2017 15:45


Intel introduces new 8th Generation processors
Posted 21-Aug-2017 19:02


Trend Micro launches Home Network Security
Posted 21-Aug-2017 18:38


Avondale College students at top of Microsoft Office Specialist World Championship
Posted 21-Aug-2017 14:11


Garmin introduces inReach SE+ and inReach Explorer+
Posted 21-Aug-2017 14:05


Public Wi-Fi plus cloud file sharing
Posted 18-Aug-2017 11:20


D-Link NZ launches professional Wireless AC Wave 2 Access Point for businesses
Posted 17-Aug-2017 19:25


Garmin introduces the Rino 700 five-watt two-way handheld radio
Posted 17-Aug-2017 19:04


Garmin announces the Foretrex 601 and Foretrex 701 Ballistic Edition for outdoor and tactical use
Posted 17-Aug-2017 19:02


Brightstar announces new distribution partnership with Samsung Knox platform in Australia
Posted 17-Aug-2017 17:07


Free gig-enabled WiFi network extends across Dunedin
Posted 17-Aug-2017 17:04


Samsung expands with connect Gear S3 Frontier
Posted 17-Aug-2017 15:55


Fact-checking Southern Cross Next cable is fastest to USA
Posted 17-Aug-2017 13:57



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.