Change the Swap File Location in the vSphere Web Client

When a virtual machine is powered on, the system creates a VMkernel swap file to serve as a backing store for the virtual machine’s RAM contents.

You can accept the default swap file location or save the file to a different location.

By default, the swap file is stored in the same location as the virtual machine’s configuration file.



  1. Select a virtual machine.
  2. In the VM Hardware panel, click Edit Settings.
  3. Click VM Options.
  4. Click the Advanced triangle to expand the advanced options.
  5. Select an option.