1. #1 by Nathan on November 24, 2014 - 12:35 pm

    Epic. Very Nice post.

  2. #2 by Lele on December 1, 2014 - 11:50 am

    is their anyway to setup UPD apply to only some users and not all users?

    • #3 by Eddie Kwasnik on December 1, 2014 - 12:35 pm

      Not to my knowledge since the profile disk is set at the collection level.

  3. #4 by Roydelf on December 11, 2014 - 6:40 am

    Good post, thanks!.
    I am looking to set this up for one of my clients soon. They are currently using roaming profiles and would like to move them onto using User profile disks when I create the environment.
    Do you think the roaming profiles will load the users data into the User profile Disk or would you advise a different approach?

    • #5 by Eddie Kwasnik on December 11, 2014 - 9:30 am

      Thanks. That’s actually a great question and something I have not tried myself. The profile disks are used as an alternative to a roaming profile so it is intended to use one or the other. If you do try it out, could you share the results?

      Thanks,
      Eddie

    • #6 by Frank Rettenbach on January 29, 2015 - 4:30 am

      I am facing the same sitouation. Have you been able to figure this out?

      Thanks, Frank

      • #7 by Roydelf on February 25, 2015 - 6:16 am

        I have not set this up yet but looking into this I can see you have the option of selecting to include the roaming user profile data to the UPD which looks promising.

        I will try this out in my test lab this week and let you guys know if it works OK.

    • #8 by Ingmar Snippe on July 15, 2015 - 9:56 am

      You can mount the specific User Profile Disk of the user you want to move. And after that you can copy all the roaming data you want into the UPD. You could even use something like robocopy to quickly select the right folders.

  4. #9 by pascalandreas on December 16, 2014 - 8:02 am

    How do you manage it?
    Right now I have a list of 30-some disks only with SIDs as names.
    – It’s hard to pinpoint which one is the user disk you are looking for.
    – It’s hard to see why a profile is suddenly 5 GB – because it’s already mounted and in use.
    – The disk size does not shrink when it is less utilised – e.g. the user empties downloads folder.
    – In our case it was setup with System Volume Information enabled, so now e.g. we have a user profile disk that is 9.8GB but is only 1.4GB is actually used.

    Are we missing a basic management tool?

    • #10 by Eddie Kwasnik on December 16, 2014 - 9:29 am

      I feel your pain. Its a great concept by MS, but it lacks proper management. I prefer using third party tools to manage users settings. I hope they improve it in any upcoming release.

      • #11 by Anthony Larson on December 16, 2014 - 3:13 pm

        Hello Eddie, Which third party tools do you use?
        Thanks,
        Anthony

      • #12 by Eddie Kwasnik on December 17, 2014 - 10:39 am

        The three main one are RES, AppSense, and Liquidware Labs Profile Unity. Out of the three, I prefer Liquidware Labs Profile Unity since it can do everything the other ones can do but its simpler to use and has the best price.

        Eddie

  5. #13 by Shimon Adimor on January 26, 2015 - 5:40 pm

    Hi Eddie,
    This is a good post.
    I do have a few questions though.
    1. I am already a few GPOs like Prevent Access to command prompt, Remove Lock Computer, and a couple more, and I noticed the following: “Set RDS User Home Directory” and the “Set path for the RDS Roaming User Profile”. What I was hoping is that the UPD settings take care of it all – is it correct or there still is a need to use these GPOs as well ?
    2. If I need to change the UPD path to a different location – what would be the steps to accomplish that ? (I’m still in testing mode, but very close to production)
    3. When I make a UPD change in the collection – does it take the same time as it takes a GPO to update (like 90 minutes) or is it supposed to be effective immediately ?

    Thanks,
    Shimon.

    • #14 by Eddie Kwasnik on January 27, 2015 - 2:53 pm

      Hi Shimon,

      Great questions. If you set a user’s Home Directory via the GPO, it will have no effect on the UPD. Assigning the Home Directory is always a great thing to do regardless of what profile solution is being used. If you choose to use the UPD option, there is no need to set the RDS users roaming profile path since everything will be under their profile disks. Will users be accessing a single collection? The upd is bound to the collection where as the rds roaming profile is not, however; roaming profiles are usually not the best option.

      As for your second question on moving the UPD location, will you be copying everyone’s UPD to the new location? This is something which I have not tested myself so unfortunately I do not have the steps to accomplish this. I guess as long as the RDSH servers of the collection have the correct the permissions on the new share, theoretically it should work. The permissions will be applied when you change the location on the properties of the collection. If you do try this out, please let us know the results.

      As for the last piece, I believe once it is set it will affect any new users logging into the RDSH servers.

      Regards,
      Eddie

  6. #15 by Dan Mueller on February 19, 2015 - 4:38 pm

    I’m having problems with getting temporary profiles when the users log on. I’ve been able to determine the UPD gets created the first time a user logs on but then gets locked by the session host. I’ve been unable to find a fix for this and it seems this has been an ongoing issue with UPDs since Server 2012.
    Do you have any suggestions as to how I can resolve the issue?

    • #16 by Eddie Kwasnik on March 18, 2015 - 8:59 am

      Dan,

      Not sure if you solved your issue, but definitely try the following hotfix.

      Eddie

      • #17 by Darrell Null on February 26, 2016 - 12:26 pm

        Eddie,

        I do not see the hotfix listed here unless I am missing something.

  7. #18 by Jeff on February 25, 2015 - 2:48 pm

    Great write up. Question. Is there a way to have the UPD mount on a different volume. Example, instead of it showing up under c:\users, it would show up under x:\users? We block access to C on our RDS, which is causing issues accessing the data on the UPD.

  8. #20 by jen0va on February 26, 2015 - 5:59 am

    Hi.
    Is it possible to apply quota on User Profile Disk (GPO) ? Wich way to achieve this goal ?
    Thanks

    • #21 by Eddie Kwasnik on February 27, 2015 - 7:46 am

      You can actually set it when you configure the profile disks. See the image below. Here it is set at a default of 20GB for the maximum size, however you can modify it accordingly.

      • #22 by Reagan on March 10, 2015 - 5:36 pm

        Hi Eddie,

        Thanks for all your posts, I have deployed a RDS Server farm reading these posts.

        While deploying, I set maximum size of UPD to 2 GB without thinking of any further requirements. Now the UPS have started touching the higher limits and I am looking out to see if there is a option now to increase this size, as this option is grayed out.

        Thanks in Advance for your help.

        Kind Regards,
        Reagan

      • #23 by Eddie Kwasnik on March 18, 2015 - 9:26 am

        Reagan, thank you!

        I don’t know of a way to extend the size for all of the profile disks at the parent level without having to recreate all of them. The quota is set on the template vhdx when the UPD is configured so when a user logs in, they will have a max size set on their own vhdx (profile disk) since it is created off of the template vhdx profile disk. You can extend the individual user’s profile disk, so if it is only for a handful of users, it wouldn’t be too tough of a task. You can do it in two ways. The first is to use the command Resize-VHD

        The other option is to mount the vhdx file when not in use and use the disk management mmc to extend it.

        Also, in theory, you may be able to extend the template vhdx to a greater size and this will affect any new users connecting to the environment. I have not tested this out though.

        Eddie

  9. #24 by bonezoz on March 10, 2015 - 6:35 pm

    Hi,
    I’m in the process of adding additional RDS Session hosts to an existing farm. While I’ve successfully added the host, the user profile disks are not attaching. Is there a way to force or apply the profile disks whenever adding additional hosts?

    Cheers,
    Bonez

  10. #26 by bonezoz on March 10, 2015 - 6:37 pm

    Hi,
    I’m in the process of adding additions hosts to an existing farm, but the user profile disks are not attaching. Is there an addtional step to follow when adding new hosts?

    Cheers,
    Bonez

    • #27 by Eddie Kwasnik on March 18, 2015 - 9:02 am

      Not really. Once it is part of the farm, you can then add it to the appropriate collection and it should attach to the user profile disks for users.

  11. #28 by Brandon on April 8, 2015 - 1:57 pm

    Great post. Was wondering how to shrink a users profile once they are logged out? Have a few users that have reached their max limit, and after cleaning up their profile, it still says they have the same amount of space in use.

    • #29 by Eddie Kwasnik on April 13, 2015 - 8:38 am

      How are you cleaning up their profile? by mounting the vhdx file?

  12. #30 by Brandon on April 14, 2015 - 1:45 pm

    I have done it that way and also from the users profile session itself.

  13. #31 by Brandon on April 14, 2015 - 2:04 pm

    This a link I posted to Spiceworks Community. Maybe from the pics you can see what I’m talking about.
    http://community.spiceworks.com/topic/885177-rds2012-user-profile-issue

  14. #32 by Geir O. Jensen on April 22, 2015 - 9:30 am

    Great post “as usual” 🙂 Just set up my user profiles – had to twiddle a bit with security options on the share though, since the profile shares are hosted on another fileserver!

    • #33 by Eddie Kwasnik on April 22, 2015 - 10:24 am

      Thank you! Glad to hear it is working…

      Eddie

      • #34 by Geir O. Jensen on April 24, 2015 - 4:06 am

        Uhm well, actually it may not be working like I thought… when logging on the “console” with the administrator I get a warning about temporary profile… saw it mentioned above aswell – but the link posted only applied to Win 8 and Win 2012, not 2012R2?

        It also seems like my GPO’s aren’t applied for users when they log on, but that may be another issue… (we like to disable all the first run stuff from Office for instance…)

      • #35 by Eddie Kwasnik on May 7, 2015 - 9:24 am

        Sorry for the late response. The upd will work for 2012R2. If the gpo’s are not applying, there may be some other issue going on. Were you able to get it working?

  15. #36 by Faizan Ansari on May 7, 2015 - 4:06 am

    Very helpful article. I have to deploy RDS on the customer and they want to use User Profile Disk in HA. Making failover windows cluster with file server is one of the solution according to my knowledge. The user data is around 15TB. Is there any other and better solution regarding User Profile Disk HA..

    • #37 by Eddie Kwasnik on May 7, 2015 - 9:14 am

      Thank you. Yes, there are many better solutions to use over the UPD. The answer is a third party product like Liquidware Labs Profile Unity. It does what it needs to do at a lower cost than its competitors. Others includes RES and AppSense environment manager.

  16. #38 by Markus F. Meisinger on May 7, 2015 - 4:28 am

    Thanks too for this how-to Setup … i am already using VDI a while now … i like UPDs … and want to use them for my “Desktop” workstations too … are there any how-tos available … how-to configure … do you know how UPDs work under the hood, because I can mount a users vhd on a desktop can create a junction point but after the users has finished logon he got a temporary profile folder instead of the mounted user vhd

    • #39 by Eddie Kwasnik on May 7, 2015 - 9:16 am

      UPDs are still in its infant stages so they can have a tendency to be problematic. When possible, I use third party profile solutions as they have been around a while and do a great job.

  17. #40 by Fandy Backers on May 13, 2015 - 2:48 am

    When i use profile disks with the rds services, and when the system has run an windows update and rebooted when the user still had a connection, the user can’t do anything anymore when the user connects again. The admin has to logoff the user at his account, and then the user can login again and work. So when an update has taken place (with reboot) when a user still was connected (not logged off) he/she can’t do anything anymore! I have this problem for a long time now.. why is microsoft not fixing this?! or can i do something about this myself what i don’t know of?

    This really irritates me since the beginning of using profile disks..
    I also gets a lot of backup directories next to the live profiledisks.. also still a long time waiting for a fix..

    • #41 by Eddie Kwasnik on May 26, 2015 - 4:43 pm

      In about 20 years, Microsoft has only made a couple of changes to their profile design so I personally don’t expect them to do much more than give a basic type solution for profiles. I probably sound like a broken record at this point, but it is better to leverage third party solutions for profile management.

  18. #42 by Tony Platts on June 4, 2015 - 6:57 am

    I really liked the idea of user profile disks but I’m really struggling with them for one reason.

    As soon you you prevent access to the C drive (which you should do in almost every installation of RDS) you prevent users from accessing those items which would typically exist on the C drive.
    Anyone found a way around this?

    • #43 by Tony Platts on June 4, 2015 - 7:10 am

      Just another thought. We have Office installed on our RDS Farm. With the C drive locked down, when a user opens up any Office app, and attempts to “Open a document”, they get two error messages stating “The operation has been cancelled due to restrictions in effect on this computer”.

      This makes me think that User Profile Disks are not compatible with locked down C drives which pretty much makes the whole thing useless. Am I wrong?

      • #44 by N. Haanstra on September 3, 2015 - 9:31 am

        I totally agree. Quite useless if we can’t use the ‘prevent access to the C drive’.

  19. #45 by Crispin on July 14, 2015 - 12:02 pm

    Eddie! cracking job on documents, ive set up an RD farm with gateway server in no time thanks to your clear logical steps and explanations. one of the best set of notes ive seen and used in many years

  20. #46 by Francois on July 21, 2015 - 4:28 am

    I realized an important issue whilst reading the comments above. We had issues with UPD and host servers that are taken out of service. When a host server is taken out of service (i.e. it doesn’t allow new connections) and an existing user signs out and then back into the collection the subsequent connection is not allowed to reconnect to the session on the out of service host server. The result is that the user gets signed in on any one of the remaining host servers in the collection with a temporary profile because the out of service host server is holding onto the UPD for as long as the disconnected session lives on it. I have set my RDS collection to sign out disconnected session after 15 minutes (down from 2 hours), but it is still possible for this issue to crop up inside that 15 minute period. Does anyone know of a solution to this issue?

  21. #47 by Dominic on August 18, 2015 - 4:19 am

    adding the \appdata\local\Microsoft\Windows just isn’t right!!!!
    Remove the \appdata\local\Microsoft\Windows from UPD
    As far as i got to customize the start menu is
    Login as a user and setup you menu etc..
    Go to C:\Users\%userprofile%\AppData\Local\Microsoft\Windows and copy the two files
    appsFolder.itemdata-ms
    appsFolder.itemdata-ms.bak
    copy to a location like \\yourdomain\SYSVOL\yourdomain\scripts\startmenu
    Now create a batchfile with the below in it
    xcopy \\yourdomain\NETLOGON\Start\appsFolder.itemdata-ms C:\Users\%username%\AppData\Local\Microsoft\Windows /y

    xcopy \\yourdomain\NETLOGON\Start\appsFolder.itemdata-ms.bak C:\Users\%username%\AppData\Local\Microsoft\Windows /y
    The /y switch overwrites the existing files.. Note you need to reboot once after this batch file is applied! not ideal but only way i could find.
    So in the folder you have 3 files
    appsFolder.itemdata-ms & appsFolder.itemdata-ms.bak
    Then the Batch file you created

    Now Run the Copystartmenu.bat at login with GPO or All users startup ( or just run logged in as a test user to test).. Now is you use GPO scripts in 2012 r2
    Default delay is 5min after login.. You’ll need to change the following gpo
    Computer/administrative templates\system\group policy\configure login scripts delay
    Sorry could add Photo until account was verified
    NOTE YOU NEED TO LOG OFF ONCE FOR THE CHANGE TO WORK. Anyway hope this helps for people wanting to use User Profile Disks

  22. #49 by The Sock Mistress on December 8, 2015 - 9:00 pm

    Great article, we are just about to deploy this for a client so this is a helpful summary.

  23. #50 by R on December 10, 2015 - 5:54 pm

    These UPDs would be all very nice… if they actually worked

    check these forum posts:
    https://social.technet.microsoft.com/Forums/windowsserver/en-US/7f88b1a2-6e0d-4cdb-b598-cce696ce3255/server-2012-rds-user-profile-disks-errors-during-logoff?forum=winserverTS

    after 3 years and multiple tickets to MS, hundreds of people still have problems using UPDs due to users randomly getting temp profiles for no logical reasons or random corrupt profiles

    Adding insult to injury one customer disclosed that “Microsoft is refusing to troubleshoot our issue because it is virtualized under vmWare ESXi. They require we reproduce the problem on a physical machine”. Needless to say these problems happen on physical machines too.

    Steer away people while you still can…

    • #51 by Zerics on May 10, 2016 - 10:35 am

      I have recently deployed a new envoirment with UPD’s and I got the corrupt profiles problem, around 5-10% of the users got corrupted profiles everyday and i have read throu many searchresults in search for an answer, I might have found one now when I wasn’t looking for it, I was reading up on the RDS Blog, and suddenly there it was..
      https://support.microsoft.com/en-us/kb/3092688

      A hotfix that matches my problems excatly

      “Symptoms
      This issue occurs if the ‘Store only the following folders on the user profile disk’ option is selected together with ‘User registry data.’ ”

      I hope this helps!

  24. #52 by Glen Harrison on March 9, 2016 - 7:10 am

    When removing items from the UPD such as desktop etc etc, upon clicking the apply button I get the error “User Profile Disk location is already in use” Any ideas? I only want the appdata and registry settings. Thanks.

    • #53 by Eddie Kwasnik on March 9, 2016 - 9:44 am

      Is the user still logged in when attempting to copy the files?

  25. #54 by Jeremy on April 13, 2016 - 4:55 pm

    I’m in the process of migrating users from a Child domain to the Parent domain. This causes a new UPD to be created when the user remotes into the RDS farm. Is there anyway to stop this so that it will continue to use the existing UPD file? It’s going to be a huge pain when users don’t have their settings and files from their original profile. I appreciate any help.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: