Unable to open Msvcrt40.dll (185433)
The information in this article applies to:
This article was previously published under Q185433 Important This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base: 256986 Description of the Microsoft Windows Registry SYMPTOMS
When you trying to install the Windows 95 SNA client on a computer running
Windows NT, it may cause the following error with Msvcrt40.dll:
Unable to open <drive:>\path\system\MSVCRT40.DLL.
File may be in use by another application.
CAUSE
This problem occurs after detecting mismatched versions of Msvcrt40.dll,
which are dependent during the setup process.
WORKAROUND
Make sure there are no applications running that may have a lock on
Msvcrt40.dll by doing the following:
Warning If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.
For information about how to edit the registry, view the "Changing Keys And
Values" Help topic in Registry Editor (Regedit.exe) or the "Add and Delete
Information in the Registry" and "Edit Registry Data" Help topics in
Regedt32.exe. Note that you should back up the registry before you edit it.
If you are running Windows NT, you should also update you Emergency Repair
Disk (ERD).
- Start Registry Editor (REGEDIT), and go to the following subkey:
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run
- Export the Run key by selecting it, then from the Registry menu, click
Export Registry File, and then save it to the root of your hard drive as
Run.reg.
- Delete all the keys on the right-hand pane in:
HKEY_Local_Machine\Software\Microsoft\Windows\CurrentVersion\Run
except for the <Default> key.
- Restart the workstation, log back on to the domain, and press the
Shift key to bypass the Startup group entries.
- Press Ctrl+Alt+Del, and click Task Manager in the Windows NT Security
dialog box, and then end all tasks except Explorer.
At this point, any applications that might have had a lock on Msvcrt40.dll
are not in use. If an older version of Msvcrt40.dll is located in the
system path, this version should be renamed and replaced with the default
version of the .dll file included on the Windows NT 4.0 or SNA Server CD.
To do this, perform the following steps:
- Run the PATH command at an MS-CMD prompt to check the current system
path.
- Locate all instances of Msvcrt40.dll that exist in the system path.
NOTE: The system path may span several drives.
- Run the DEPENDS program against these .dll files and compare their
versions with the ones listed in this document.
- Rename any old versions of Msvcrt40.dll that may exist, and replace
with the one on the Windows NT or SNA Server CD. If multiple copies of
the same .dll file exists, in the system path, rename all duplicate
copies and leave a single instance in the <ntroot>\system32 directory.
- Proceed to install the SNA Client.
- After installation is complete, double-click on Run.reg to import key
used by other applications back into the registry.
| Modification Type: | Major | Last Reviewed: | 8/12/2004 |
|---|
| Keywords: | kbhowto KB185433 |
|---|
|