哎。我的电脑跟了这么多年了,现在终于BIOS没电了
每次开机,时间至少慢2小时以上好几次熬夜都过了头,我还以为十二点多点,结果一看手机第二天上班都没精神...
在网上查了下,便改了个能自动同步标准时间批处理。分享给大家。
不管BIOS掉没掉电的人都来看看啊,机不可失,时不再来[code=MS-DOS]
@echo (0/4)正在启动国际标准时间全自动校对程序...
@echo --------------------------------
@echo (1/4)设置每小时时间自动校对!
@REG ADD HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\NtpClient /v SpecialPollInterval /t REG_DWORD /d 3600 /f
@echo --------------------------------
@echo (2/4)设置自动同步国际标注时间!
@REG ADD HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time /v Start /t REG_DWORD /d 2 /f
@echo --------------------------------
@echo (3/4)重启Windows Time服务!
@echo off
net time /setsntp:time-nw.nist.gov
net stop w32time
net start w32time
@echo --------------------------------
@echo (4/4)完成本地时间同步!
@echo off
w32tm /resync
@echo --------------------------------
@pause[/code]