VirtualBox change folder that saves Snapshot file

By default the SnapShot file of virtual machine in VirtualBox is saved in


And it takes a lot of disk spaces. You may wish to save them to another place to save space in you C drive.

First change the Default Machine Folder

But it only takes effect for the newly created virtual machine. The existing virtual machines still use the existing folder.

To set new path for existing machines, first discard the saved state: right click on the machine and select Discard Saved State

Then click Settings button , select General tab and then Advanced tab, fill the path in Snapshot Folder

Notice your old snapshot will be gone, you can start the virtual machine and close it with save state method, the new snapshot file will be saved in new folder.