(Sorry about the html coding that is listed below. I did a copy/paste from the webpage and I can't seem to edit the html codes out)
Don't rename Windows to something else. I tried that one time and ended up with a registry that was pointing to C:\Windows for some entries and picking up other files from the renamed directory. not a good thing. Renaming win.com to win.xxx (I use my initals for the extension so I can easily find the files I have renamed) may or may not work. I'm really not sure.
If you just want to install Windows cleanly, you can probably try deleting command.com, msdos.sys, and io.sys. This will remove the files that make the C: drive bootable, which may be enough to allow the Windows 98 CD to install. I'm not positive, though. I've seen that error message when trying to reinstall in the past a few times, but I don't remember exactly what I have done to fix it.
If you want to try to clean the virus first, check out the following which was found from
this webpage:
<FONT face=Arial>
Disclaimer
</FONT><FONT color=#800040>PLEASE: Do not try these steps if you are not comfortable deleting files. I claim no responsibility for you not understanding these steps or following them correctly.</FONT>
Before cleaning, its a good idea to delete the actual emails in your Outlook Express program that have the virus. Otherwise when you preview the message again, the system will reinfect itself.
Once infected, do not reboot or restart your computer before cleaning, otherwise the infection will return.
Delete the following:
1) Delete the added lines in your AUTOEXEC.BAT file
@echo off>C:\Windows\STARTM~1\Programs\StartUp\kak.hta
del C:\Windows\STARTM~1\Programs\StartUp\kak.hta
or delete the autoexec.bat file and rename the AE.KAK file to AUTOEXEC.BAT
2) Delete the KAK.HTA file from the Windows Startup group as well as the c:\windows directory.
Also delete the temporary .hta file which was placed in the c:\windows\system directory. This file generally has a name like 74F03760.hta. Although the temporary filename will never be the same, just delete the .hta files in the c:\windows\system directory. You may have to change your Folder Options to "Show All Files" in order to find these files.
3) Using REGEDIT, Delete the 2 added registry entries
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows \Currentversion\Run\cAg0u
HKEY_CURRENT_USER\Identities\Software\Microsoft\Outlook Express\5.0\signatures\Default Signature
(Be sure the default signature entry points to the KAK file)
4)
Download and Install the Microsoft patch for the security vulnerability that allows this worm to invade your system.
<FONT face=Arial>
Automatic Removal Program for the KAK Worm
</FONT>This KAK Cleaner program will automatically clean the KAK worm from systems. You can download it from either link below, then double-click on it to clean the KAK worm from your systems.
KAK Cleaner
KAK Cleaner (alternate site)