To change the default virtual machine working directory location for snapshots (to a new directory on the same or alternative datastore):

  1. Open the virtual machine’s .vmx configuration file in a text editor.
  2. Add a line to the .vmx configuration file for the virtual machine, specifying a full path to the directory on a datastore for theworkingDir option:

    workingDir = "new_path_location"