How can one re-install system files for Windows 98 without doing a "full install" ?

How can one re-install "system files" for Windows 98 without doing a "full, or clean, installation" ? - I have seen many cases where a user had inadvertently deleted or over-written one or more "system" files that disabled some functionality on their computer in some way, but I was not ready to do a clean installation, thereby losing the customer's current desktop settings, look and "feel", and I didnt wan't to lose registry settings for currently installed programs, etc.  Invariably user doesn't have or cant find the install disks for his program, also, and of course avoiding reloading everything is desirable.  Is there a way?
 
audiodudeAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

CrazyOneCommented:
Reinstall the operating system over the top of itself. This will retain most of you settings and programs and replace the system files.

If the CD is bootable and your system allows booting from the CD then boot to the CD and install.

Otherwise boot to a ME or Win98 floppy bootdisk http://www.bootdisk.com/bootdisk.htm
Put the CD in the CD drive
At the prompt run the following command

setup

If you don't have the CD then run one of these commands

C:\Windows\Options\Cabs\setup.exe

or

C:\Windows\Options\Install\setup.exe

http://support.microsoft.com/default.aspx?scid=kb;en-us;259181

Note that reinstalling Windows does not alter your currently installed programs unless a program has previously replaced a Windows system file. If a program does not work correctly after you reinstall Windows, reinstall the program, but note that the program may be replacing one or more Windows system files.


http://utils.skull-tech.com/bootdisks/boot98.exe
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Adrian DobrotaNetworking EngineerCommented:
Another way would be sfc (system file checker) It searches for corrupted/deleted files and restores them from the CD.
clisk start->run and type
sfc
That's all. It will require the CD and restore files. Indeed, there are often problems that can't be solved just like that, so a "on top" reinstall is needed or worse, a clean oe.

Kronos
0
audiodudeAuthor Commented:
-I tried sfc - id didnt find anything unusual - going to try "install-over" tomorrow--
should I tell it to put system files in a new directory?? - SR.
0
Cloud Class® Course: CompTIA Healthcare IT Tech

This course will help prep you to earn the CompTIA Healthcare IT Technician certification showing that you have the knowledge and skills needed to succeed in installing, managing, and troubleshooting IT systems in medical and clinical settings.

Adrian DobrotaNetworking EngineerCommented:
nope
0
BillDLCommented:
Just an addendum to the accurate comments posted above.

If you have a clear indication of any specific system files being notified as causing the problem(s) it is sometimes a good idea to either rename or delete them after booting to your Win98 boot floppy, but immediately before running SETUP.EXE.

That way you can be sure that the files will be replaced.  Sometimes if the file is present, but corrupted, it won't be replaced doing an "overinstall".

As kronostm has said, DON'T install it to WINDOWS.000 or whatever options you might be given or have been advised by others.  The idea is to install it to the SAME locations to REPLACE missing or corrupted files.
0
lontekCommented:
Hello,

When you install a program on a windows PC it generally makes all kinds of changes to the system and the registry. To try and just reinstall windows without affecting other things is a nice idea and many try it, but in many situations I believe it to be a "pipe dream". Perhaps if you have a real basic system with just a few programs, that might be a viable option. But my recommendation has always been--back up your data and completely format the drive and reinstall windows. It will take some extra time but its not a "patch job" and you will probably find you will get a much longer running, more stable running Windows in the long run. Yes you will have the hassle of all your settings drivers etc.. but I believe you will get better returns in the long run for your "upfront"  time investment. For a hard core PC user you may want to plan to rebuild a Windows PC every year or less. After a few times a person gets very fast at doing it, the PC has a lot of speed because the system is clean and is much more stable, yielding yearlong results. Perhaps this is not the popular answer but it's what has worked well for me.

Happy computing!
0
sasser51Commented:
You can re-install windows 98 and 98se only by booting to the cd and look for tools\pcrestore.bat (may be in another directory, but it is on the cd, just look for it.)  This will reinstall windows without have to install anything again.  I have used it several times on clients whose pc was malfunctioning and i did not wish to lose what they had.  You will have to navigate through the directories to find it.  Without having the cd in front of me i cannot remember but it there.

Good Luck.
0
BillDLCommented:
Win98 SE CD:\tools\sysrec\pcrestor.bat

@echo ==============================================================
@echo               Welcome to Microsoft System Recovery!
@echo ==============================================================
@echo       Sit back and relax while the System Recovery program
@echo       prepares your system to be restored.  This will take
@echo       approximately 30-60 minutes,  depending on the speed
@echo       of your computer.
@echo ==============================================================
@echo       When preparation is complete, the system recovery wizard
@echo       will help you complete the restore process.  Make sure
@echo       you have your full system backup handy.
@echo ==============================================================
@pause
@echo OFF
md C:\restore
copy msbatch.inf c:\restore\msbatch.inf
cd\
cd\
cd\
cd win98
setup.exe c:\restore\msbatch.inf /is /id /iq /im /id /ie /IW

--------------------------------------------------------------------------------

Win98 SE CD:\tools\sysrec\MSBATCH.INF

; MSBATCH.INF
;
; Copyright (c) 1995-1997 Microsoft Corporation.
; All rights reserved.
;
; This INF is used for System Recovery Only
; When Windows was previously installed to
; C:\Windows and the user has made a Full
; System Backup

[BatchSetup]
Version=3.0 (32-bit)
SaveDate=12/03/97

[Version]
Signature = "$CHICAGO$"

[Setup]
Express=1
InstallDir="C:\Windows"
InstallType=3
EBD=0
ShowEula=0
ChangeDir=0
OptionalComponents=1
Network=1
System=0
CCP=0
CleanBoot=0
Display=0
DevicePath=0
NoDirWarn=0
TimeZone="Pacific"
Uninstall=0
VRC=0
NoPrompt2Boot=1

[System]
Locale=L0409
SelectedKeyboard=KEYBOARD_00000409

[NameAndOrg]
Name="System Recovery"
Org="Preferred Customer"
Display=0

[Network]
ComputerName="W98SysRec"
Workgroup="WORKGROUP"
Description="System Recovery"
Display=0


[VREDIR]
LogonDomain="WORKGROUP"
ValidatedLogon=1

[OptionalComponents]
"Accessibility Options"=0
"Enhanced Accessibility"=0
"Briefcase"=0
"Calculator"=1
"Desktop Wallpaper"=0
"Document Templates"=0
"Games"=0
"Imaging"=0
"Mouse Pointers"=0
"Paint"=1
"Quick View"=0
"Windows Scripting Host"=0
"WordPad"=1
"Dial-Up Networking"=1
"Dial-Up Server"=0
"Direct Cable Connection"=0
"HyperTerminal"=0
"Infrared"=0
"Microsoft Chat 2.0"=0
"Microsoft NetMeeting"=0
"Phone Dialer"=0
"Virtual Private Networking"=0
"Baseball"=0
"Dangerous Creatures"=0
"Inside your Computer"=0
"Jungle"=0
"Leonardo de Vinci"=0
"More Windows"=0
"Mystery"=0
"Nature"=0
"Science"=0
"Space"=0
"Sports"=0
"The 60's USA"=0
"The Golden Era"=0
"Travel"=0
"Underwater"=0
"Windows 95"=0
"Desktop Themes Support"=0
"Microsoft FrontPage Express"=0
"Microsoft VRML 2.0 Viewer"=0
"Microsoft Wallet"=0
"Personal Web Server"=0
"Web Publishing Wizard"=0
"Web-Based Enterprise Mgmt"=0
"Microsoft Outlook Express"=0
"Baltic"=0
"Central European"=0
"Cyrillic"=0
"Greek"=0
"Turkish"=0
"Audio Compression"=1
"CD Player"=0
"DVD Player"=0
"Macromedia Shockwave Director"=0
"Macromedia Shockwave Flash"=0
"Media Player"=1
"Microsoft NetShow Player 2.0"=0
"Multimedia Sound Schemes"=0
"Sample Sounds"=0
"Sound Recorder"=0
"Video Compression"=1
"Volume Control"=1
"AOL"=0
"T WorldNet Service"=0
"CompuServe"=0
"Prodigy Internet"=0
"The Microsoft Network"=0
"Additional Screen Savers"=0
"Flying Windows"=1
"OpenGL Screen Savers"=0
"Backup"=1
"Character Map"=0
"Clipboard Viewer"=0
"Disk compression tools"=0
"Drive Converter (FAT32)"=0
"Group policies"=0
"Net Watcher"=0
"System Monitor"=0
"System Resource Meter"=0
"WinPopup"=0
"TV Viewer"=0

[Printers]

[InstallLocationsMRU]

[Install]
AddReg=RegistrySettings
DelReg=DelRegistrySettings

[RegistrySettings]
HKLM,%KEY_RUN%,BatchReg1,,"%11%\srw.exe"

[DelRegistrySettings]
HKLM,%KEY_RUN%,Welcome

[Strings]
KEY_RUN="SOFTWARE\Microsoft\Windows\CurrentVersion\Run"

----------------------------------------------------------

Extracts from   Win98 SE CD:\tools\sysrec\recover.txt

RESTORING YOUR SYSTEM BY USING SYSTEM RECOVERY

The System Recovery program restores your Windows 98 system by using the full backup that you created with Microsoft Backup. To use System Recovery to restore your system, you must have:

- Your Windows 98 CD-ROM
- A backup device connected to your computer
- A full system backup created with Microsoft Backup  ***** NOTE *****

>>>To restore Windows 98 on your computer:

1. Insert your Windows Startup Disk into your floppy disk drive, and then start your computer.
2. On the Boot menu, choose Start your computer with CD-ROM support.
3. At the MS-DOS command prompt, type n:  (where N is the drive letter of your CD-ROM drive)
   and then press ENTER.
4. At the MS-DOS command prompt, type CD tools\sysrec  and then press ENTER.
5. At the MS-DOS command prompt, type pcrestor  and then press ENTER.

6. Follow the instructions that appear on your screen.  This reinstalls Windows 98 on your computer. When Setup is complete, the System Recovery wizard starts.

>>>To use the System Recovery wizard to restore your files:

1. In the System Recovery wizard, click Next.
2. Type your name and company, and then click Next.
3. Click Details.
4. In the Help window, read the entire Backup Help topic.  This explains the entire recovery process.
5. When you have finished reading the Help topic, click the Close button.
6. In the System Recovery wizard, click Finish.  The Microsoft Backup Welcome screen appears.

IMPORTANT: If you click Cancel, click Yes, and then restart your system. The System Recovery wizard automatically starts.

7. In the Microsoft Backup dialog box, click Restore backed up files.
8. Follow the instructions that appear on your screen.

IMPORTANT: You should restore hardware settings ONLY if your hardware is the same as when you made the backup.

The entire backup of the registry is restored, as are all selected local drives.
   -OR-
If you do not click Restore hardware and system settings to the registry but continue with the operation, your software settings and configuration will be restored along with all selected local drives.

Restore all your new and changed files (incremental) backups. Begin with the oldest and progress to the most recent incremental backup.
0
sasser51Commented:
That is it! by golly.  That will put your 98 back to a working order if it screws up.  Thanks Bill glad someone knew where it was.  I have not used it in awhile but it had worked everytime when I had.
0
BillDLCommented:
The only problem I see is that it requires that a backup has been made from Microsoft Backup, unless I've missed a bit in the reading of it.  With MS Backup's inability to write to any external devices other than Tape Devices and SCSI Drives, I've never used it apart from creating small .qic files on my spare partition.
0
sasser51Commented:
It always asks that but just hit cancel and that causes no problems.  The machine will work fine unless it is hardware related of course.  It surprised me the first time i ran the pcrestore with the backup, I thought now I really messed up but hit the cancel and away it went.  Don't know why it always asked that either.
0
BillDLCommented:
I can see now that it is doing a very limited batch installation which is specified by the entries in MSBATCH.INF.  Of course, the .inf file is used by administrators to do "batch installations" and can act as an "answer file", so theoretically it could be edited.

Given your assurances that it doesn't insist on the presence of a backup, that the remarks at the start of MSBATCH.INF are somewhat ambiguous or simply not mandatory.

; This INF is used for System Recovery Only
; When Windows was previously installed to
; C:\Windows and the user has made a Full
; System Backup

Looking at the command line options and parameters for setup.exe called from the file pcrestor.bat

setup.exe c:\restore\msbatch.inf /is /id /iq /im /id /ie /IW

I see that some aren't documented or available from DOS help setup /?  but this page is very helpful:

http://www.vanwijk.com/-=%20Bookz%20=-/Special%20Edition%20Using%20Windows%2098/ch10/ch10.htm

(Why do they insist on creating url's with spaces instead of underscores?  I hate those %20 character replacements :-)

The "recovery" section starts here:

http://www.vanwijk.com/-=%20Bookz%20=-/Special%20Edition%20Using%20Windows%2098/ch10/ch10.htm#Heading23

Although the switch options aren't explained therein, they make 2 valid points (although the 2nd one is erroneous):

1. MSBATCH.INF can be edited
2. The reason you must reinstall Windows from a hard drive is that PCRESTOR.BAT launches Setup from a WIN98 directory that's in the same drive as PCRESTOR.BAT:

      cd\
      cd win98
      setup.exe c:\restore\msbatch.inf /is /id /iq /im /id /ie /IW

To start Setup from the CD-ROM: , you must modify the first two lines. For example, if you want to run Setup from the Windows 98 CD-ROM in drive D, modify the first two lines as follows:

      d:
      cd\win98

*** NOTE: this is wrong.  having booted to a win98 boot floppy, the CD Rom Drive will be E:\  NOT  D:\.  The temporary %RamDrive% will be D:\

Here's an example of using MSBATCH.INF to extremes for an unattended installation:

http://www.msfn.org/board/index.php?s=2158d6cfe23ecd75d0bf86d9b4b43e5a&showtopic=8497&st=10&#entry75094

It appears that they hace created this using MSBATCH where it automatically retrieves registry settings and adds them to the .inf file.  (explained here: http://www.onecomputerguy.com/install/install.htm).

Although the above page seems to relate to Win95, much of this is common with Win98, including the undocumented setup.exe switches detailed in it:

/ID       Ignores the DIsk Space check
/IS       Ignores the routine System check
/IQ       Skips the test for cross-linked files
/IM       Skips the memory check
/IN       Runs setup without the Network Setup Module
/IW       Bypasses needing to read the License screen.
      (Needs to be upper case when run within Windows)
/IR       Bypasses CMOS check.
      (Useful for some combinations of motherboard and
      Award BIOS ver 4.50 P)
/D       Force Setup to ignore existing Windows configuration
      (eg. current Win.ini and System.ini files)
/N       Allows setup to run without a mouse
/IE       Skips prompt to make Boot Floppy (Win98 Only)
/IH       Skips the Registry Check (Win98 Only)
/IV       No billboards during setup (Win98 Only)
/NTLDR       Eliminates check for a previous Operating System
/P       Detection Switch Option String

Using a /P allows you to use an additional switch for viewing and setting some detection parameters. You can separate them with a semicolon (;).

For example /P g=3;i;p .

g=0 to 3
Controls how verbose the built-in progress bar is.
At maximum level (3), it shows all the resources of the detected devices along with the progress bar. This switch can help to identify which detection module causes a certain problem. The default is 0.
 
b
Enables Prompt Before mode. It prompts you before a detection module is called so that you can step through each detection module manually and decide if you want to skip it. The default is disabled.
 
i
Tells Setup not to report the existence of a Plug and Play BIOS. It is useful on systems that have a Plug and Play BIOS that is not reported in Machine.inf.
 
p
Enables performance logging. It writes performance timing information to the DETLOG.TXT file.The default is disabled.
 
f
Enables Clean Registry mode. It forces Detection to clean the root branch of the registry before starting. This switch is ignored when Setup is run in the Windows 95 graphical user interface (GUI). The default is disabled.

The following page also details some extra switches:
http://www.windowsgalore.com/windows.95/setup.switches.html

Some more useful information here:
http://www.cclub.metu.edu.tr/e-kitap/isletim_sistemleri/Windows%2098%20Professional%20Reference/apd.htm

The [Setup] parameters are as follows:

Express. Tells Setup whether to stop for user setup information. 0=do not stop for user input. 1=stop for user input.

InstallType. A value representing the installation type option (also called the Setup option). The installation type defines a collection of components that will be installed on your system. 0=Compact; 1=Typical; 2=Portable; 3=Custom.

See Chapter 1, "Deploying Windows 98," (http://www.cclub.metu.edu.tr/e-kitap/isletim_sistemleri/Windows%2098%20Professional%20Reference/ch01.htm)

and Chapter 2 for more on Windows 98 installation types
(http://www.cclub.metu.edu.tr/e-kitap/isletim_sistemleri/Windows%2098%20Professional%20Reference/ch02.htm)

For .INF file Syntax:
http://www.microsoft.com/technet/treeview/default.asp?url=/technet/prodtechnol/win98/reskit/part7/wrkappd.asp

MSBATCH.INF Parameters:
http://www.microsoft.com/technet/treeview/default.asp?url=/technet/prodtechnol/win98/reskit/part7/wrkappd.asp
0
BillDLCommented:
[Setup] parameters in MSBATCH.INF:

Express=
Tells Setup whether to stop for user setup information.

0=do not stop for user input
1=stop for user input.

InstallType=
A value representing the installation type option (also called the Setup option). The installation type defines a collection of components that will be installed on your system.

0=Compact
1=Typical
2=Portable
3=Custom.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows OS

From novice to tech pro — start learning today.

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.