When attempting to shrink an OS layer (version OS layer using a size that is smaller then it currently is) , the Finalize process may fail. The CALCE or UNISYSLIB logs from the Compositing Engine would shows an error similar to the following:
2024-01-17 09:29:11 ERROR 1668 [uni.ca.syslib.reghive] openHive(9039): openHive: error 22 (Invalid argument) opening \\?\Volume{000abcde-0000-0000-0000-100000000000}\/windows/system32/config/SECURITY read-only, aborting
The Compositing Engine logs are accessible via a browser when the packaging machine is booted in CE.
https://<ip of Composting Engine machine>/Logs/CALCE.log or https://<ip of Composting Engine machine>/Logs/UniSysLib.log
Upgrade the ELM to 24.3.2 or newer.
Resizing an OS layer to a smaller size changes the method of coping the OS layer during the finalize process. This causes a path problem which causes CE to fail to access the System hive. This has been fixed in ELM 24.3.2 and newer.