hidden hit counter
Welcome to WindowsForumz.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Adding users to sub OU using Script

 
   Win 2000/NT/98/ME (Home) -> Active Directory RSS
Next:  new network website  
Author Message
Adnan

External


Since: May 12, 2007
Posts: 3



(Msg. 1) Posted: Fri Feb 15, 2008 10:24 pm
Post subject: Adding users to sub OU using Script
Archived from groups: microsoft>public>win2000>active_directory (more info?)

I am using Windows Server 2003 as Domain Controller and i want to add
users using vb script.
my LDAP path is

"LDAP://OU=Student,DC=in,DC=dt,DC=com")

this create the users only in the Student OU but i want to create
users in the Session which is Sub OU of the Student. Cand any body
help me.


Thanks in Advance

 >> Stay informed about: Adding users to sub OU using Script 
Back to top
Login to vote
Meinolf Weber

External


Since: Aug 27, 2007
Posts: 314



(Msg. 2) Posted: Sat Feb 16, 2008 6:30 pm
Post subject: Re: Adding users to sub OU using Script [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hello Adnan,

Just modify your LDAP to:
Set oContainer=GetObject("LDAP://OU=yournewou,OU=Student,DC=in,DC=dt,DC=com")


Best regards

Meinolf Weber
Disclaimer: This posting is provided "AS IS" with no warranties, and confers
no rights.
** Please do NOT email, only reply to Newsgroups
** HELP us help YOU!!! http://www.blakjak.demon.co.uk/mul_crss.htm

> I am using Windows Server 2003 as Domain Controller and i want to add
> users using vb script.
> my LDAP path is
> "LDAP://OU=Student,DC=in,DC=dt,DC=com")
>
> this create the users only in the Student OU but i want to create
> users in the Session which is Sub OU of the Student. Cand any body
> help me.
>
> Thanks in Advance
>

 >> Stay informed about: Adding users to sub OU using Script 
Back to top
Login to vote
Adnan

External


Since: May 12, 2007
Posts: 3



(Msg. 3) Posted: Tue Feb 19, 2008 9:30 pm
Post subject: Re: Adding users to sub OU using Script [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Thanks Meinolf Weber nospam.

I have Done it.




On Feb 17, 1:04 am, Meinolf Weber wrote:
> Hello Adnan,
>
> Just modify your LDAP to:
> Set oContainer=GetObject("LDAP://OU=yournewou,OU=Student,DC=in,DC=dt,DC=com")
>
> Best regards
>
> Meinolf Weber
> Disclaimer: This posting is provided "AS IS" with no warranties, and confers
> no rights.
> ** Please do NOT email, only reply to Newsgroups
> ** HELP us help YOU!!!http://www.blakjak.demon.co.uk/mul_crss.htm
>
> > I am using Windows Server 2003 as Domain Controller and i want to add
> > users using vb script.
> > my LDAP path is
> > "LDAP://OU=Student,DC=in,DC=dt,DC=com")
>
> > this create the users only in the Student OU but i want to create
> > users in the Session which is Sub OU of the Student. Cand any body
> > help me.
>
> > Thanks in Advance
 >> Stay informed about: Adding users to sub OU using Script 
Back to top
Login to vote
Display posts from previous:   
   Win 2000/NT/98/ME (Home) -> Active Directory All times are: Eastern Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum

Categories:
 Windows XP
  Win 2000/NT/98/ME
 Windows Vista!


[ Contact us | Terms of Service/Privacy Policy ]