//flex table opened by JP

Click to See Complete Forum and Search --> : scanreg /fix crashes (Win98SE)


MrBurns
07-23-2004, 11:30 AM
First I have to say, that I am from Austria (Europe) and so my English maybe isnt perfect.



All program output is translated from German.



Because I had an increase of system crashes in the last few weeks, I decided to first make a scan and safe w/ scanreg in dos-mode and after this use scanreg /fix to fix the registry.


When I checked the registry w/ scanreg, it found no errors. So I satrted scanreg /fix. The check of the registry also worked w/o problem, but when the program tried to restore the registry, it crashed alread at the first file (system.dat). the first point (searching for valid registry keys) worked, but at the second point (checking structure of the registry) it always crashed, when it is at 0%. One of these things happened:

1. the pc just did a reboot

2. strange chars and colored rectangles appeared on the screen (see pic, the dark blue chars should be black) and the system didnt react anymore, only the reset button helped.

3. The same kind of chars appeared, but only very short, than the system rebooted.

4. strange colored chars appeared (see video), and after this the system rebooted

5. the picture just froze at 0%. again only the reset button helped.


The registry wasnt damaged by this, windows is running as good (or as bad) as before.


I only want to know, if this could be a sign for a damaged registry.


Thanks in advance.



Here is the pic of the strange chars (2.,3.; dark blue chars should be black):

http://members.chello.at/edith.matuskovics/Scanreg_klein.jpg

uncompressed version, original size (1.22MB) (http://members.chello.at/edith.matuskovics/Scanreg_unkomprimiert.jpg)


Video (4.):

avi, 5.12MB (http://members.chello.at/edith.matuskovics/scanreg_bunt.AVI)

I also have a few other videos, where you maybe dont see the colored chars of 4., or you dont see the reboot, but you can see other things better. So if someone has a problem w/ the quality of the video, just post where you have this problem and I will upload this video to my webspace an post a link. The other videos are between 2.25MB and 2.65MB big (yes, I uploaded the biggest one, but it is also the longest one w/ 20 sec.).



@everyone, who says I should upgrade to WinXP: I already have WinXP in dual boot. I cannot get rid of Win98 completely, because I need to use some programs, which run in Win98, but not in WinXP.



I also have tried a few things, that some people in other forums suggested:


I renamed all c:\windows\sysbckup\rb*.cab files in rb*.old. The only difference was, that I got a new version of the crash, but I think that this new version occured the first time when I disabled autoexec.bat and config.sys.

First the screen output looked normal, but than it became this:


http://members.chello.at/edith.matuskovics/Scanreg1_klein.jpg

uncompressed version, original size (792kB) (http://members.chello.at/edith.matuskovics/Scanreg1_unkomprimiert.jpg)

After this again only the reset button helped.


Also scandisk in DOS + Windows (including surface tests) didnt help. It only found one error. This error was, that the free memory of the partittion is wrong. In Win9x you get this error nearly every time you run scandisk. When I started scanreg /fix after this the same happened as after I renamed the .cab files (I renamed them back in .cab before I ran scandisk).


I also tried to start DOS w/o autoexec.bat and config.sys. However it didnt work w/o confg.sys, because scanreg needs himem.sys. So I only renamed autoexec.bat and in config.sys I wrote a rem at the beginning of each line except the himem.sys line.

The only difference this time was, that it didnt alwqays crash at 0%. On the 3 tries I made, it crashed one time at 3%, one time at 1% and one time at 0%.


Something else, I forgot to mention: When I go to DOS from windows, the floppy-LED is alway until I return to windows or reboot. But the floppy drive only makes a short sound when I exit windows, after this you dont hear it anymore. So it semms, like the LED is on all the time even when the drive isnt active.

When I strat dos by pressing f8 at boot and selecting command prompt only, the floppy-LED works normal.


When I had renamed my .cab files in .old I also ran scanreg /backup and scanreg /restore, bit both worked normal.


I also made a few virus checks:

Before you read my logfiles, you should know, that on my system Win98 is on C: and WinXP is on D: (dual boot).

about one week ago I found a few viruses w/ avg 6.0 free edition. logfile (http://members.chello.at/edith.matuskovics/avg.log.txt).

A few days ago I made a few scans again. I always tested all 3 partitions (also in the test I made one week ago).

First I ran the DOS-Version of Norton Anti Virus 2004 in DOS-mode, but I used a very old virus database form 11/2003 (because this was when my trial licence expired). NAV didnt find any viruses.

After this I made a scan w/the freeware program AntiVir in WinXP. The program only found viruses in backup files and in a uninstall program, but i think the virus in the uninstall program was a wrong alert, because the program is from a reliable vendor and also I had a wrong alert w/ this program once in the past (at this time the reason for the wrong alert was a defective ram). logfile (http://members.chello.at/edith.matuskovics/AVWIN.LOG.txt)

After this I made a scan w/ avg in Win98 (the setup program for avg doesnt work in XP). This time the program didnt find anything.



if anyone says, that I should reinstall Windows: this is too much work, because I would have to reinstall all the programs too. I will not reinstell Windows as long as everything I need is working.

Baddog
07-23-2004, 12:29 PM
Go to Sart>>>>type in SFC>>>hit ok>>>replace files as needed.

Hint: skip the files first time around......write their name down.....do a search on your 98 disk for the files after the scan is through....save them in a folder on your desktop for easy access.:t

MrBurns
07-23-2004, 03:05 PM
I now ran sfc. First I also searched for deleted and changed files, but it found a lot of files, where the changed date only changed from 5/599 22:22 to 5/5/99 23:22 and everything else was the same. At the beginning I replaced all these files, but than I just aborted it and only searched for delted and damaged files. This search didnt find anything.

edit: 5/5/99 is the default date for the german version of win98se.

herosrest
07-24-2004, 07:56 PM
There is only one safe place for files.

That is on another - network.

MrBurns
07-24-2004, 10:15 PM
I restored scanreg.exe, command.com and io.sys (scanreg.exe and command.com from the win98-cd and io.sys form the win98 boot floppy, because i couldnt find io.sys on the win98-cd, not evenin the.cab-files).

I also tried scanreg /opt. It didnt change the behavior of scanreg /fix, but it reduced the size of the SYSTEM.DAT from 9.16MB to 9.08MB.

I also tried RegClean from microsoft and the program RegSupreme Pro, but this also didnt help.

herosrest
07-24-2004, 10:57 PM
Hi MrBurns.
Just a thought - Are installed OS on Fat32.

MrBurns
07-24-2004, 10:59 PM
Originally posted by herosrest
Hi MrBurns.
Just a thought - Are installed OS on Fat32.

You mean if Win98 is installed on FAT32? Of course it is.

WinXP is also installed on FAT32, because I need to have access to this partition from Win98 too.

herosrest
07-24-2004, 11:09 PM
It's Xp u need to worry about.
It boots from the C: drive - in 99 0f 99 cases.

I've had similar problems.
Note similar - and sooner rather than later l forgot that XP was in charge.
Like a dog chasing it's tail, things get out of control very quickly.

Save the data and refresh the system install. It's gonna happen anyway so manage it and put aside a weekend for the job.

Once dual boot has boot problems, there is only one eventual result.

MrBurns
07-24-2004, 11:12 PM
Originally posted by herosrest
It boots from the C: drive - in 99 0f 99 cases.

But not in my case. i have a dual boot system and XP is installed and boots from D:. Oly the NT boot manager and Win98 is on C: of course (the older system must allways be on C:).

So i dont think, that the two OSes even know from each other.

Btw, you mean 99 of 100 cases?

herosrest
07-25-2004, 01:04 AM
NT boots from your c: drive.
Format c: then try and boot XP. (No don't really try it.) lol.

Seriously - work up a recovery/backup strategy for your data, apps and configuration. The system is going to fall over.

U could try drive fitness tests on the hd's - check the manufacturers support sites for the apps.

Ol'Tunzafun
07-25-2004, 03:00 AM
Try reinstalling Windows98SE over top of itself. All your programs will remain. Start the installation from within Win98.

MrBurns
07-25-2004, 04:20 AM
Originally posted by Ol'Tunzafun
All your programs will remain.

I am not so sure about this. I have made different experiences w/ installing win98 over itself (althought I did it from DOS). But I know, that some programs even overwrite system files or change system areas of the registry.




@herosrest: No, only the NT bootmanager boots from the c: drive.

Ol'Tunzafun
07-25-2004, 11:13 AM
I am not so sure about this. I have made different experiences w/ installing win98 over itself (althought I did it from DOS).
Hmmmm.... you may be right. Win98 will probably be OK but it may lose track of where to find XP. It might be a good idea to make a backup image with Ghost or Drive Image. There is a free image maker (that I have not tried).
DrvImagerXP (freeware)-lexunfreeware
http://www.rp006b2684.pwp.blueyonder.co.uk/disk/DrvImagerXPSetup_2.2.zip
Backing up all MBRs, instead, may give more flexibility.
MBR Backup
http://www.diydatarecovery.nl/~tkuurstra/mbrtool.htm
Also back up C:\boot.ini. You will have to unhide it and temporarily remove the Read Only attribute before copying.
When you dual boot, it is always good to have these.

MrBurns
07-25-2004, 11:44 AM
I now used the diagnostic program from my harddisk-manufacturer (Data Life Guard Diagnostic (DOS-Version) from Western Digital). It didnt find any errors. After this i also used the Win-version to test the smart-values, but they were also ok.

herosrest
07-26-2004, 08:55 PM
@herosrest: No, only the NT bootmanager boots from the c: drive. [/B]



Exactly the point. :D

MrBurns
07-27-2004, 01:11 AM
I now ran memtest86. First I hd my FSB oced, but after about 10 min. it reportet an error in the first pass at test 4.

So I clocked my FSB back to 166MHz, whihc is the default for my CPU (my RAM is PC3200, so it can do 200MHz). I also raised the timings to optimal.

After this t5he default test ran nearly 4 hours (over 8 times), but it idint find an error.

After this I ran scanreg /fix again, but it still crashed.

Very strange, in the old times my RAM made 12 hours memtest86 and 12hours GoldMemory w/o problems and I ran my RAM always only at 179MHz, only the timings were a little bit lower (2-2-2-7, optimnal=3-3-3-8, turbo=3-2-2-7).

I will make a few tests @ 179MHz and timings @ Optimal.

MrBurns
07-29-2004, 11:45 PM
w/ optimal timings the test ran for 6 hours w/o a problem.

So I decided to make a test w/ the fastest setting (according to benchmark) that was left, which as 13.5x175@2.5-2-2-6. I made the full test for 10 hours, which is more than one complete pass and it didnt find an error. I also had teh quick test of GoldMemory running for 1 1/1 hours, which is 1 1/2 passes. GM also didnt find an error. I will make the complete test of GoldMemory and also tests w/ other programs to find out, if my system is really 100% stable at this settings.


I also tried the following vbs-scrip to check the .cab-files for errors:

Set fs=WScript.CreateObject("Scripting.FileSystemObject")
Set WshShell = Wscript.CreateObject("Wscript.Shell")
Set WshSysEnv = WshShell.Environment("PROCESS")

WinFolder = WshSysEnv("windir")
BackupFolder = WinFolder + "\SYSBCkUP"

CheckFiles BackupFolder

Sub CheckFiles(folderspec)
Set f = fs.GetFolder(folderspec)
Set fc = f.Files
For Each f1 in fc
if (UCASE(fs.GetExtensionName(f1.name))=UCASE("CAB")) and (UCASE(left(f1.name,2))="RB") then
Set datei = fs.OpenTextFile(f1.path)
lies = datei.Read(48)
lies = datei.Read(1)
datei.close
if Asc(lies)=0 then
s = f1.name + " ist defekt." + vbCrLf + "Soll diese Datei gelöscht werden?"
resultat = WshShell.Popup(s,, "Löschen?", vbQuestion + vbYesNo)
if resultat=6 then
fs.DeleteFile f1.path, TRUE
MsgBox "Datei wurde gelöscht!"
else
s = "Solange die Datei " + f1.name + " existiert, funktioniert SCANREG /RESTORE nicht." + vbCrLf
s = s + "Benennen Sie die Datei um, wenn Sie sie behalten wollen, oder löschen Sie sie!"
MsgBox s

end if

end if
end if
next
end sub

The program found errors in all of my 21 .cab files (rb000.cab-rb019.cab, rbbad.cab) except rb001.cab.

After this I renamed all .cab files in .old, so that a new rb000.cab was created at reboot. after the reboot, there was a new rb000.cab and a new rbbad.cab. the scrip only found errors in rbbad.cab. after this I ran scanreg /fix again, but it crashed again.