Hello Ravi,

the easiest way is using the gui, by selecting all users in question in
Active Directory Users and Computers, then choose Properties and set the
checkbox next to the profile field and enter the profilepath in there. You
can use %username% in there as well. Will set it for all users.

You can also combine the dstools:

Dsquery user ou=whatever,dc=example,dc=com -limit 0 | dsmod -profile ... 

This should give you an example how to do this.

Gruesse - Sincerely, 

Ulf B. Simon-Weidner 

  MVP-Book "Windows XP - Die Expertentipps": http://tinyurl.com/44zcz
  Weblog: http://msmvps.org/UlfBSimonWeidner
  Website: http://www.windowsserverfaq.org
  Profile:
http://mvp.support.microsoft.com/profile=35E388DE-4885-4308-B489-F2F1214C811
D   

 

|-----Original Message-----
|From: [EMAIL PROTECTED] 
|[mailto:[EMAIL PROTECTED] On Behalf Of Ravi Dogra
|Sent: Saturday, April 22, 2006 9:52 PM
|To: [email protected]
|Subject: Re: [ActiveDir] Can We configure Romaing Profiles using Script
|
|Hi Ulf,
|
|Do i need to run same command for all my users. I think there 
|should be a better way to just run a single command over OU or 
|Group or List of Users.
|
|Update me if i am wrong.
|
|Dsmod user distinguishedname_of_user -profile 
|\\server\profile$\$username$
|
|Thanks
|Ravi Dogra
|List info   : http://www.activedir.org/List.aspx
|List FAQ    : http://www.activedir.org/ListFAQ.aspx
|List archive: 
|http://www.mail-archive.com/activedir%40mail.activedir.org/

List info   : http://www.activedir.org/List.aspx
List FAQ    : http://www.activedir.org/ListFAQ.aspx
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/

Reply via email to