本地机器的时钟可能与服务器时间不同步超过五分钟

The local machine's clock may be out of sync with the server time by more than five minutes

在使用管理员权限通过命令提示符在本地配置 VSTS 代理时,我遇到了以下错误

The local machine's clock may be out of sync with the server time by more than five minutes. Please sync your clock with your domain or internet time and try again

我尝试了不同的 google 答案,但没有任何结果。请帮助我

主要是代理机器的时间与VSTS中显示的时间不同步造成的。

您可以检查您的代理计算机的时区是否与 VSTS 设置页面 (https://account.visualstudio.com/_admin/_home/settings) 中的时区相同。

我最近也遇到了同样的问题。谢谢你的回答。总结一下

将 VSTS 帐户设置页面 (https://account.visualstudio.com/_admin/_home/settings) 中的时区同步到本地系统 DateTime。

如果本地时区不同,请尝试此操作并更改时区和时间

http://www.dummies.com/computers/operating-systems/windows-10/how-to-change-the-date-or-time-on-the-windows-10-desktop/

错误消息很有帮助,因为它告诉了您大部分需要了解的内容。具体来说,您需要确保机器的时区同步。

对于 Azure DevOps 服务,时区设置的位置现在位于:

'Organization Settings' > 'Overview' > 'Time Zone'

就我而言,我还需要确保托管代理的计算机上的时间设置正确。

Right-click the time(bottom-right by default) > 'Adjust date/time'