将VMWare中的虚拟机时间设定在一个固定值

1.关闭虚拟机


2.用记事本打开虚拟机的.vmx文件

在末尾添加添加:

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" 
rtc.startTime = 1325376000


3.启动虚拟机


注意:

1)

rtc.startTime = 1325376000 里的1325376000是从1970年1月1日0时0分0秒到系统启动时间间隔的时间,单位是秒 可以到网站http://www.onlineconversion.com/unix_time.htm上换算得到希望虚拟机的启动时间

2)

如果.vmx文件中本来就含有

tools.syncTime = "FALSE" 

则不需要配置

posted @ 2019-09-25 17:45  ParamousGIS  阅读(5052)  评论(0编辑  收藏  举报