Jun 2, 2005 #1 bryanblc IS-IT--Management Mar 24, 2003 109 US Is there a way to search Active Directory for the user profile\Profile path? Thanks.
Jun 2, 2005 #2 adcfaq MIS May 9, 2005 632 CA yes, you may script it, or using some tools, like dsmod.... here is sample code from ms to configure user profile propeties Set objUser = GetObject _ ("LDAP://cn=Myerken,ou=Management,dc=NA,dc=fabrikam,dc=com") objUser.Put "profilePath", "\\sea-dc-01\Profiles\myerken" objUser.Put "scriptPath", "logon.bat" objUser.Put "homeDirectory", "\\sea-dc-01\HomeFolders\myerken" objUser.Put "homeDrive", "H" objUser.SetInfo Upvote 0 Downvote
yes, you may script it, or using some tools, like dsmod.... here is sample code from ms to configure user profile propeties Set objUser = GetObject _ ("LDAP://cn=Myerken,ou=Management,dc=NA,dc=fabrikam,dc=com") objUser.Put "profilePath", "\\sea-dc-01\Profiles\myerken" objUser.Put "scriptPath", "logon.bat" objUser.Put "homeDirectory", "\\sea-dc-01\HomeFolders\myerken" objUser.Put "homeDrive", "H" objUser.SetInfo