Resizing User Profile Disks in Existing Server 2012 R2 RDS Deployment Question

Once the initial maximum size is set and the VHDXs have been created in a Server 2012 R2 RDS deployment, will attempting to increase Collection's maximum UPD size by say.. issuing a Powershell command of:
Set-RDSessionCollectionConfiguration -CollectionName MySpiffyNewCollection -MaxUserProfileDiskSizeGB 10
over-write the existing VHDXs instead of simply increasing their size? (max size is currently 5GB)
I'm not at a point where I can test this in a lab condition to find out, and I have not found this question asked (or at least not definitively answered) in this forum yet.
-G

Hi,
Thank you for posting in Windows Server Forum.
We can resize the UPD file with below command:
Resize-VHD –Path c:\BaseVHDX.vhdx –SizeBytes 1TB
After running this mount the .vhdx file and open disk manager and there will be unallocated disk, and then you can click extend disk/volume and its done.
You can refer following article for more information.
Resize User Profile Disks
Hope it helps!
Thanks.
Dharmesh Solanki
TechNet Community Support

Similar Messages

  • User Profile Disks with Windows Server 2012 and Windows 8 VDI

    Hello experts!
    We are building a new server setup for the office and are unable to figure out why UPD will not work. We have VDI setup and a user for instance
    connecting through the RDWeb workplace will dynamically get one of the available Windows 8 Machines delivered through Hyper-V and can successfully login on this machine via Active Directory. So far so good...
    However, when we activate the User Profile Disks "UPD" feature the login takes forever and the VHDX will not mount on c:\users\...
    as expected within the virtual Windows 8 machine.
    The UPD config is quite simple, with just the path "\\vmhost\upd\" set. This share has (now during test) full access for everyone,
    both on share level and on security level, but still the VHDX will not mount.
    The UVHD-template.vhdx file gets created just fine when UPD is activated, and during login through RDWeb a TEMP-UVHD-S-1-5-21-1477358240-4159876597-995667825-500.vhdx
    gets created, but there it stops... The login process takes a couple of minutes by the "Windows förbereds" (roughly translated to English "Preparing Windows"), and then the user gets logged in with a temporary profile.
     - The event log says (translated using Google translate):
    Failed to obtain a user profile disk for the user account with SID S-1-5-21-1477358240-4159876597-995667825-500.
    Make sure the location of the user profile desk can be reached, the server's computer account has read and write permissions to the site and that there is a template file for user profile disks at the site.
    Name of the virtual desk"font-size:14px;font-family:'Droid Serif', Georgia, 'Times New Roman', serif;color:#222222;line-height:23px;"
    />HRESULT: 0x8007007B.0
    Please help, it should not be that hard to achieve this.

    Hi,
    As this thread has been quiet for a while, we assume that the issue has been resolved. At this time, we will mark it as ‘Answered’ as the previous steps should be helpful for many
    similar scenarios.
    If the issue still persists and you want to return to this question, please reply this post directly so we will be notified to follow it up. You can also choose to unmark the answer
    as you wish.
    In addition, we’d love to hear your feedback about the solution. By sharing your experience you can help other community members facing similar problems. 
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Unable to Enable User Profile Disks in RDP server 2012R2

    I am setting up a new Windows server that will act as an RDP server. The server has been built with Windows Server 2012R2. 
    I have the following roles and services working on the server: RD Web Access, RD Gateway, RD Licencing (with 30 user cal licences), the RD Connection broker, and the RD session host. 
    I have a SSL certificate configured and installed on the site, and both external and internal DNS are configured and working. 
    I have created and published an application collection and this is working. That is, when you go to https://remote.<servername>.org you are presented with a log in screen, users can log in with their domain accounts and then can connect to the published
    applications, this is working both on our internal network and from the general internet. 
    So all the roles on the server are working and the collection itself is also working. However, what I cannot do is set it up so that we can use user profile disks with that collection. When I go through the Session Collection Wizard and I get to "User
    Profile Disks" I can click on "Enable user profile disks" and then you can enter the options below. 
    I am entering the share location under location \\<servername>\<sharename> 
    I am using the default "store all user settings and data on the user profile disk" 
    Then I go to create the profile disks and I get the following error: 
    "Could not create the template VHD. Error Message: -2147024809
    This has happened multiple times, I have done the following: 
    - installed all windows updates and rebooted the server, same error 
    - checked the share permissions AND the folder permission for that share, for testing purposes I have set permissions on both the folder and the share to allow full control to "everyone" (I also tried it with only "domain users") but
    same error message. 
    - I have checked to see that no quotas are imposed on the disk where I am attempting to create the profile disks  - this was because this was the closest thing I could find on Technet was this post:
    https://social.technet.microsoft.com/Forums/windowsserver/ru-RU/aec30527-d742-42b9-950e-85c709c4cb45/vdi-problem-creating-user-profile-disks?forum=winserverhyperv
    And that was a quota issue that I am not having. 
    The UPD wizard says the following "the servers in the collection must have full control permission on the user profile disk share and the current user must be a member of the local Administrators group on that server" 
    Both of those things are true. 
    I have attempted to search for that specific error message (-2147024809) and have found nothing on Technet or any other site. 
    I am hoping someone here has some thoughts.  Thanks in advance. 

    I was looking at both the technet article for setting up UPD as well as this walk-through:
    http://thewolfblog.com/2014/02/24/user-profile-disks-for-rds-2012-2012-r2/
    The step after the creation of the disk in this walk-through is to look at who has permission on the .vhdx file, now obviously I am not at that step, but that is what led me down the trail of looking at user permissions, hence my attempts to set up shares
    where 'everyone' has full permissions on both the share and the folder.
    I have tried to set up multiple shares for the collection, I have tried on two different disks (volumes) on the RDP server itself, I also tried setting up a share on our fileserver (which has all kinds of shares working fine) and the same error occurred
    in all cases. 
    I also found this Technet article: 
    https://social.technet.microsoft.com/Forums/windowsserver/en-US/d6469d31-6540-4075-a85f-a6e8f7c11e89/user-profile-disk-template-cannot-be-created-when-setting-up-session-collection?forum=winserverTS
    So that seems close to what I am looking for, but I have checked and the exact group policy that was causing the above linked issue is not defined in our group policies, but maybe there are other group policies that are causing the issue? 

  • Server 2012 RDS - User Profile Disks

    Hello,
    I'm implementing Server 2012 RDS session-based.
    Can I increase the limit of User Profile Disk after it is initially set?
    Is it ok that my Admin user has a User Profile Disk i.e. no local profile on the server as they did previously.
    Are PSTs supported on User Profile Disks - previously PSTs were unsupported on network share - User Profile Disks are on network share.
    I had an issue where a UPD was created for a user - I then delete the UPD. I then logged in as the user (a domain admin) and expected a local profile to be created - this didn't happen. A temporary profile was created instead. This was unexpected.

    Hi Gary,
    You can try to change the size of User Profile Disk by mounting .Vhdx file. Please refer below thread for information.
    Resize User Profile Disks
    As per my research, i can suggest you to use admin local user profile on server.You can get more information for UPD on below listed article.
    1.  Easier User Data Management with User Profile Disks in Windows Server 2012
    2.  Using User Profile Disks (UPD) in combination with predefining the Modern UI Start Screen on RDS 2012 (appsfolder.itemdata-ms)
    Hope it helps!
    Thanks,
    Dharmesh

  • What share/ntfs permission i've to setup for user profile disks on Server 2012 R2?

    Please, let me know.
    Regards!
    Lasandro Lopez

    Hi Lasandro,
    As far as I know, share permissions for UPD are automatically set up by the management tools.
    Besides, regarding how to install and configure UPD, the following article can be referred to as reference.
    Installing and Configuring User Profile Disks (UPD) in Windows Server 2012
    https://social.technet.microsoft.com/wiki/contents/articles/15304.installing-and-configuring-user-profile-disks-upd-in-windows-server-2012.aspx
    In addition, regarding UPD, the following article can be referred to for more information.
    Easier User Data Management with User Profile Disks in Windows Server 2012
    http://blogs.msdn.com/b/rds/archive/2012/11/13/easier-user-data-management-with-user-profile-disks-in-windows-server-2012.aspx
    Best regards,
    Frank Shen

  • Pooled VDI - User Profile disk vs roaming profiles

    Hi,
    Apologies is this is the wrong forum, cannot find a VDI specific one...
    I am looking at deploying a Server 2012 VDI solution for a college.  The VM's would be pooled and based on a single image which contains all the required software for students.  I want zero persistence, in a similar way which can be achieved in
    the physical world with something like deepfreeze.  As students will still use physical desktops in other areas I would like their roaming profiles to still be used.
    With that in mind would the VDI solution work as follows...?
    Student logs on
    Roaming profile is loaded from existing share to a temporary disk
    students logs off
    roaming profile is saved back to network share
    temporary disk is disposed
    VDI image is reverted back to pre logon
    This would be a great solution and would make these student areas much easier to manage.
    Thanks

    Hi,
    You can setup UPD to meet your needs.
    For more details, please refer to the following:
    Easier User Data Management with User Profile Disks in Windows Server 2012
    http://blogs.msdn.com/b/rds/archive/2012/11/13/easier-user-data-management-with-user-profile-disks-in-windows-server-2012.aspx
    Installing and Configuring User Profile Disks (UPD) in Windows Server 2012
    https://social.technet.microsoft.com/wiki/contents/articles/15304.installing-and-configuring-user-profile-disks-upd-in-windows-server-2012.aspx
    Working with User Profile Disks on Session-Based Desktop Deployments
    http://www.virtualizationadmin.com/articles-tutorials/vdi-articles/general/working-with-user-profile-disks-on-session-based-desktop-deployments.html
    Hope this helps.
    Jeremy Wu
    TechNet Community Support

  • User Profile Disks - Backup/Restore

    I was considering deploying User Profile Disks in my 2012 R2 RDS environment instead of Roaming Profiles / Folder Redirection.
    However, I have noticed a potential flaw unless someone can shed some light on this. With UPD being relatively new there is limited documentation on this.
    If I backup my UPD directory (stored on a central server), and / or my Terminal Servers and I use a backup product which allows granular file-level restore. Initial testing shows that this won't work as you would want it to e.g. I can restore the VHDX
    associated with the UPD but cannot restore the individual files stored on the UPD e.g. a single word document.
    This leads me to think it is more beneficial to use the tried and tested Roaming Profiles / Folder Redirection combo. Or indeed, possibly deselect the UPD option for Documents etc. and combine UPD with Folder Redirection.
    Or does anyone have any further info on this?

    Hi,
    Thank you for your posting in Windows Server Forum.
    From your description I can say that you understand correctly. Sorry to say but you cannot restore the individual files stored on the UPD e.g. a single word document. As we need to backup and restore the whole UPD for the user. Previously, profiles could be
    corrupted if used simultaneously on multiple computers. User profile disks are specific to the collection, so they can’t be used on multiple computers simultaneously. User profile disks can be stored on Server Message Block (SMB) shares, cluster shared volumes,
    SANs, or local storage.
    Please refer beneath for more information.
    1.Easier User Data Management with User Profile Disks in Windows Server 2012
    2. Working with User Profile Disks on Session-Based Desktop Deployments
    Hope it helps!
    Thanks.
    Dharmesh Solanki

  • User Profile Disks - User registry data

    In Server 2012 standard (not R2)
     using RD
     in Session Collection
     and in the "User Profile Disks" tab
     I have ticked “Enable user profile disks”
    If I select the second radar-button
    "Store only the following folders on the user profile disk"
    What is the effect of ticking "User registry data" ?
    What is the result in the template.vhdx ?
    and when a new user logs in
    Is all the user registry "moved" to the UPD user .vhdx file where it is then maintained
    or
    Is a folder re-direction preserved in the UPD and the registry data still updated in its original location ?

    Hi,
    Thank you for your posting in Windows Server Forum.
    During first logon, a virtual disk (VHDX) is created from a template disk. This VHDX is attached to the virtual machine or RD Session Host server that the user is logging on to. The profile service is then notified to use this VHDX as the location for the user’s
    profile. When the user logs off, the VHDX is then detached from the virtual machine.
    By default, the entire user’s profile is stored on the user profile disk. This includes the Documents folder, the user’s registry hive (holds application and Windows settings), and much more.
    On subsequent logons to the collection, the VHDX is remounted to whatever virtual machine or RD Session Host server the user is logging on to. The user then has access to everything in his or her profile, even if this is a different virtual machine, or if the
    virtual machine has been rolled back to a clean state between logons.
    For more information, please check beneath article.
    Easier User Data Management with User Profile Disks in Windows Server 2012
    http://blogs.msdn.com/b/rds/archive/2012/11/13/easier-user-data-management-with-user-profile-disks-in-windows-server-2012.aspx
    Working with User Profile Disks on Session-Based Desktop Deployments
    http://www.virtualizationadmin.com/articles-tutorials/vdi-articles/general/working-with-user-profile-disks-on-session-based-desktop-deployments.html
    Hope it helps!
    Thanks,
    Dharmesh

  • User Profile Disk not being created

    Hi,
    I created a new 2012 VDI collection. Things seems to be working fine except for the User Profile Disks are not being created. From my understanding a .vhdx prefixed with the user's SID is supposed to be created when the user logs into one of the virtual
    machines from the collection. I can see that a UVHD-template.vhdx" was created correctly but when logging on to one of the deployed virtual machines from the pool there is no  other .vhdx files (except the template).
    From what I've read the virtualization hosts must have write access to the share (they do).  I can't seem to find any other requirements. I've searched through event viewer and found nothing. I'm not sure which logs to check on which server.
    Anyone have any ideas what I'm missing?

    Hi,
    Thanks for your post in Windows Server Forum.
    Kindly follow the below mention article and check the necessary steps for creating UPD, try to create new UPD.
    1.  Working with User Profile Disks on Session-Based Desktop Deployments
    2.  Easier User Data Management with User Profile Disks in Windows Server 2012
    Hope it helps!
    Thanks,
    Dharmesh

  • Windows Server 2012 R2 RDS + User profile Disks + App-V = Explorer.exe crashing all of the time

    I have built a new RDS farm on Windows Server 2012 R2 with two Session Hosts and a combined Connect Broker/Web Access server. I had the farm up and running with User Profile Disks and all seemed OK. However, as soon as I installed the App-V 5.0 SP2 RDS
    client on the session hosts, the explorer.exe process started crashing for any user logging in via the Web Access site. The process crashes and restarts every five to ten seconds. It's the same for administrators. If they log in via Web Access explorer.exe
    crashes, but if they RDP directly to one of the session hosts explorer.exe is fine. If I reboot the session hosts, then the first user to log in via Web Access has a stable desktop session (and appears to have a new profile as well). However, if that user
    logs out and back in again, explorer.exe starts crashing again. The only applications I have packaged at the moment are Office 2013 and Firefox.
    I tried disabling User Profile Disks, but this caused a whole bunch of other problems and I eventually lost the ability to log in at all via Web Access (errors about the user profile service). As this is a small pre-production environment I completed scrapped
    all of the servers and rebuilt from scratch. Again, everything appeared fine until I installed the App-V client, then explorer.exe started crashing repeatedly for all users.
    Has anyone come across this issue before? I have tried installing the App-V 5.0 SP2 Hotfix Package 2, but this didn't help. I have read in a few forums that App-V doesn't work very well with User Profile Desks, but I have not heard of this particular issue.
    Similarly, SP2 seems to have a lot of problems, so I am going to try removing App-V RDp Client SP2 and installing SP1. I ahev also deleted User Profile Disks for the test users to recreate their profiles, but this didn't help either.
    Any other suggestions welcome!

    I forgot to include the application event log entry for explorer.exe crashing:
    Faulting application name: explorer.exe, version: 6.3.9600.17039, time stamp: 0x53156588
    Faulting module name: KERNELBASE.dll, version: 6.3.9600.17055, time stamp: 0x532954fb
    Exception code: 0xc06d007e
    Fault offset: 0x0000000000005bf8
    Faulting process id: 0xae8
    Faulting application start time: 0x01cfab3a273787fd
    Faulting application path: C:\Windows\explorer.exe
    Faulting module path: C:\Windows\system32\KERNELBASE.dll
    Report Id: 69210d77-172d-11e4-80c6-0050560102d1
    Faulting package full name: 

  • Server 2012 R2 Corrupt User Profile Disks after RDSH reboot

    Hi,
    We have a serious problem when using User Profile Disks, we have a pretty simple setup with a single RDGW & RDCB and the 2x RDSH with a folder share for redirected folders and another for User Profile Disks. Now if any server suffers a re-boot when users
    are connected to it then their profiles gets corrupted and are issued with a temporary profile (we have a GPO to deny use of temp profiles) and so cannot log on.
    I have searched the forums and found the following hotfix
    http://support.microsoft.com/kb/2896328 but this ONLY applies to Windows Server 2012.
    Is there any published hotfix for Server 2012 R2, else we will need to look at another way of managing profiles ?
    Thanks,
    Donal

    Hi Donal,
    Sorry to say but there is no other Hotfix related to this issue for Server 2012 R2. But you can try the option of deleting the SID from registry. You can find the below path and then search for proper associated SID with user name and then delete it.
    HKLM\SOFTWARE\Microsoft\Windows NT\Current Version\ProfileList
    More information.
    RDS 2012: The User Profile Service Failed The Sign-In: User Profile Cannot Be Loaded
    Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.
    Hope it helps!
    Thanks.
    Dharmesh Solanki
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Server 2012 R2 RDS, User Profile Disks are created but local profiles are created as well. The UPDs aren't mounting correctly.

    2012 R2 RDS Deployment with RDCB HA and UPDs enabled. Everything was working fine with no issues until users started getting temporary profiles. Around the same time UPDs were being created but at the same time a user profile was created in C:\Users. 
    I actually rebuilt the entire RDS configuration except the SQL Server. It took about 5 hours and was not that big a deal but.... we still have the same issue! 
    Does anybody have the solution for this?

    Hi,
    In most cases, the issue is caused by locked UPD. And the workaround is to log off the user. Please check if it is the case.
    For example:
    RDS user profile disks - getting error temporary profile are being used as UPD are not accessible
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/0d4b66fc-b53f-435e-b036-142b6ed15d0b/rds-user-profile-disks-getting-error-temporary-profile-are-being-used-as-upd-are-not-accesible?forum=winserverTS
    Also, please check if you will get the temporary profile when logging on with a local account of the session host server.
    If issue persists, please check if there is any related error in Event Viewer and provide us for further research.
    Hope this helps.
    Jeremy Wu
    TechNet Community Support

  • Server 2012 RDS - User Profile Disks - Errors during Logoff

    I have set up a test Server 2012 RDS collection (Single Server for now) and implemented User Profile disks.
    I have two problems.
    First: My generic test user can connect and does successfully use the user profile disk as expected. However, at
    logoff, the system event log contains these errors:
    The error (NTFS 137) is: The default transaction resource manager on volume C:\Users\ts3.test encountered a non-retryable error and could not start.  The data contains the error code.
    The warning (NTFS 50) that concerns me is:
    It appears that the user profile disk is being "disabled" or "disconnected"
    before the profile data is completely written at logoff. What can I do to troubleshoot this?
    Second:
    Update: A post from Mike Connor on the following page: -LINK- solved
    the problem described below. 
    My administrative user always logs on now with a temporary profile. At the beginning, the UPD was working and mounting. That stopped working. In attempting to troubleshoot, I logged the admin user off and deleted the UPD disk
    file from the share. I remember it working again after generating a new UPD disk file in the share. Soon, it quit working again. I deleted the UPD disk file again from the share and ever since, it has never regenerated a new UPD and
    always logs on with a temporary profile.

    We experience less to zero problems after an outage with our User Profile Disks when we use the option: "Store all user settings and data on the user profile disk". Other then when we use the other checkbox (even though all checkboxes
    underneath are checked). 
    Our test setup was, an RDSH 2012 r2 server(s), with an 2012r2 server holding the share.
    We first tried the "store all user settings" for the User Profile Disk, we logged several accounts onto our RDSH Server we then disconnected our server which holds the share to simulate an outage. After about 5 minutes we connected the
    server again holding the share. When the share comes back online, we logged off the users and logged them back in. The result was a valid profile for all the accounts including their last changes from before the share got disconnected.
    The exact same test was done with the option: "Store only the following folders on the user profile disk" with all checkboxes underneath checked, which gave us corrupt profiles.. We also did these tests by giving the server holding the share a reboot instead
    of an disconnect from network. This gave us the same result. Each test was done at least 2 to 3 times..
    I hope others can confirm this as well in their situation, as it seems to be a bug within that specific checkbox.
    Looking at the above tests, the best way in my test cases were to exclude the default folders (f.e.: \Documents) if you would like to redirect them instead of using them inside your User Profile Disk. Redirects can be done through GPO Folder redirection
    options or GPO registry combined with Environment Variables.
    Even after several attemps to simulate an outage, i get left with consistent profiles. I've now also included an hard reset of my virtual machine (that gave the same results as a disconnect of the network card). This was all done through using the: "Store
    all user settings in the user profile disk". The other option left us with inconsistent profiles. I hope others can confirm this as well..
    Looks to me that the type of connection towards the User profile happens different. You can see this when looking at the C:\users\<username> and subfolders if you use user profile disks. The 2 options show different symbols as well.

  • Server 2012 R2 user profile disks and outlook search not working

    Hi,
    I`m having a problem with my setup for quite some time now with Windows Search and indexing the outlook OST files.
    I`m using user profile disks in my setup but it seems that Windows Search can`t index the user profile disks, hence when i`m searching in outlook (the OST file is located in the user profile disk) with windows search enabled i`m not getting any results because
    it can`t index the OST file.
    If I don`t use the disks then windows search works fine but because i`m using clustered TS servers I need the profile disks and I don`t want to go back to redirects if possible..
    At the moment I`ve disabled Windows Search which forces outlook to search online, it works but is slow..

    Next issue that popped up, after the user logs off it will deleted the indexed data and start over the next time the user logs on..
    Any fix for that?
    There are three other Technet threads describing the same exact problem about indexing data being deleted when a user logs off from RDS. I'm experiencing this bug also and haven't found anything to fix it yet.
    https://social.technet.microsoft.com/Forums/windowsserver/en-US/dffeb258-b985-452b-82f3-b66b950b98b6/user-profile-disks-with-windows-search?forum=winserverTS
    https://social.technet.microsoft.com/Forums/windowsserver/en-US/e6d4e3e6-37ef-488c-86ac-d135e3f2353f/windows-search-index-and-user-profile-disks?forum=winserverTS
    https://social.technet.microsoft.com/Forums/windowsserver/en-US/dc6328e9-96dc-4377-a23f-0fb7020e5daa/indexing-user-profile-disk-on-a-file-server-or-on-the-rdsh-server?forum=winserverTS
    my PC Techs http://www.mypctechs.com

  • User profile images not persisting after log off on Server 2012 R2 RDS Session Hosts

    Hi,
    We have a 2012 R2 remote desktop deployment, with two session collections, a gateway server, and connection broker.
    We have set these session collections to use centralised user profile disks.
    What I am having an issue with, is that when a user sets their profile image through the server they have logged on to (I have the desktop experience pack installed so they are able to do this), they can see the user tile has been set with that image in
    settings and also on the start menu, but as soon as they log off the server and back on, their profile image has been reset to the default blank image.
    I have checked all of my group policy options, and cannot find any settings that could be impacting this.
    Does anyone have any ideas why these images are not persisting for users or admins?
    Thanks, Eds

    Please check that the user is not getting a temporary profile each time he logs in. Also, make sure that the RDP client is properly configured to display the Wallpaper: http://www.webapper.com/blog/index.php/2007/10/18/enabling-desktop-wallpaper-on-remote-desktop-terminal-services/
    This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.
    Get Active Directory User Last Logon
    Create an Active Directory test domain similar to the production one
    Management of test accounts in an Active Directory production domain - Part I
    Management of test accounts in an Active Directory production domain - Part II
    Management of test accounts in an Active Directory production domain - Part III
    Reset Active Directory user password

Maybe you are looking for