GitHub Actions self-hosted runners run under the nt authority\network service account.
According to https://docs.microsoft.com/en-us/windows/win32/services/networkservice-account:
It has minimum privileges on the local computer and acts as the computer on the network.
I am trying to use a GitHub Actions self-hosted runner to deploy an app to my server. To do this I need to access schtasks.exe which currently gives ERROR: Access is denied.
How can I give privileges to nt authority\network service so that it is able to access schtasks.exe?