Here is what I do instead. Configure a second virtual hard disk for the pagefile and for %TEMP% while making the second disk an independent non-persistent disk directly after partitioning/formatting but before you set the pagefile and %TEMP% to it. Then always pass along the complete Virtual Machine! By setting the second disk as independent non-persistent it's initial size is negligible and always reverts to an empty disk when the VM is shutdown however if/when necessary it survives a reboot or suspension and is not needlessly included when taking Snapshots. IMO it's the professional way to do what you're wanting to do! Image may be NSFW.
Clik here to view.
↧
Re: Store pagefile on separate disk
↧