How to Replace an Infected .dll File
These instructions will allow you replace a .dll file with a fresh copy without reinstalling the entire program or operating system that uses the .dll file.
Instructions
-
-
1
Right-click on the icon of your source media. Click on "Search."
-
2
Search for the compressed file you will use to replace your existing file. The name is in the format name.ex_ (for example if my.dll is to be replaced, you will search for my.dl__). Make sure that system and hidden files are checked in the search dialog box.
-
-
3
Open a command prompt window.
-
4
Using the path to the file you need to replace and the information from the search in step 2, type the following command:
EXPAND path\my.dl_ path\my.dll
For example, if my.dll is in the windows/system32 directory on the C: drive and my.dl_ was found in the i386 directory of the E: drive, your command would be as follows:
EXPAND E:\i386\my.dl_ C:\windows\system32\my.dll
-
1
Tips & Warnings
If you get a command not found error, You may need to type the path to the EXPAND command. For example C:\windows\system32\EXPAND....
Use this procedure carefully and as a last resort. Try reinstalling the program or, if possible, Windows before using this procedure. The file being replaced my have been updated by a Windows Service Pack or another installed program. If the original version is no longer compatible, the system may not boot after the file is resored.
Comments
-
everbling
Oct 29, 2009
very good