Go Back   TechArena Community > Technical Support > Computer Help > Windows Server > Active Directory
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read SiteMap

Tags: , , ,

Sponsored Links



How to Export users from the Domain Users group into another Sec G

Active Directory


Reply
 
Thread Tools Search this Thread
  #1  
Old 25-01-2008
CK
 
Posts: n/a
How to Export users from the Domain Users group into another Sec G

What is the best way to get an export of the domain users group, and then
import those users into another Security group?
Reply With Quote
  #2  
Old 26-01-2008
Jorge Silva
 
Posts: n/a
Re: How to Export users from the Domain Users group into another Sec G

Check
http://www.microsoft.com/technet/scr...6/hey0123.mspx
Reply With Quote
  #3  
Old 26-01-2008
Marcin
 
Posts: n/a
Is this what you are looking for?

Set oGroup1 =
GetObject("LDAP://cn=Group1,ou=Groups,dc=change-my-name,dc=local")
Set oGroup2 =
GetObject("LDAP://cn=Group2,ou=Groups,dc=change-my-name,dc=local")

For Each oUser in oGroup1.Members
oGroup2.Add(oUser.ADsPath)
Next

using DSGET and DSMOD
Reply With Quote
  #4  
Old 12-02-2008
Sctt
 
Posts: n/a
Re: How to Export users from the Domain Users group into another S

I am using dsget and dsmod and gives me wrong. I need to add users of Domain
Users Groups into another group.
Only error with Domain Users group, if use other group like Domain Admin,
work.
Can Help me Please!
Reply With Quote
  #5  
Old 12-02-2008
Sctt
 
Posts: n/a
Re: How to Export users from the Domain Users group into another S

this script with Domain Users Groups not work. With other Groups, work
perfectly.
Reply With Quote
  #6  
Old 30-11-2011
Member
 
Join Date: Nov 2011
Posts: 1
Re: How to Export users from the Domain Users group into another Sec G

Hey i would like to bump this article.

I hopeless when it comes to VBscript so please be patient.

I want to copy the users from Domain users into another group. I've run this script and it seems to copy about 10 or so accounts but that's it. Anyone know why this might be the case and how i can get round it?

Thanks

p.s. AD is server 2003
Reply With Quote
  #7  
Old 30-11-2011
EINSTEIN_007's Avatar
Member
 
Join Date: Dec 2007
Posts: 1,906
Re: How to Export users from the Domain Users group into another Sec G

Quote:
Originally Posted by section_32 View Post
Hey i would like to bump this article.

I hopeless when it comes to VBscript so please be patient.

I want to copy the users from Domain users into another group. I've run this script and it seems to copy about 10 or so accounts but that's it. Anyone know why this might be the case and how i can get round it?

p.s. AD is server 2003
You can try to Install Windows Server Migration Tools by following procedures in the Windows Server Migration Tools Installation, Access and Removal guide on the Microsoft Web site. Verify that the destination server can resolve the names of domain users who are members of the local group during the import operation. If source and destination servers are in different domains, the destination server must be able to contact a global catalog server for the forest in which the source domain user accounts are located.
Reply With Quote
Reply

  TechArena Community > Technical Support > Computer Help > Windows Server > Active Directory


Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "How to Export users from the Domain Users group into another Sec G"
Thread Thread Starter Forum Replies Last Post
Export AD Users and Group Member Ship msperano Windows Server Help 4 10-05-2010 07:17 PM
export users with password from domain networkmisr Active Directory 2 09-05-2009 08:22 PM
ADMT 3.0 Users Migration: Fix Users' Group Memberships stopped working Jason Windows Server Help 11 05-12-2008 01:14 PM
Active Directory Users with Group Membership Export to Excel tim.cole@ftnfinancial.com Window 2000 Help 2 18-05-2006 02:31 AM
How to export list of users from each global, domain, local group? Mugen Active Directory 1 10-06-2005 08:52 AM


All times are GMT +5.5. The time now is 07:37 PM.