Resize-UserProfileDisk icon indicating copy to clipboard operation
Resize-UserProfileDisk copied to clipboard

Powershell script for compacting User Profile Disk (UPD)

Results 10 Resize-UserProfileDisk issues
Sort by recently updated
recently updated
newest added

whever I do a single Vhdx file with `-defrag` option I get this error: `The given volume path is invalid. (0x89000001)` eg `Resize-UserProfileDisk -SingleVhdxFile "E:\UPDs\UVHD-S-1-5-21-3615657673-3089639132-939047325-6172.vhdx" -defrag`

SingleVhdxFile parameter dont works with a UNC path No problem with a UNC path with -path directory parameter

bug

After running this against a single vhdx file, the disk remained mounted at the end of the procedure. Interestingly, if I run this against a folder I don't have the...

bug

Whether I run -Defrag with or without -ZeroFreeSpace, the end result is no free space being reclaimed. I've tried both the GitHub and TechNet versions of the script with no...

I can't seem to free up space on some VHDX User profile drives. The VHDX shows a size of 19 GB sitting on the network drive When I mount the...

We are scheduling this script to run at weekends when fewer users are likely to be logged on. Some UPDs are already as small as they possibly can because they...

enhancement

Please change the description in the script comment the defrag parameter. In fact its seems to be Case Sensitive. When you use -Defrag instead ok -defrag the script dont works....

documentation

The upd is not unmonunted when there is only one UPD on the UPD directory. When there two ore more no problem, upd are unmonted at the end correctly.

enhancement

The generation of the DISKPART script, and the when it is actually executed could have a long time delay as defrag and sdelete can take a long time over many...

enhancement

Without the use of any parameters, all the VHDX-files will be mounted at once.

bug