cd "C:\Program Files\Oracle\VirtualBox"
查看所有vm
VBoxManage.exe list vms
关闭时间同步,要先关闭虚拟机:
VBoxManage setextradata <虚拟机名/虚拟机UUID> "VBoxInternal/Devices/VMMDev/0/Config/GetHostTimeDisabled" "1"
打开时间同步,要先关闭虚拟机:
VBoxManage setextradata <虚拟机名/虚拟机UUID> "VBoxInternal/Devices/VMMDev/0/Config/GetHostTimeDisabled" "0"