vhdx
3 TopicsOneDrive, Files on demand: OneDrive/Windows11 automatically downloads .vhdx files from the cloud
Strange behavior: I have a (huge) file "C:\Users\User\OneDrive\Driver ASUS G733PZ\MACR_G733PZ.vhdx" on my OneDrive as a "File on Demand" (kept in the cloud only as a backup) and every time I open that directory from File Explorer (Windows 11 23H2, OneDrive 24.091.0505.0003) for unknown reasons it automatically starts downloading the .vhdx on my physical disk (it seems this has something to do with the OS Search Indexer)! If I do never open that OneDrive dir it doesn't happen but as as soon I browse that dir it starts... To make it stop doing this on next reboots I've had to rename the file on demand as "file.vhdx.bak", it worked. This shouldn't happen and the OneDrive or Windows OS team should prevent the system from automatically downloading .vhdx marked as files on demand in cloud only.1KViews0likes3CommentsVHDX size reduction
I still have hopes. The dynamic VHDX container is so useful however it has a big downfall as it cannot shrink. Adding data into a dynamic VHDX keeps it expanding in size even if you delete data from it. This often gives ridiculous results when there is a 500 GB VHDX container containing only serverl GBs of data. I know that shrinking is possible with an awkward procedure of taking the VHDX offline, defragment it, null free space (with external tool as Windows cannot do that) and then use a Poweshell command and hope the size gets reduced. But we have 2021 now and there should be a way of self-shrinking dynamic VHDX that never occupis more space than data in it requires. And if data is reduced, it shrinks without any required interation. Otherwise this 'dynamic' VHDX is just a sad joke.4.2KViews1like1CommentWhat is difference between File size and Size in the output of GET-VHD command?
In resizing VHD using Resize-VHD command, the property SizeinBytes is accepting value greater than the "Size" property in the output of the GET-VHD command. But my actual size of VHD is in "FileSize" property. I am unable to figure out the relation between File size and Size. I would be glad to know the relation between the FileSize and Size properties or the unit of Size property (Kb/Mb/any other related). Thank you in advance3.2KViews0likes1Comment