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

Posted on 2011-10-10
Last Modified: 2012-12-26
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.
Question by:Avi Leibzon
    LVL 3

    Expert Comment

    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
    LVL 24

    Accepted Solution

    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 = ""
    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.

    Featured Post

    Highfive Gives IT Their Time Back

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    I was supporting a handful of Windows 2008 (non-R2) 2 node clusters with shared quorum disks. Some had SQL 2008 installed and some were just a vendor application that we supported. For the purposes of this article it doesn’t really matter which so w…
    New Windows 7 Installations take days for Windows-Updates to show up and install. This can easily be fixed. I have finally decided to write an article because this seems to get asked several times a day lately. This Article and the Links apply to…
    This tutorial will show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…
    This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …

    733 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    23 Experts available now in Live!

    Get 1:1 Help Now