Article ID: 249860 - View products that this article applies to.
This article was previously published under Q249860
When you use the Task Scheduler tool (Mstask.exe) that is included in Internet Explorer 5 with Microsoft Windows NT Server 4.0, Terminal Server Edition, and a scheduled task is started either manually (by using the run command) or at a scheduled time, the following error message may be displayed on the console:
Initialization of the dynamic library system\system32\kernel32.dll failed. The process is terminating abnormally.
This behavior occurs because Mstask.exe creates scheduled tasks with CreateProcessAsUser(), and uses a token handle that refers to a handle to the access token of the current user shell. This is meaningless in Terminal Server and each access token has a logon ID so there is a logon ID mismatch.
To resolve this problem, obtain the latest service pack for Internet Explorer version 5.01. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/267954/EN-US/ )How to Obtain the Latest Internet Explorer 5.01 Service Pack
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. This problem was first corrected in Internet Explorer version 5.01 Service Pack 1.
Article ID: 249860 - Last Review: October 30, 2003 - Revision: 3.0