Windows IT Pro is the leading independent community for IT professionals deploying Microsoft Windows server and client applications and technologies.
  
  
  Advanced Search 


March 30, 2001

Watch Out for Possible Problems with Task Scheduler, Cacls, and Xcacls


RSS
View this exclusive article with VIP access -- click here to join |
See More Hotfixes Articles Here | Reprints | Or sign up for our VIP Monthly Pass!

For some time, I've been testing my scripts to ensure that they'll function correctly in Windows 2000. When I recently tested a few scripts on a server running Win2K Server Service Pack 1 (SP1), I ran into problems with three commonly used tools: Task Scheduler, Cacls, and Xcacls. Here are the details about those problems and the Microsoft hotfixes available to fix them.

The Task Scheduler Problems
If you schedule any scripts or tasks to run with the Task Scheduler (mstask.exe) in Microsoft Internet Explorer (IE) 5.0, your scripts or tasks might fail to run when scheduled or they might become hung in the Running state, as indicated on the Task Scheduler's GUI. These problems can occur if you're using IE 5.0's Task Scheduler on a server running Win2K Server, Windows NT Server 4.0, or Microsoft BackOffice Server 4.0. You need to watch for these symptoms:

  • Scripts or tasks take much longer than usual to complete.
  • Scripts or tasks don’t start at their scheduled time.
  • Unexpected failures occur in scripts that you've executed successfully in the past.
  • Clicking End Task doesn’t stop hung scripts or tasks.

To get the Task Scheduler to work again, you need to stop and restart the service. However, when I stopped and restarted it, the condition cleared only temporarily. Examination of the Task Scheduler logs didn't reveal any cause for these problems. The logs just showed the start time and the end time for when I stopped and restarted the service. . . .


Already a VIP member?
Please log on to view the full article

Why become a VIP member?

VIP-only online access
VIP CD delivered twice a year: offline access to the entire Windows IT Pro article library
Monthly issue of your choice of Windows IT Pro or SQL Server Magazine

Subscribe Now
Reader Comments
A better alternative to the built in Task Scheduler is VisualCron. http://www.visualcron.com

mrdance March 22, 2006 (Article Rating: )


You must be a registered user or online subscriber to comment on this article. Please log on before posting a comment. Are you a new visitor? Register now




Top Viewed ArticlesView all articles
Battery Life Issues Almost Certainly Not Windows 7's Fault

While Microsoft is still investigating a notebook battery life issue that was supposedly caused by Windows 7, some interesting trends have emerged. ...

Getting your iPhone to Sync with Exchange 2003

Follow these steps to use an iPhone with Exchange. ...

Command Prompt Tricks

One reader shares his tip for setting up the command prompt to reflect a remote path. ...


Task Automation Whitepapers Three Ways to Prevent Insider Risk within Your SCCM-Managed Environment

From Development to Production: Streamlining SharePoint Deployment with DocAve Deployment Manager

From Development to Production: Streamlining SharePoint Deployment with DocAve Deployment Manager

Related Events Windows, Unix, Linux Interoperability

Check out our list of Free Email Newsletters!

Task Automation eBooks Spam Fighting and Email Security for the 21st Century

A Guide to Windows Certification and Public Keys

Keeping Your Business Safe from Attack: Patch Management

Related Task Automation Resources Introducing Left-Brain.com, the online IT bookstore
Looking for books, CDs, toolkits, eBooks? Prime your mind at Left-Brain.com

Discover Windows IT Pro eLearning Series!
Clear & detailed technical information and helpful how-to's, all in our trademark no-nonsense format


Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro DevProConnections IT Job Hound
Left-Brain.com Technology Resource Directory asp.netPRO ITTV Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 © 2010 Penton Media, Inc. Terms of Use | Privacy Statement