Increase the size of user profile disk in my remote desktop server

Anonymous
2025-02-19T02:56:13+00:00

Hi all experts. I have a server for remote desktop services purposes, Windows 2016 standard, and domain joined.

It is configured using User Profile Disk, and the maximum limit is set to 5GB. I want to increase the maximum limit but I can't do it under the collection's properties because that field is grayed out. My questions:

1. How to increase the maximum limit? Please guide me and let me know how.

2. Can I increase the maximum limit for 1 single user only? If yes, please let me know how.

3. I found some info from the web that this can be done by the Diskpart command, is it true? If I follow the Diskpart method, do all user profiles encounter data lost?

I need your guidance and input, I appreciate it.

Here are some images:

Windows Server High availability Virtualization and Hyper-V

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question. To protect privacy, user profiles for migrated questions are anonymized.

0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Anonymous
    2025-02-20T05:57:41+00:00

    Hi,

    To increase the maximum limit for all users, you can try PowerShell cmdlet Set-RDVirtualDesktopCollectionConfiguration to modify MaxUserProfileDiskSizeGB. Open PowerShell as an administrator on the Remote Desktop Server and run the following command to set the new maximum size (e.g., 10GB):

    Set-RDVirtualDesktopCollectionConfiguration -CollectionName "YourCollectionName" -MaxUserProfileDiskSizeGB 10

    Replace "YourCollectionName" with the actual name of your collection.

    You cannot set different user profile disk sizes for individual users within the same collection. The size is set at the collection level and applies to all users within that collection. Using diskpart to resize the user profile disks is not recommended. It's best to use the supported PowerShell cmdlets for managing user profile disks in Remote Desktop Services.

    Remember to back up any critical data before making changes to the user profile disk size.

    Windows Client for IT Pros and Windows Server forums are moving to Microsoft Q&A

    We’re transitioning to Microsoft Q&A for a more streamlined experience. Starting 21 February*, new questions can only be posted on* Microsoft Q&A. Existing discussions will remain accessible here.

    From the 26 February customers looking for support on Answers will be automatically redirected to Microsoft Q&A.

    0 comments No comments