We need to adhere by the password change policy in any IT org. But one of the side effects of such policies is your scheduled tasks running with your account credentials.
Here is solution to run a scheduled task as “System” Account.
Open cmd with “Run As” administrator account.
SCHTASKS /CHANGE /RU “NT Authority\System” /TN “my_job0”
SCHTASKS – Native Windows 2003+ command
/Change – Changes the existing task
/RU – Run as User [system account does not have password]
/TN – Task Name