![]() |
Running Setup The Second Time |
Re-Setup
The Windows95 operating system can be reinstalled with a minimum of problems using the following procedure:
1. Copy the contents of the Win95 folder from the Win95 CD to a folder
on your system. (make it something like c:\WinSetUp)
2. Restart the system in MS-DOS mode.
3. Go to the new folder with the CAB files etc . . you created.
4. Run the SETUP utility there
This will reinstall Win95 on the system, as well as replace any Win95 related support files which may have become corrupt or have been deleted. As in the case of any operation such as this, your normal backup of data files is a good practice nevertheless.
Ok, you've run setup and things arenot going so good. You troubleshoot
until you're blue in the face because you've been looking mostly at that
Big Ugly Blue screen.
You have taken all the steps in the "Trouble Shooting Section's" "Basic
Troubleshooting Guide" and you don't want to fromat and start over.
OK.
Know that these methods may not work with an already unstable system.
If you have already created a Startup Disk that will access your CD-ROM drive, then quit Setup, shut down your computer, insert the Startup Disk, and then restart the computer. Then, run Setup from the MS-DOS command prompt.
MS-DOS Boot Hot Keys
There are several ways to boot your system to an MS-DOS command prompt
safely. The easiest way is by using these hot keys:
Windows 98.
Hold the CTRL key down while your computer is booting. This will take you directly to the Windows 98 Boot Menu (the F8 key is still functional, but there is no "Starting Windows 98" prompt in Windows 98, so it's hard to know exactly when to press it). Windows 95
Press the F8 key at the "Starting Windows 95" prompt. This will take
you to the Windows 95 Boot Menu.
MS-DOS 6.x
Press the F8 key at the "Starting MS-DOS" prompt. This will allows
you to manually choose which drivers to load or to bypass your system files.
Real-mode CD-ROM drivers
You will need real-mode CD-ROM drivers loaded so you can access the
Windows 98 CD.
If you have run Windows 98 Setup before and have created a Startup
Disk, you can use the CD-ROM drivers included on that disk. If you do not
have a Startup Disk, you will need to run the installation program that
came with your CD-ROM hardware.
After you have access to your CD-ROM drive, you can switch to the drive
containing the Windows 98 CD and type: SETUP. Setup should now continue.
Here are the setup switches I would recomend
The 1st I believe is safest.
f - This switch 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.
Example: setup /p f
This switch tells Detection to perform only stage 1. This switch is
used by the PCMCIA Wizard to verify legacy devices in the registry.
The default is disabled.
Example: setup /p v
If you used Microsoft Fax, Exchange or Windows Messaging under Win95,
you can still access them under Win98.
If you upgrade a Win95 installation when setting up Win98, Fax, Exchange
and Messaging will remain intact. But these programs and services aren't
included in a clean installation; you need to manually install them from
your Win98 CD's \TOOLS\OLDWIN95\MESSAGE\US folder. Double-click on WMS.EXE
to install Windows Messaging (Exchange) and then on AWFAX.EXE to add Microsoft
Fax. Also, check WMS-FAX.TXT for more information.
Windows 98
When you upgrade Microsoft Windows 95 to Windows 98, you may not have the ability to install Windows 98 to a different folder than the existing Windows 95 folder. However, there may be situations where it is necessary to install Windows 98 into a new folder, such as in the following situations:
You are troubleshooting hardware or software problems.
Your computer has damaged or missing files.
The Windows 95 registry is damaged.
When you install Windows 98 into a new folder, Windows 98 Setup ignores previously installed programs and registry settings.
This article describes how to install Windows 98 into a different folder than the existing Windows 95 folder.
MORE INFORMATION
To install Windows 98 into a different folder than the existing Windows 95 folder, follow these steps:
1.Create a Windows 98 Startup disk using the Fat32ebd.exe utility, which can be run in Windows 95 or MS-DOS. For information about how to create a Windows 98 Startup disk using the Fat32ebd.exe utility, please see the "How to Create a Fat32 Emergency Boot Disk" section of the following article in the Microsoft Knowledge Base:
ARTICLE-ID: Q186892 TITLE : Windows 98 Fat32ebd.txt File
NOTE: The Fat32ebd.exe utility creates a 3.5-inch, 1.44-megabyte (MB) Windows 98 Startup disk.
Depending upon your hardware configuration, the Windows 98 Startup disk may provide access to your CD-ROM drive from a command prompt. For additional information, please see the following article in the Microsoft Knowledge Base:
ARTICLE-ID: Q190303 TITLE : How to Use Real-Mode CD-ROM Drivers from Windows 98 Startup Disk
2.Restart your computer using the Windows 98 Startup disk, and choose Start Computer With CD-ROM Support from the Windows 98 Startup menu.
3.Insert your Windows 98 CD-ROM into the CD-ROM drive, type the following command at the command prompt, and then press ENTER
<drive>:
where <drive> is the drive letter of your CD-ROM drive.
If you can gain access to your CD-ROM drive in MS-DOS, follow the steps in the "Running Setup from the Windows 98 CD-ROM" section later in this article. If you cannot gain access to your CD-ROM drive in MS-DOS but can in Windows 95, follow the steps in the "Running Setup from a Folder on Your Hard Disk" section later in this article.
Running Setup from the Windows 98 CD-ROM
1.If files in the Program Files folder are damaged, installing Windows 98 into a new folder may not resolve your problem. To ensure that damaged files do not prevent your problem from being resolved, rename the Program Files folder. To do so, type the following commands at the command prompt, and then press ENTER
cd\ c:\windows\command\move progra~1 <oldprog>
where <oldprog> is the folder to which you want to move your existing Program Files folder.
2.If you want to use "Windows" as the name of the folder in which Windows 98 is installed, rename the existing Windows folder to a different name (such as Oldwin). To do so, type the following commands at the command prompt, and then press ENTER
cd\ c:\windows\command\move windows <oldwin>
where <oldwin> is the folder to which you want to move your existing version of Windows 95.
3.Insert your Windows 98 CD-ROM into the CD-ROM drive, type the following command at the command prompt, and then press ENTER
<drive>:\setup
where <drive> is drive letter of your CD-ROM drive.
4.Follow the instructions on your screen. When you are prompted to provide a destination folder for Windows 98, click Other Directory, and then click Next.
5.When you receive the following prompt, click Yes:
If you install Windows 98 in a new directory, you must reinstall all of your Windows-based programs to make them work properly under Windows 98.
You cannot run your programs under Windows 98 by copying .grp and .ini files from your Windows directory.
Do you want to continue?
6.Follow the instructions on your screen to finish installing Windows 98.
Running Setup from a Folder on Your Hard Disk
1.Click Start, point to Programs, and then click MS-DOS Prompt.
2.At the command prompt, type the following commands, pressing ENTER after each command
cd\ md <winflat>
where <winflat> is the folder on your hard disk from which you run Windows 98 Setup.
3.Insert your Windows 98 CD-ROM into the CD-ROM drive.
4.At the command prompt, type the following command, and then press ENTER
xcopy <drive>:\win98*.* c:\<winflat>\*.*
where <drive> is the drive letter of your CD-ROM drive.
5.Once the Windows 98 Setup files are copied to the <setup folder>, restart your computer. When you see the "Starting Windows 95" message, press the F8 key, and then choose Safe Mode Command Prompt Only from the Startup menu.
6.If files in the Program Files folder are damaged, installing Windows 98 into a new folder may not resolve your problem. To ensure that damaged files do not prevent your problem from being resolved, rename the Program Files folder. To do so, type the following commands at the command prompt, and then press ENTER
cd\ move progra~1 <oldprog>
where <oldprog> is the folder to which you want to move your existing Program Files folder.
7.If you want to use "Windows" as the name of the folder in which Windows 98 is installed, rename the existing Windows folder to a different name (such as Oldwin). To do so, type the following commands at the command prompt, and then press ENTER
cd\ move windows <oldwin>
where <oldwin> is the folder to which you want to move your existing version of Windows 95.
8.At the command prompt, type the following command, and then press ENTER:
c:\<winflat>\setup
9.Follow the instructions on your screen. When you are prompted to provide a destination folder for Windows 98, click Other Directory, and then click Next.
10.When you receive the following prompt, click Yes:
If you install Windows 98 in a new directory, you must reinstall all of your Windows-based programs to make them work properly under Windows 98.
You cannot run your programs under Windows 98 by copying .grp and .ini files from your Windows directory.
Do you want to continue?
11.Follow the instructions on your screen to finish installing Windows 98.
The above is from Article http://support.microsoft.com/support/kb/articles/q193/9/02.asp
The System Recovery Wizard restores your Windows 98 installation by using a full backup that you previously created with Backup. To be able to use the System Recovery Wizard to restore your Windows 98 installation, you must have a few items available:
1. Windows 98 Startup disk
2. CD-ROM drive supported by the Windows 98 Startup disk
3. Your Windows 98 CD-ROM
4. A backup device connected to your computer
5. A full system backup created with MS Backup
You can create a Windows Startup disk from Start > Settings > Control Panel > Add/Remove Programs - Startup Disk tab, or use the instructions found on this page, to create a Windows 98 Startup disk with FAT32 support.
To restore Windows 98 on your computer, use the following steps:
1.Insert your Windows 98 Startup disk into the floppy disk drive, and then start your computer
Note: you might need to change a setting in your PC's BIOS to boot from the floppy drive, instead of the hard drive. Consult your PC's manual if you need to do this.
2.When you boot from the windows 98 Startup disk, the Windows 98 Startup menu will be displayed. From the menu, choose Start Computer With CD-ROM Support
3.At the command prompt, type the following line, pressing the Enter key after each line:
<CD-ROM>: cd tools\sysrec pcrestor
where <CD-ROM> is the drive letter of your CD-ROM drive
Note: The Pcrestor.bat batch file starts an automatic version of Windows 98 Setup. After Windows 98 Setup is complete, the System Recovery Wizard is automatically started.
4.After Windows 98 Setup starts, remove the Startup disk from the floppy disk drive
5.In the System Recovery Wizard, click Next
6.Type your name and company name, and then click Next
7.In the System Recovery Wizard, click Finish. The Microsoft Backup Welcome screen appears
8.In the Microsoft Backup dialog box, click Restore Backed Up Files, and then click OK
9.In the Restore Wizard, use the following options when you are prompted:
-Restore From: Select the location where your backup is stored
-Select Backup Sets: Select the most recent full system backup
-What To Restore: Click to select the check box next to each local
drive
-Where To Restore: Click Original Locations
-How To Restore: Click Always replace the file on my computer
10.Click Start to start the restore process
Important: You can use these steps only to restore data to the same
hardware on which it was backed up. If your computer hardware has changed
since the backup was made, you can use these steps to restore your data,
but you will need to reinstall all of your Windows-based software after
the process is complete
Sometimes Windows will simply refuse to run. Using Safe Mode can sometimes help you out of stubborn Windows headaches resulting from configuration problems. But, when you've tried everything else, reloading Windows is sometimes the only remedy. This doesn't mean you'll lose your data and other software—after you finish reinstalling Windows, your programs and data will still be there.
If you can boot your computer to the command prompt, reinstalling Windows should be no problem—especially if you've copied the Windows 9x directory from your Windows CD to your hard drive. If you've copied the directory to your hard drive, switch to that directory, type SETUP, and press [Enter].
If you must reinstall Windows from your CD, you may have to edit your Autoexec.bat file. Chances are, your Windows installation routine placed a REM comment on the line in your Autoexec.bat file that loads your CD software.
Running your CD drive from the command prompt
To begin, choose option 5 on the Windows Startup Menu. Place your Windows installation CD into your CD drive. Now, see if you can access your CD drive. If you can, continue with the installation.
If you can't access your CD drive, type
edit autoexec.bat
and press [Enter]. Next, look for a line in your Autoexec.bat file similar
to this:
rem - By Windows Setup - C:\windows
\command\MSCDEX.EXE /D:MTMIDE01 /M:10
(The line in your file may not match exactly—just look for the line containing Mscdex.exe.) Remove the REM comment from the beginning of the line to make the line active (leave the rest of the line alone). Save the change.
Finally, restart your computer and choose option 5 from the Startup
Menu. Your CD drive should now function from DOS, and you can proceed with
reinstalling Windows.
This describes how to determine if a drive overlay program is running on your Windows 95/98-based computer.
What is a "Drive Overlay Program"?
A drive overlay program is provided by third-party manufacturers and
is loaded into memory before your computer's startup system files are loaded.
A drive overlay program may be installed for any of the following reasons:
Your computer does not support logical block addressing (LBA). This may be because the Basic Input/Output System (BIOS) of your motherboard does not support hard disks that are larger than 528 megabytes (MB).
TITLE : Logical Block Addressing (LBA) Defined
ARTICLE-ID:
Q122052
Your computer has a hard disk that is larger than 1024 cylinders or 4096 cylinders.
Your computer has incompatible hard disk drives that need to be used together.
The following methods may or may not detect if a drive overlay program exists on your Windows 95/98-based computer. If you are uncertain if a drive overlay program is installed, contact your motherboard manufacturer or hard disk manufacturer. To determine if a drive overlay program is installed, use any the following methods:
Drive Overlay Message
When you boot your computer, a message may be displayed on the screen that displays the manufacturer's name or prompts you to press a key to boot to a floppy disk. Current versions of drive overlay programs may not display this message by default.
BIOS Date
Computers made before 1994 do not support LBA. To verify if the BIOS on your computer supports LBA, consult the manufacturer's documentation or contact the manufacturer of your computer.
Fdisk Status Command
Start your computer with the Windows 95/98 Startup disk, type "Fdisk /status" (without quotation marks) at the command prompt, and then verify that the sum of the existing partitions is larger than the total hard disk space.
Windows 95/98 Startup Disk
Turn off your computer, wait 10 seconds, start your computer with the Windows 95/98 Startup disk (this prevents the drive overlay program from loading), and then boot to a command prompt. Compare the date and size of system files in the Windows folder for minor inconsistencies. If the physical disk size is much greater than 528, type "c:" (without quotation marks), and then press ENTER. Type cd \windows\command to determine if it is accessible.
NOTE: This only applies if this subfolder was created after the first 528 MBs are filled.
Verify Files
Some drive overlay files use an .ovl or a .bin extension. At the command prompt, type "Dir /a *.bin" or "Dir /a *.ovl" (without quotation marks) to check for the existence of files other than drvspace.bin and dblspace.bin.
Check Config.sys
Drive overlay software may be loaded from the Config.sys file to access drives other than the active boot partition of the master drive on the primary IDE controller.
Memory Check
Boot to command prompt only, and then test your computer's memory. To do so, use the following steps:
1.Restart your computer, and press F8 when you see the "Starting Windows 95" message.
2.Choose command prompt only, and then press ENTER.
3.At the command prompt, type "MEM /C" to determine the total amount of conventional memory. A number less than 655,360 may indicate the existence of a drive overlay program, however a lesser number may instead indicate the existence of a SCSI drive or Master Boot Record virus.
NOTE: Many recent versions of drive overlay software do not use conventional
memory.
This method also saves all your data files, and other software.
Make sure that you have completly deleted and remvoed SYSTEM.DAT and USER.DAT prior to putting the WINDOWS 98 boot and setup disk in A:\ drive.
You can check to see if they are gone by going to C:\WINDOWS\COMMAND and typing: ATTRIB C:\WINDOWS\*.DAT -h -r -s and then press enter.
Next type: DEL C:\WINDOWS\*.DAT and press enter.
To be sure that they are gone, type: CD\ and press enter.
This takes you to the C:\>prompt.
AT the C:\>prompt type: DIR SYSTEM.DAT /S and press enter.
If this file is NOT found you are ready to proceed.
Place your setup and boot windows 98 floppy disk in A:\ drive and your WINDOWS 98 CD-ROM DISK in your CD-ROM DRIVE, shut down the computer and then turn it back on.
This should then take you through all the steps until you get to:
D:\WIN98\SETUP.EXE or an IBM file that will accomplish the same thing.
Choose CUSTOM install of WINDOWS 98 and when asked if you want to overwrite
files, choose YES, Do not keep any old WIN98 files if given the chance.
1. Creating a perfect install and then image the drive. This has both advantages as well as disadvantages. The advantage being that drives can be mastered in 20 minutes or less. The disadvantage to imaging is that if the machines differ in any way regarding the hardware makeup, it all likelihood the units will incur crashes.
2. Creating a perfect install with all of the components and then using Batch98 to create an MSBatch file for future installations. Most, if not all, of this info is available on the MS Resource Kit.
3. Use the MS Windows 98 OEM versions and create an audited installation, which automatically inserts responses to the normal questions such as key codes, user info, settings etc. Related info for this can be found right on the MS OEM site.
+++++++++++++++
Okay, msbatch can be used in a number of ways, but lets presume the obvious, that the hard drive is blank, just formatted, and that the Win98 setup files are on the CD, which we will presume is "D" and you have the msbatch.inf on a floppy and have transferred it to the root of drive "C". The correct syntax for this would be
SETUP C:\BSETUP.INF
C:\> type H:\SETUP C:\MSBATCH.INF<enter>