Forum Discussion

Nata1979's avatar
Nata1979
Copper Contributor
Jun 19, 2020

Unable to run My powershell script on windows 2008 R2 server using windows task scheduler

Currently i am using domain service account to run the powershell script using task scheduler. I tried all the methods such as below

 

-noprofile -executionpolicy Bypass -file "E:\APPS\TC_Monitoring\tc_monitoring_v1.ps1"

 

Tried with highest privileges

 

Added logon service permission to the domain service account in local security policy and updated group policy.

 

Tried using /autostart

 

But the task scheduler perfectly works with my domain administrator account. ran out of ideas already.

No RepliesBe the first to reply

Resources