Adding attribute in AD with csvde or LDIFDE

S

Søren Skriver

Hi All,

I need a solution to add the following text "\\fileserver\profiles$\%
username%" in the terminal server attribute. This have to be done so it
will affect all users in the AD, instead of going trough 1000 user
accounts.

I have consider something like this:

Export from AD to a .csv file with CSVDE the atributes "UserName=*" and
"TerminalServerProfile=' '"

and then import it again with atributes "UserName=*" and
"TerminalServerProfile='\\fileserver\profiles$\%username%'"

Can I do that, and how ???


Have any one of you any good ideas ???

Thanks in advance

Søren Skriver
 
J

Joe Richards [MVP]

The TS attributes are not really available to modify through LDAP, the info is
in a binary string format and not a simple string. You will need to use the
various TS property COM components.

--
Joe Richards Microsoft MVP Windows Server Directory Services
Author of O'Reilly Active Directory Third Edition
www.joeware.net


---O'Reilly Active Directory Third Edition now available---

http://www.joeware.net/win/ad3e.htm
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top