The method for checking whether File_name.dll exists
varies, depending on the file system in use.
For NTFS file systems,
install a parallel copy of Windows NT into an unused directory, and then verify
that File_name.dll exists in the %SystemRoot%\System32 directory.
For FAT File Systems, an MS-DOS installation disk can be used.
If
the file exists, it is possible that the registry software hive has been
corrupted. Check the integrity of the software hive by using the following
procedure:
Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:
322756 How to back up and restore the registry in Windows
NOTE: In every case tested in which the software hive could not be
loaded, the File_name was Winsrv.dll.
- From a parallel installation of Windows NT, click Start,
and then click Run.
- In the dialog box, type Regedt32.
- On the toolbar for Registry Editor, click Window, and then
click the window with the following name:
HKEY_LOCAL_MACHINE ON LOCAL
MACHI
- Select the HKEY_LOCAL_MACHINE key in the left pane of the
window.
- On the menu bar, click Registry, and then click Load Hive.
- Browse to %SystemRoot%\System32\config, where %SystemRoot%
is the correct installation of Windows NT that you want to check.
- Click the file named Software. In Windows NT 4.0, this will
be the file named Software that does not have an extension, and has a generic
Windows icon next to it, not the file with the Notepad icon. In Windows 3.51,
the file name is System, has no extension, and has a generic Windows
icon.
- The system will prompt for a key-name to use in loading the
hive. You can type whatever you prefer in the dialogue box; Work would be a
good choice.
- The hive is corrupted if you receive the following error
message:
Registry Editor could not load the key.
The file is not a valid Registry file.
After you have determined the
problem, there are several ways to resolve it. The software hive can be
restored by making a parallel installation from backup files. It can also be
restored from the latest emergency repair disk (ERD), using the procedure
outlined below.
Note: Windows NT 4.0 requires the Setupdd.sys file to be copied to
disk 2 of the Windows NT Setup disks to perform this repair without a CD-ROM.
This file can be found in Service Pack 2 or later.
For additional information, click
the following article number to view the article in the Microsoft Knowledge
Base:
150497
How to Repair Windows NT System Files Without a CD-ROM Attached
- Start the system with the Windows NT Setup disks.
- At the first screen, press R for repair.
- Use the arrow keys to move the cursor to Inspect
boot sector, and then press the ENTER key to uncheck this selection.
Then perform the same procedure to uncheck Verify Windows NT system
files and Inspect startup environment. After this,
only Inspect Registry Files should have a check mark. Next,
move the cursor to Continue (Perform Selected Tasks), and then
press ENTER.
- Let Windows NT perform the mass storage detection. When
prompted, select S to specify additional drivers if your computer requires OEM
drivers.
- When prompted to do so, insert the emergency repair disk
that was originally created for this computer, or press ESC to let Windows NT
search for repair information for version 3.51 or version 4.0.
- Setup will then ask which registry files should be
replaced. Using the arrow keys, move the cursor to Software (Software
Information) and press ENTER. Next, move the cursor to Continue (Perform
Selected Tasks) and press ENTER.
- When finished, restart your computer when Setup prompts you
to do so.
For additional information about how to repair your Windows NT
installation, click the following article numbers to view the articles in the
Microsoft Knowledge Base:
146887
Repairing Windows NT After the Application of Service Pack 3
129037 Windows NT 3.5x and 4.0 Emergency Repair Process Screens
148262 Removing Windows NT 3.51 SP4 or SP5 May Cause Logon Failures
103280 Using an Emergency Repair Disk Created by Windows NT
150947 How to Repair Windows NT System Files Without a CD-ROM Attached