Start-run-msconfig, startup tab, uncheck your "Gateway" if there. Otherwise, need more info.
Next time, defrag in Safe Mode. It bypasses startup files.
Also find Millenium (ME) Defrag.exe, smaller and faster.
With 18gb, you'd save yourself time and loss by having a 2nd partition, but it's a little hassle and needs Partition Magic ($$), or a spare Hdd for such. That way, your main C: could be lost and you could use-backup from D:...
Saves time on Defrag and Thorough Scan.
Now I have a 4 port router, i do not need Internet Gateway. My 98SE hangs at times esp on shutdown, and it is most often Internet gateway that is 'not responding'on ctr+alt+del.(Ihave 2Gb free space on 18Gb harddrive, and recent defrag, but I.G. caused a hang immed after this.)
Who knows how to shut it off or uninstall?