当我使用具有管理员权限的域帐户登录服务器并在任务计划程序中创建任务时,一旦选择以下选项,我将无法成功保存任务:“无论用户是否登录都运行”和“以最高权限运行”提示我输入“输入用于运行此任务的用户帐户信息”。当我这样做时,我收到以下消息:
Task Scheduler cannot apply your changes.
The user account is unknown, the password is incorrect,
or the account does not have permission to modify the task.
Run Code Online (Sandbox Code Playgroud)
当我检查作为批处理作业属性登录时(从帮助文档中找到):
This policy is accessible by opening the Control Panel,
Administrative Tools, and then Local Security Policy.
In the Local Security Policy window, click Local Policy,
User Rights Assignment, and then Logon as batch job.
Run Code Online (Sandbox Code Playgroud)
一切都变灰了,所以我无法添加用户。如何添加用户或获取要保存的任务?
看来我们计算机实验室中的某些计算机的时钟运行速度大约为 3-4 分钟。
截至目前,当我们将计算机加入域时,它会根据我们服务器的域控制器时钟 ( Windows Server 2008 R2
) 设置时钟。
我们如何让我们的服务器与我们没有加入的外部服务器同步时间?
我不太了解网络/服务器,但显然 Windows 域组策略默认不允许更改此设置 - 那么我该如何覆盖该设置,以便我们的服务器可以将其时钟设置为与外部服务器同步?