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



1457 posts

Uber Geek
+1 received by user: 426


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
242 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



1457 posts

Uber Geek
+1 received by user: 426


  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.

 
 
 
 


Try Wrike: fast, easy, and efficient project collaboration software

gjm

745 posts

Ultimate Geek
+1 received by user: 91


  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]

2782 posts

Uber Geek
+1 received by user: 120


  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.





4371 posts

Uber Geek
+1 received by user: 840

Moderator
Trusted
Lifetime 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



1457 posts

Uber Geek
+1 received by user: 426


  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.

4371 posts

Uber Geek
+1 received by user: 840

Moderator
Trusted
Lifetime 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.

4955 posts

Uber Geek
+1 received by user: 1318

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?

4371 posts

Uber Geek
+1 received by user: 840

Moderator
Trusted
Lifetime 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 »

IBM leads Call for Code to use cloud, data, AI, blockchain for natural disaster relief
Posted 25-May-2018 14:12


New FUJIFILM X-T100 aims to do better job than smartphones
Posted 24-May-2018 20:17


Stuff takes 100% ownership of Stuff Fibre
Posted 24-May-2018 19:41


Exhibition to showcase digital artwork from across the globe
Posted 23-May-2018 16:44


Auckland tops list of most vulnerable cities in a zombie apocalypse
Posted 23-May-2018 12:52


ASB first bank in New Zealand to step out with Garmin Pay
Posted 23-May-2018 00:10


Umbrellar becomes Microsoft Cloud Solution Provider
Posted 22-May-2018 15:43


Three New Zealand projects shortlisted in IDC Asia Pacific Smart Cities Awards
Posted 22-May-2018 15:14


UpStarters - the New Zealand tech and innovation story
Posted 21-May-2018 09:55


Lightbox updates platform with new streaming options
Posted 17-May-2018 13:09


Norton Core router launches with high-performance, IoT security in New Zealand
Posted 16-May-2018 02:00


D-Link ANZ launches new 4G LTE Dual SIM M2M VPN Router
Posted 15-May-2018 19:30


New Panasonic LUMIX FT7 ideal for outdoor: waterproof, dustproof
Posted 15-May-2018 19:17


Ryanair Goes All-In on AWS
Posted 15-May-2018 19:14


Te Papa and EQC Minecraft Mod shakes up earthquake education
Posted 15-May-2018 19:12



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.