任务计划程序无法在 Windows 10 中打开 Internet Explorer

任务计划程序无法在 Windows 10 中打开 Internet Explorer

我有一个 bat 文件,计划使用 Windows 10 任务计划程序每 15 分钟运行一次。有时它必须在 Internet Explorer 中打开本地 html 文件。

START iexplore.exe -k C:\PATH\TO\FILE.html

手动执行或使用选项时效果很好

only run when user is logged on

在某些系统上,该任务最近开始失败并出现错误

The operator or administrator has refused the request(0x800710E0)

我测试了一些设置,如果我在任务计划程序中使用带有选项的凭据,上述问题似乎可以解决

Run wether user is logged on or not

现在任务已成功完成,但 Internet Explorer 无法打开。

如果我创建一个包含以下内容的新 .bat:

启动iexplore.exe-k C:\file.html

并安排它每 15 分钟运行一次,如果我使用凭据,它不会打开 Internet Explorer,但如果我使用“仅在用户登录时运行”选项,它会打开。这是为什么?

相关内容