How do you exchange a system file?

dieharddave

Distinguished
Apr 2, 2001
39
0
18,530
I have a Wsock32.dll that is infected with a virus. Everytime i try to move it or delete it, i am prompt with an error. It informs me that it is in use and to make sure the disk is not full or write-protected. So how do i replace it?
I have the original Wsock32.dll from the win98 cd-rom but when i extract it to the system folder, it sorry can't replace it because it is being used in an application.
Thanks,
Dave
 

misu

Distinguished
Dec 31, 2007
146
0
18,680
boot in safe mode or fron a floppy. Just make sure you are not loading it (boot without network support) and overwrite the sucker! (it's CIH, right?)

Misu
__'_