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.

Published Saturday, June 18, 2011 8:00 PM by Colt
Filed under:

Comments

# Fix The Annoying "Windows Explorer has stopped working" Message in Windows 7

A friend of mine told me the captioned message when he try to right click an object in Windows 7 desktop

Sunday, July 03, 2011 6:29 AM by Colt Kwong Blog

# Fix The Annoying "Windows Explorer has stopped working" Message in Windows 7

A friend of mine told me the captioned message when he try to right click an object in Windows 7 desktop

Sunday, July 03, 2011 7:36 AM by ASP.NET Chinese Blogs

Leave a Comment

(required) 
(required) 
(optional)
(required)