Microsoft KB Archive/193903

= Err Msg: Windows Encountered an Error Accessing the System Registry =

Article ID: 193903

Article Last Modified on 1/23/2007

-

APPLIES TO


 * Microsoft Windows 98 Standard Edition

-



This article was previously published under Q193903



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 start your Windows 98-based computer, you may receive the following error message:

Windows encountered an error accessing the system registry. Windows will restart and repair the system registry for you.

If you then click OK, you may receive the following error message:

Explorer caused an invalid page fault in module Kernel32.dll at 015f:bff711be.

This program has performed an illegal operation and will be shutdown.

Also, if you then click Details, you may receive one of the following error messages:

Explorer caused an exception 6d007eh in module explorer.exe at 015f:

-OR-

Error loading Explorer.exe. You must reinstall Windows.

-OR-

Visual C++ Runtime Library Error. Program C:\<%windir%>\Scanregw.exe, R6016, not enough space for thread data.

Note that this behavior may not occur in Safe Mode.



CAUSE
This behavior can occur if the disk that contains the Windows swap file does not have sufficient free disk space.



RESOLUTION
To resolve this behavior, determine which disk contains the swap file, and then increase the free disk space on the swap file disk. To do so, follow these steps:

 Restart your computer, press and hold the CTRL key, and then choose Command Prompt Only from the Startup menu. At the command prompt, type "dir /s *.swp" (without quotation marks), and then press ENTER. Note the swap file name, disk letter, folder name (directory name), and date. This is usually a single file named Win386.swp located in the root folder ("Directory of C:\"), or the Windows folder ("Directory of C:\Windows"). If your computer has a single hard disk, then drive C is the swap file disk, and you should skip to step 4. If your computer has multiple hard disks, search the remaining hard disks for swap files to locate the swap file disk. To do so, use the following steps:

a. At the command prompt, type " :" (without quotation marks), where is the next hard disk letter, and then press ENTER.

b. Type "dir /s *.swp" (without quotation marks), and then press ENTER. Note the swap file name, disk letter, folder name (directory name), and date.

c. If you have more hard disks to search, repeat steps a-c. If you have no more hard disks to search, continue to step d.

d. If you find one (or more) swap files on only one hard disk, this disk is the swap file disk, and you should continue to step e. If you find swap files on multiple hard disks, compare the date of each swap file. The hard disk that contains the swap file with the most recent date is the swap file disk.

e. At the command prompt, type " :" (without quotation marks), where is the swap file disk letter, and then press ENTER. Delete each swap file on the swap file disk. To do so, use the following steps:

a. At the command prompt, type

del \

where is the swap file folder and is the swap file name, and then press ENTER. For example type "del windows\win386.swp" (without quotation marks).

b. If you have more swap files to delete on the swap file disk, repeat steps a-b. If you have no more swap files on the swap file disk to delete, continue to step 5.  Increase free disk space on the swap file disk.

WARNING: If you are uncertain whether a file contains critical information, copy the file to a floppy disk before you delete it.

To increase free disk space on the swap file disk, delete non-essential files. To do so, type the following commands at the command prompt, pressing ENTER after each command:

dir /w /p /s *.

del \*.

where is the file extension of the files you want to delete and is the folder name containing the files you want to delete.

For example, the following list names extensions that may be non-essential files:

     .chk      .tmp      .txt .bak     .old      .bmp

.jpg     .gif      .hlp </li> Test to determine that your computer has sufficient free disk space to start normally. If you cannot start your computer normally, repeat step 5.</li></ol>

<div class="moreinformation_section">

MORE INFORMATION
For additional information about how to determine which folder Windows is installed in, click the article number below to view the article in the Microsoft Knowledge Base:

305792 How to Determine Which Folder Windows Is Installed In

Additional query words: 98 kernel32 explorer exe dll w98hemjun

Keywords: kberrmsg kbinvalidpagefault kbkern32dll kbprb KB193903

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.