Disable User Account Control (UAC) in Windows 7

User Account Control (UAC) may affect the scheduling of custom script in your workstation. If you have prepare a custom script that want to put into Windows and let it run periodically (such as the Warm-up script for SharePoint), Windows Task Scheduler is definitely the #1 choice. However, one of the most common issues that I heard is - Why don't the script run, even though the Task Scheduler shows "success"?

Normally, when we add a new task in Task Scheduler, the log will show the status is success but you find your custom script is actually never run. The first thing I would check it probably whether the account that run that scheduled task have sufficient rights. In other word, the UAC is enabled such that the script cannot be executed as normal. Therefore, you can easily adjust the "run-as" account in Task Scheduler, or disable the UAC right away in your development/testing machine and try again.

1 Comment

Comments have been disabled for this content.