Discussion Locked

Editing the Registry in DOS

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

My wife's NTWS 4.0 machine is infected with the Sircam email worm. It was not 100% effective but it has rendered her NT OS useless. The registry's default EXE file startup key, "[HKCR\exefile\shell\open\command]" has been changed by the worm to "[e:\recycled\SirC32.exe" "%1" %*]". This has the effect of short-circuiting all EXE files, preventing them from running. Also, it generates a window saying, "SirC32.exe" cannot be found". Each program I attempt to run (including regedit, regedit32,redisk, etc.) generates another "SirC32.exe cannot be found" dialogue box. It has also created a startup key for another file, scam32.exe, (which was) located in the system32 directory.

I NEED to be able to run regedit before NT bubbles up.

Ideas? BTW, this machine is dual-boot running System Commander. The former OS was win98, and it may be operable. (It has been over a year since my wife used win98.)

Thx
Jim Baugh
highrise@csi.com

5 replies

by shanghai sam

I must confess that I already implemented this solution, but had I not independently found the solution at www.antivirus.com/vinfo/security/sircam_descript.htm, then this would have helped me through the difficulty. I ran a win98 boot disk and added c:\windows\command to my path. Then I copied regedit.exe to e:\recycled. BTW, E: drive is FAT16. Then I copied regedit.exe to regedit.com AND SirC32.exe, since the EXE startup key was hung up looking for it. Then I deleted scam32.exe, a couple of bogus sc*.dll files with the same time stamp, but SirC32.exe was not copied to the drive, nor was rundll32.exe renamed and replaced. Upon restarting the NT OS, "SirC32.exe" (regedit.exe, actually) opened about 30 instances, but none of them successful. I cancelled all of them. Then I ran regedit.com and took care to delete/modify the appropriate registry values and keys.

Also picked up a removal tool, but it was made for win95/win98/winME, and I did not trust it, prefering to do the work manually.

Thx! Your answer was on-target.

Jim Baugh

by jkeller

If you formated the partition that NT is on to NTFS, then Win98 or any 9x/DOS boot disk will not be able to access it.

You could go to different NT machine and use regedit to find the same key (HKCR\exefile\shell\open\command) and export the key to a *.reg file on a floppy. Run the newly created *.reg file using the Run command in Start to change the value if NT is bootable.

by shanghai sam

My wife's machine does not have an NIC, nor do we have a home network. I did consider installing another instance of NT, but I have never liked that solution. As I mentioned on question #1, NT is installed on a FAT16 partition. I use NT because it is sturdy, not because it has better security. And my best troubleshooting tools are DOS. I usually do not allow programs to install themselves on the boot drive in order to maintain a large amount of unused space on a 2.1-GB partition, where other OSs may be installed (or at least leave a footprint). One day I will be able to create NT boot disks which are independent of the installed system. Then we will use NT utilities to fix distressed machines (if I have time).

Thx for your response

Jim Baugh

This discussion is closed to new replies.