Inrecase FSLogix VHDX containers

Brandon Peters 86 Reputation points


I recently increased the size of our Office VHDX container limit, and I was hoping someone might have a recommendation for how to increase the VHDX size of the existing containers with no or little impact to the users. I would like our environment to be consistent, so all the users have the same VHDX limit. It would be nice if there was a real time "Expander/Resizer" for the VHDX.

Does anyone have a recommendation for a script that could do this, or is there an FSLogix utility that can already handles this?

I appreciate any assistance.

A set of solutions that enhance, enable, and simplify non-persistent Windows computing environments and may also be used to create more portable computing sessions when using physical devices.
463 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,357 questions
0 comments No comments
{count} votes

Accepted answer
  1. Kasper Johansen 76 Reputation points

    I have a script which can expand both profile containers and ODFC containers, and probably any other container types as well. You will of course have to execute the script as an administrative user and specify either each individual container or a share with multiple containers.

2 additional answers

Sort by: Most helpful
  1. Fredrik Endresen 91 Reputation points


    FSLogix has no tools for expanding existing disks.
    It`s always recommended to size the disks large to avoid this problem. You can then either limit the size of data that grows inside the disk doing other things. Set max .OST size, clear cache etc.

    Change your GPO and set a large max size, so at least new users will get big enough disks.

    For the disks already created, you have to to something like mentioned her: (take backup before testing..)

    I would also recommend running this shrink script from Jim Moyle. It removes whitespace inside the disks and will often shrink the disk by 50% !


    0 comments No comments

  2. Fabian Schmidt 1 Reputation point

    Hi, I have a similar question:

    I tried resizing a test container with frx.exe and it worked.

    But I have a real user who hit the hard limit size. And as far as I can tell the RW.vhdx cannot be merged into the parent disk, because it's full.
    The user gets a temp logon, I assume because the merge doesn't work.

    So now I'm stuck with a profile container I cannot use, cannot resize and cannot mount to migrate the data because the RW disk blocks changes and mounting.
    Is there anything I can do here (except move/delete the container and create a new one)?

    0 comments No comments