• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 329
  • Last Modified:

User profiles set as roaming, anyway to change them with one step, runnign out of room on server

Had a former IT guy setup windows server 2008 with roaming profiles. No active directory policies or login script to worry about. System looks like its setup for default. However he has the roaming profiles set to the c drive on the main server. its obviously run out of room. Have a file server with 5 Tb of space available would like to change user profiles. Do i have to do it one by one and create security restrictions on each folder or can i do this via active directory for the entire organization.
Avi Leibzon
Avi Leibzon
1 Solution
if you hightlight all the users and right click properties and change the profile path to


This will set all profiles to the new server. However it might be worth copying their old profiles to the new server first otherwise you will have to set them all up again
SandeshdubeySenior Server EngineerCommented:
You can not move the folders until you change the roaming profile path on the user properties.

You must have one script to make the change in all accounts first or you will need to change them manualy one by one  

You need something like this:

strOU = "ou=Users"
strDomain = "yourdomain.com"
set objRootDSE = GetObject("LDAP://" & strDomain & "/RootDSE")
set objParent = GetObject("LDAP://" & strOU & "," & _
objParent.Filter = Array("user")
for each objUser in objParent
yourpath = "\\server2\users\profiles\
objUser.PutEx yourpath , "profilePath", vbNullString

This will change all the users profile path in AD.You need to change domain and OU and path.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now