VMware Communities
TroyT3
Contributor
Contributor

Disable Time Sync on VW

Hello,

I'm trying to disable time sync on a VM in Workstation 14. I've added the following entries to the .vmx file:

tools.syncTime = "FALSE"

time.synchronize.continue = "FALSE"

time.synchronize.restore = "FALSE"

time.synchronize.resume.disk = "FALSE"

time.synchronize.shrink = "FALSE"

time.synchronize.tools.startup = "FALSE"

time.synchronize.tools.enable = "FALSE"

time.synchronize.resume.host = "FALSE"

as directed in this article: VMware Knowledge Base

However, when I start the VM the .vmx file is re-written and those entries are changed/deleted.

What starts out as:

.encoding = "windows-1252"

displayName = "Windows 10 x64 Clean"

config.version = "8"

virtualHW.version = "14"

mks.enable3d = "TRUE"

pciBridge0.present = "TRUE"

pciBridge4.present = "TRUE"

pciBridge4.virtualDev = "pcieRootPort"

pciBridge4.functions = "8"

pciBridge5.present = "TRUE"

pciBridge5.virtualDev = "pcieRootPort"

pciBridge5.functions = "8"

pciBridge6.present = "TRUE"

pciBridge6.virtualDev = "pcieRootPort"

pciBridge6.functions = "8"

pciBridge7.present = "TRUE"

pciBridge7.virtualDev = "pcieRootPort"

pciBridge7.functions = "8"

vmci0.present = "TRUE"

hpet0.present = "TRUE"

usb.vbluetooth.startConnected = "TRUE"

firmware = "efi"

sensor.location = "pass-through"

guestOS = "windows9-64"

nvram = "Windows 10 x64 Planswift.nvram"

virtualHW.productCompatibility = "hosted"

powerType.powerOff = "soft"

powerType.powerOn = "soft"

powerType.suspend = "soft"

powerType.reset = "soft"

tools.syncTime = "FALSE"

time.synchronize.continue = "FALSE"

time.synchronize.restore = "FALSE"

time.synchronize.resume.disk = "FALSE"

time.synchronize.shrink = "FALSE"

time.synchronize.tools.startup = "FALSE"

time.synchronize.tools.enable = "FALSE"

time.synchronize.resume.host = "FALSE"

sound.autoDetect = "TRUE"

sound.virtualDev = "hdaudio"

sound.fileName = "-1"

etc...

Becomes:

.encoding = "windows-1252"

displayName = "Windows 10 x64 Planswift"

config.version = "8"

virtualHW.version = "14"

mks.enable3d = "TRUE"

pciBridge0.present = "TRUE"

pciBridge4.present = "TRUE"

pciBridge4.virtualDev = "pcieRootPort"

pciBridge4.functions = "8"

pciBridge5.present = "TRUE"

pciBridge5.virtualDev = "pcieRootPort"

pciBridge5.functions = "8"

pciBridge6.present = "TRUE"

pciBridge6.virtualDev = "pcieRootPort"

pciBridge6.functions = "8"

pciBridge7.present = "TRUE"

pciBridge7.virtualDev = "pcieRootPort"

pciBridge7.functions = "8"

vmci0.present = "TRUE"

hpet0.present = "TRUE"

usb.vbluetooth.startConnected = "TRUE"

firmware = "efi"

sensor.location = "pass-through"

guestOS = "windows9-64"

nvram = "Windows 10 x64 Planswift.nvram"

virtualHW.productCompatibility = "hosted"

powerType.powerOff = "soft"

powerType.powerOn = "soft"

powerType.suspend = "soft"

powerType.reset = "soft"

tools.syncTime = "FALSE"

time.synchronize.continue = FALSE

time.synchronize.restore = FALSE

time.synchronize.resume.disk = FALSE

time.synchronize.shrink = FALSE

time.synchronize.tools.startup = FALSE

sound.autoDetect = "TRUE"

sound.virtualDev = "hdaudio"

sound.fileName = "-1"

etc...

Six of the entries are preserved, although the lower five had their quotes removed, and 2 of the entries are deleted altogether.

Is there a better way of doing this, or am I missing something?

0 Kudos
4 Replies
TroyT3
Contributor
Contributor

<bump>

0 Kudos
Parveen1988
Enthusiast
Enthusiast

Hi,

Does it work if you disable from GUI? See screenshot.

0 Kudos
TroyT3
Contributor
Contributor

Hi, thanks for the response.  Yes, that is how I have it set.  The time sync happens about 10 minutes after the VM is started.  When I load from a snapshot, the time is as I set it when taking the snapshot.  I'm really beating my head against the wall on this.  I've even looked at abandoning Workstation and trying VirtualBox, but I'd rather not. 

0 Kudos
Parveen1988
Enthusiast
Enthusiast

Thanks for the response.

See the below link for same issue.

VMware Tools: Time sync not working

0 Kudos