Error Message: TASKMON Caused an Invalid Page Fault in Module... (197791)



The information in this article applies to:

  • Microsoft Windows Millennium Edition
  • Microsoft Windows 98
  • Microsoft Windows 98 Second Edition

This article was previously published under Q197791
If this article does not describe the error message that you are receiving, view the following Microsoft Knowledge Base article to view more articles that describe error messages:

315854 Windows 98 and Windows Me Error Message Resource Center

SYMPTOMS

When you attempt to start or shut down Windows 98 or Windows Millennium Edition (Me), or to start Windows Explorer, you may receive one of the following error messages:
TASKMON caused an invalid page fault in module KERNEL32.DLL

EXPLORER caused an invalid page fault in module KERNEL32.DLL.

CAUSE

This behavior can occur if log files in the Windows\Applog folder are damaged. When you shut down Windows 98 or Windows Me, the Task Monitor tool attempts to update these log files. When it cannot do so, the error message occurs.

RESOLUTION

To resolve this problem, follow these steps:
  1. Double-click My Computer on the desktop.
  2. Double-click the drive that contains the Windows folder.
  3. On the View menu, click Folder Options.
  4. Click the View tab. Under the Hidden Files section, click Show All Files.
  5. Click OK.
  6. Double-click the Windows folder.
  7. Right-click the Applog folder, click Rename, type a new name for the folder (such as Applog2), and then press ENTER.
  8. Restart your computer. The Applog folder and log files are re-created automatically.
NOTE: If you cannot start Windows to follow these steps, start Windows in Safe mode and then follow these steps. For additional information about how to start your computer in Safe mode, click the article number below to view the article in the Microsoft Knowledge Base:

180902 How to Start a Windows 98-Based Computer in Safe Mode

MORE INFORMATION

The Task Monitor tool that is included with Windows 98 and Windows Me records the disk-access patterns of programs when they are started. Task Monitor stores this information in log files in the Applog folder. Task Monitor also records the number of times you use a program. The Disk Defragmenter tool uses this information to optimize your hard disk so that programs that you use frequently are loaded faster.

If this article does not describe your shutdown-related issue, please see the following Microsoft Web site to view more articles about shutting down Windows 98:

Modification Type:MajorLast Reviewed:8/28/2006
Keywords:kberrmsg kbInvalidPageFault kbkern32dll kbprb KB197791