View Single Post
Old 07-08-2009, 05:42 AM   #6 (permalink)
CoolHandJoe
Registered User
 
Join Date: Jul 2009
Posts: 4
OS: Windows XP Pro SP3


Re: Best/easiest way to disable roaming profiles?

justcrash

I'm not a resident expert but please allow me to contribute. If you have so many users that jammastajake's solution is prohibitive you can always script it.
From Microsoft Technet "Modify User Profile Paths"

Code:
Set objUser = GetObject _
    ("LDAP://cn=MyerKen,ou=Management,dc=NA,dc=fabrikam,dc=com")
 
strCurrentProfilePath = objUser.Get("profilePath")
intStringLen = Len(strCurrentProfilePath)
intStringRemains = intStringLen - 11
strRemains = Mid(strCurrentProfilePath, 12, intStringRemains)
strNewProfilePath = "\\fabrikam" & strRemains
objUser.Put "profilePath", strNewProfilePath
objUser.SetInfo
This is just one part of the process but you can script the retrieval of all the users in active directory and you can script going down the list applying the above script. You can look at Microsoft's Technet script repository (http://www.microsoft.com/technet/scr....mspx?mfr=true)
Hope that helps.

Joe
CoolHandJoe is offline   Reply With Quote