【发布时间】:2020-04-05 19:33:34
【问题描述】:
GitHub Actions 自托管运行器在 nt authority\network service 帐户下运行。
根据https://docs.microsoft.com/en-us/windows/win32/services/networkservice-account:
它在本地计算机上具有最低权限,并充当网络上的计算机。
我正在尝试使用 GitHub Actions 自托管运行器将应用程序部署到我的服务器。为此,我需要访问schtasks.exe,它目前提供ERROR: Access is denied.
如何授予nt authority\network service 权限,使其能够访问schtasks.exe?
【问题讨论】:
标签: windows windows-server github-actions