Microsoft KB Archive/249860

From BetaArchive Wiki
< Microsoft KB Archive
Revision as of 17:14, 18 July 2020 by 3155ffGd (talk | contribs) (importing KB archive)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Knowledge Base

Kernel32 Error Message in Task Scheduler (Mstask.exe) with Terminal Server Edition

Article ID: 249860

Article Last Modified on 10/30/2003


  • Microsoft Internet Explorer 5.01
  • Microsoft Internet Explorer 5.0

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:

267954 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.

Keywords: kberrmsg kbbug kbfix KB249860