Clear Drive but Keep OS

Coworker has a computer that has Win98, but he doesn't have the OS disk anymore.  He wants to clear the drive of all programs, but keep the operating system.  Add/Remove doesn't work because he moved the programs from one drive to the other when he had two in the system, and it can't find them on the old drive.

He thought there were some switches for the format command that would keep the OS but delete everything else.  Is there anything like that?

He does have a spare drive that is blank.  Is there a way to copy just the OS from the one to the blank one?
Who is Participating?
>> are those the cabs needed to reinstall 98 <<
Yes. If they are there, those are the basic files needed to reinstall W98. Just ren the SETUP like you would with the CD (except they are on the HD)

Boot with the floppy bootdisk,
change to the HD (o where the files are),
go to the OPTIONS folder you copied there,
run SETUP.

Make sure you get the Product Key from the Registery before you wipe the drive (if you go this way). Go to the key below, and copy down the code. Usually it's a twenty-five digit number.

find install key:

Lee W, MVPTechnology and Business Process AdvisorCommented:
Nope, sorry, format is an all or nothing thing.  

The only thing I can suggest is to rebuild the registry - that MIGHT work (it works for me roughly 67% of the time).  Look for a SYSTEM.1ST file on the C:\ drive.  Then boot up with a floppy and rename C:\WINDOWS\SYSTEM.DAT to SYSTEM.BAD.  Then copy SYSTEM.1ST to C:\WINDOWS and rename it SYSTEM.DAT.  That will essentially reset the hardware information on the system to the way it was as Windows 98 was first being installed.  (RENAME things and COPY things as I've outlined - MOVING them and DELETING them makes it far more difficult to go back to the current state if something DOESN'T work with this.
You might look in the WINDOWS\OPTIONS\CABS folder and see if the SETUP and CAB files are there.
If yes, just copy the OPTIONS folder and subdirs to the blank HD, before you wipe the first one.
Cloud Class® Course: MCSA MCSE Windows Server 2012

This course teaches how to install and configure Windows Server 2012 R2.  It is the first step on your path to becoming a Microsoft Certified Solutions Expert (MCSE).

benharAuthor Commented:
It might be that it's early and I'm not thinking full-capacity.  I'm trying to figure out what these comments are telling me to do.  The compuer works but he wants to give it to a daycare, but clean it first.

leew - Would rebuilding the reg correct the file paths in the Add/remove so he could remove the programs?

coral47 - then what?  are those the cabs needed to reinstall 98?
Lee W, MVPTechnology and Business Process AdvisorCommented:
Sort of.  It would reset the computer (if things went well - I've seen this work about 75% of the time).  Nothing would be listed in add/remove programs.  Drivers would need to be reinstalled, atnivius software would need to be reinstalled.  User settings would remain the same though, such as wall paper and sound scheme.
You might want to check in to this all-n-one update/patch, some one was kind enough to put together. It for SE only, though.

W98se Service Pack 2.0.1
you might have got lucky and whoever installed the operating system originally might have copied the cabinet files to the harddrive

search the hard drive for a files called win98*.cab
where * will be _ and a the cabinet number

if you find them copy the entire folder they are in to a cd
the folder should contain a setup.exe
run that from the cd once you have the folder copied and it should start the windows installation

good luck
benharAuthor Commented:
The co-worker said the accepted answer worked, except he still needed the win98 disk (which he got a copy of) for some of the drivers.  Thanks for the help!
Thank you much.    : )

Glad to hear they are running again.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.