Score:1

How to reduce a RDS user's vhdx?

cn flag

In order to reduce RDS user's vhdx (User Profile Disks) size, I wanted to test disk2vhd to rebuild a vhdx from mounted vhdx. But it doesn't work on virtual drive.

Optimize-VHD is not suitable for this job because it's not a Hyper-V env.

So, is there a way to reduce users's vhdx?

Thanks.

Score:1
cn flag

If you don't want to install Hyper-V management tool to use Optimize-VHD, then you can use compact vdisk in diskpart: compact vdisk | Microsoft Learn.

diskpart
select vdisk file=<full path>
compact vdisk
Alysko avatar
cn flag
Ok, thanks, I will try this. I'm actually Optimize-Volume only.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.