Prevent a differencing VHD file to expand to maximum size of the parent.

I have two vhd files.

  1. Parent vhd file : Dynamically expanding, Maximum 60GB (Actual VHD file size is 18GB), Containing Windows.
  2. Child vhd file : Differencing (Actual VHD file size is 113KB), Empty.

When I boot a computer with the child vhd file, this 113KB file expands to 60GB! and shrink to actual difference data size after the windows is shutdown.
This is a problem when the computer is not normally shutdown and the file remains with that huge size. (This wastes a disk space containing the vhd file even if the windows is running anyway.)
If I have some more child vhd files for user boot menu selection then this problem becomes bigger.
If one vhd file is not shrunk properly then the other vhd files does not have enough disk space to expand. (‘VHD BOOT HOST VOLUME NOT ENOUGH SPACE’ BSOD occurs)
So I would want to know a way to prevent this expanding monster or finding better ideas.

Thank you!

I found a registry!

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\FsDepends\Parameters
VirtualDiskExpandOnMount : 0x00000004