I've been using Task Scheduler on my Windows 11 personal PC without any issues, but now it suddenly says 'Access Denied' when I try to run CMD or PowerShell scripts. The tasks are set to run as the system account, and I've double-checked the paths, even using explicit paths, but that hasn't resolved the issue. Interestingly, other applications like Notepad and Robocopy still run perfectly fine. Has anyone experienced this problem and knows how to fix it?
3 Answers
I suggest trying out Sysmon to monitor what's happening when you run the tasks. Check out Event IDs 1 and 10 in the logs; they can shed some light on the account, paths, and process creations involved. It might help identify the root cause of the access denial.
Have you installed any recent BIOS or firmware updates? It might be worth recreating the task from scratch to see if that changes anything.
Could it be a new security policy that's been put in place? You might want to try copying the EXE to a different location and see if that resolves the access issue.
Related Questions
Can't Load PhpMyadmin On After Server Update
Redirect www to non-www in Apache Conf
How To Check If Your SSL Cert Is SHA 1
Windows TrackPad Gestures