This section provides basic instructions for troubleshooting problems that may occur when running Windows 98.
Important
Create and keep a Startup Disk, and verify that it works before you need it (create and test two Startup Disks for even better protection). Use Registry Checker (ScanRegW) often to backup system configuration files.
A particularly good time for backing up files and updating the Startup Disk is before you install new devices and applications, when you have a known good configuration.
Running out of space on the disk drive used for TEMP and swap files can cause a variety of operational and installation errors. If you need more disk space, see the troubleshooting aid for disk space problems in Help.
To check for free space, try the following:
You might want to check the swap file settings.
To check the swap file settings
– Or –
In Control Panel, double-click System, click the Performance tab, and then click Virtual Memory.
Important
By default, Windows 98 manages the virtual memory settings automatically. Changing these settings manually can adversely affect system performance. The recommended setting in this dialog box is to let Windows manage virtual memory settings.
To check for lost allocation units from a command line
Note
Selecting Safe Mode Command Prompt Only will not load the extended memory driver Himem.sys. The MS-DOS version of ScanDisk requires Himem.sys be loaded to check FAT32 drives.
ScanDisk detects lost allocation units and prompts you to recover them as files. The files will have a .chk extension.
For information about running ScanDisk in Windows 98, see Chapter 10, "Disks and File Systems."
To check the TEMP variable
Check for free disk space on the drive that contains the TEMP directory. If you are printing multiple copies of a large document, or printing large PostScript documents, increase the minimum available free disk space.
Key operating system data structures prevent system startup if they are damaged. These structures include the master boot record, the boot sector, the file allocation table, and the core operating system files.
Caution
Back up key data files before performing any disk repair operations. Do not run any disk utilities that are not specifically designed for Windows 98. Earlier versions of disk repair utilities may not work properly. To prevent possible data loss, use a disk utility, such as ScanDisk, that is specifically designed for Windows 98. For details, see Chapter 10, "Disks and File Systems."
To check for disk corruption with Safe Mode Command Prompt Only
Note
Selecting Safe Mode Command Prompt Only will not load the extended memory driver Himem.sys. The MS-DOS version of ScanDisk requires Himem.sys be loaded to check FAT32 drives.
This method also checks and repairs the file allocation table.
If corruption is detected, you may need to replace system files. For more information, see "Using System File Checker" earlier in this chapter.
With Windows 98, you can use System File Checker (SFC) to look for system files that have been changed by applications. You can configure System File Checker to notify you when a change is discovered. System File Checker will prompt you to restore the original file from the installation source of your Windows 98 files.
System File Checker scans specific system files for corruption, changes, and to determine if they have been deleted. When configured to do so, it prompts you to restore the original Windows 98 system files.
To scan system files
You can also view a file’s properties to determine its version number and other information such as its date. You can use this information to determine whether a DLL or other system file is mismatched to your system.
To view information about a system file
If you have isolated a corrupted file, use System File Checker to restore a working file.
To replace a corrupted file
System File Checker finishes extracting the file and notifies you when it completes the action.
Windows Update is the Web extension of Windows 98, and is designed to help your computer operate better. Windows Update contains a central catalog of new product enhancements, including service packs and new Windows features. In addition, Windows Update lets you update system files and device drivers specific to your computer.
To update a file, see "Using Windows Update" earlier in this chapter.
The Config.sys and Autoexec.bat files contain system startup drivers, settings, and paths, and you may need to verify the accuracy of these entries.
Use the System Configuration Utility to check entries in files. See "Using the System Configuration Utility" earlier in this chapter.
Starting Windows 98 with command-line switches is an effective method for isolating issues with your configuration. The switches should be used for troubleshooting only. Use the information to modify your existing configuration and eliminate the conflict. The following switches are available to start Windows 98 from the command prompt:
win [/d:[f] [m] [s] [v] [x]]
To use the command-line switches
The /d: switch is used for troubleshooting when Windows 98 does not start correctly. The switches in Table 27.11 can be used with the /d: switch.
Table 27.11 Windows 98 command-line switches
Switch | Description |
---|---|
f | Turns off 32-bit disk access. This is equivalent to disabling the hard disk controller(s) in Device Manager. Try this if the computer appears to have disk problems, or if Windows 98 stalls. This is equivalent to 32BitAccess=FALSE in System.ini. |
m | Starts Windows 98 in Safe Mode. |
s | Specifies that Windows 98 should not use ROM address space between F000:0000 and 1 MB for a break point. Try this if Windows 98 stalls during system startup. This is equivalent to SystemROMBreakPoint=FALSE in System.ini. |
v | Specifies that the ROM routine will handle interrupts from the hard disk controller. This is equivalent to VirtualHDIRQ=FALSE in System.ini. |
x | Excludes all of the adapter area from the range of memory that Windows 98 scans to find unused space. This is equivalent to EMMExclude=A000-FFFF in System.ini. If this switch resolves the issue, you may have a conflict in the upper memory area (UMA) that requires an Exclude statement. |
Note
Each of the System.ini file entries referenced in Table 27.11 belongs in the [386Enh] section of the System.ini file.
If a computer fails to start Windows 98, start the computer in Safe Mode to try to resolve the problem. Starting Windows 98 in Safe Mode can help you resolve issues that occur when you start Windows 98 normally. These issues include (but are not limited to):
Starting Windows 98 in Safe Mode bypasses the current real-mode configuration and loads a minimal protected-mode configuration, disabling Windows 98 device drivers and using the standard VGA display adapter.
If the issue does not occur in Safe Mode, you may be experiencing a conflict with hardware settings, real-mode configuration issues, incompatibilities with legacy Windows programs or drivers, or registry damage.
From within Safe Mode, use the following tasks to find a problem in startup. Many of these steps require changes to system configuration files. The changes are not intended to be permanent; they are techniques for isolating the conflict that resulted in an issue with the normal configuration.
Note
Before making changes, create a Windows 98 Startup Disk if you do not already have one. Use Add/Remove Programs in Control Panel to create a Startup Disk.
To troubleshoot system startup in Safe Mode
If Microsoft System Configuration Diagnostic Startup starts, go to "Using the System Configuration Utility" earlier in this chapter.
– Or –
If Microsoft System Configuration Diagnostic Startup does not start, continue to step 3 of this procedure.
Windows 98 introduces the Registry Checker that scans the registry for corruption and backs up configuration files once a day. The utility maintains multiple backup sets that can be restored as required. For example, you might restore a previous day’s backup if you have installed something on your computer with undesirable results but it did not corrupt the registry. In that event, you could run ScanReg /Restore to return the system to its previous state. ScanReg is the MS-DOS-based Registry Checker.
ScanReg provides a list of available backups and indicates whether the system configuration files stored in the CAB have been used to start Windows 98 successfully. Generally, you should choose the CAB file that was most recently used to start Windows 98. However, returning the system to an older configuration may be warranted when the origin of the undesirable behavior is unknown.
To restore a Registry Checker backup
Note
If the computer failed to start because the registry is corrupt, ScanReg will automatically fix the problem. If the computer failed to start because of a change to the registry’s content, and the registry is not corrupt, then running ScanReg /Restore and choosing the most recent backup is an appropriate way to fix the problem.
A screen appears listing the available backup sets. Select the appropriate backup and determine if the symptom is alleviated on the subsequent start.
Loading a specific driver in Config.sys, Autoexec.bat, or from the Windows 98 registry may cause a computer to stop responding. This could be due to a hardware or software (device driver or TSR) conflict.
Automatic Skip Driver (ASD) tracks device load failures by identifying the specific device(s) that failed to enumerate and stopped the system from starting. If Windows 98 stops responding when enumerating the same device on subsequent startups, ASD will automatically disable the device.
To check a device driver using Automatic Skip Driver
The Enumerating a Device Details dialog box appears and provides a recommendation for solving the problem. This includes updating the driver. It is possible that you will need to upgrade the driver disabled by Automatic Skip Driver.
To manually determine whether hardware or software is stalling the computer, try the following, stopping when the determination has been made.
To manually check a device driver
To check whether a specific driver is stalling the computer
Some computers contain devices that require a specific driver in Config.sys to correctly complete the startup process, such as drivers used for partitioning, compression, video, and hard disks.
To check for missing files
Do not remove any hard disk drivers, disk partitioning drivers, or disk compression drivers when starting Windows 98 using the Step-By-Step Confirmation option or while editing startup files. The following is a partial list of drivers that should not be removed.
Hard disk drivers: | |||
ah1544.sys aspi4dos.sys atdosxl.sys |
ilm386.sys nonstd.sys scsidsk.exe |
scsiha.sys skydrvi.sys sqy55.sys |
sstbio.sys sstdrive.sys |
Partitioning drivers: | |||
dmdrvr.bin enhdisk.sys |
evdr.sys fixt_drv.sys |
ldrive.sys hardrive.sys |
sstor.sys |
Compression drivers: | |||
dblspace.bin devswap.com |
drvspace.bin sstor.exe |
sswap.com stacker.com |
To find out about other system drivers, see the documentation for the hardware or software installed on the system.
Errors are sometimes caused by conflicts between devices trying to use the same system resources. There are two ways to view your device configuration:
Microsoft System Information (MSInfo) collects system information, such as devices installed or device drivers loaded, and provides a menu for displaying the associated system topics.
To launch Microsoft System Information
Device Manager provides a central place where you can verify that devices are configured correctly.
To check for resource conflicts among devices
To open Device Manager, click System in the Control Panel, and then click the Device Manager tab. For more information about Device Manager, see Chapter 24, "Device Management."
Note
If you use multiple hardware profiles, you should first select the appropriate configuration using the list in the device’s Resource properties.
The following sections describe how to check upgrade issues.
The MS-DOS utilities that are installed into the \Windows\Command directory have been enhanced to work with Windows 98. The disk repair utilities that shipped with older versions of MS-DOS and Windows 95 should not be used with Windows 98. Most of the other MS-DOS utilities that worked with Windows 3.1 should continue to work with Windows 98, but if they were bound to an older version of MS-DOS, you may need to use the SETVER command to enable them.
The following MS-DOS utility files will be deleted after you upgrade from an earlier version of Windows:
The following MS-DOS utility files will be upgraded after you upgrade from an earlier version of Windows:
Ansi.sys | Doskey.com | Keyboard.sys | Scandisk.exe |
Attrib.exe | Drvspace.exe | Label.exe | Scandisk.ini |
Chkdsk.exe | Edit.com | Mem.exe | Setver.exe |
Choice.com | Ega.cpi | Mode.com | Share.exe |
Country.sys | Emm386.exe | More.com | Smartdrv.exe |
Debug.exe | Fc.exe | Move.exe | Sort.exe |
Defrag.exe | Fdisk.exe | Mscdex.exe | Subst.exe |
Deltree.exe | Find.exe | Nlsfunc.exe | Sys.com |
Diskcopy.com | Format.com | Ramdrive.sys | Xcopy.exe |
Display.sys | Keyb.com | Readme.txt |
The disk utilities included with Windows 98 have been modified and fully support FAT32. DriveSpace 3 is included with Windows 98. It has been modified to detect FAT32 drives, but it will not compress them. In order to support FAT32, SHARE support has been disabled in the real-mode MS-DOS kernel (sharing support is still provided under protected-mode Windows 98).
If you upgrade your existing Windows 3.x or Windows 95 directory to Windows 98, then you do not need to reinstall your programs. If you install to a new directory, then you must reinstall all of your Windows-based programs. Copying files from your Windows 3.1 directory to Windows 98 is not supported.
Your existing MS-DOS-based programs should run from Windows 98. If you experience problems with an MS-DOS-based program, you can set it up to run in MS-DOS mode, the single application environment.
To run an MS-DOS-based program in an MS-DOS environment (MS-DOS mode)
When you run a program in MS-DOS mode, it forces Windows 98 to shut down and loads the program in an MS-DOS environment. You will not have access to devices that require protected-mode (Windows) drivers.
If you find an MS-DOS-based program slowing down or stopping when it is in the background, use the following procedure.
To speed up MS-DOS-based programs
Note
Applications that run in MS-DOS mode may require additional conventional memory, also referred to as the Transient Program Area (TPA). Optimize the TPA by loading MS-DOS support for devices in the upper memory area (UMA). Refer to the following examples provided with Windows 98:
Existing anti-virus software should be able to detect, but not always clean, viruses while running on Windows 98. This depends on where the virus was found and how the program chose to clean it. Also, virus shields may not be able to see all file activity, and therefore could miss some virus activity. It is recommended that you update your anti-virus software to a version that was designed to run with Windows 98.
Most legacy disk repair and optimization programs use direct disk reads and writes (INT25/INT26) for disk access. Because of this, Windows will block these disk repair and optimization programs from executing, in order to protect the data on your disk. This is necessary in a multitasking environment to prevent disk corruption caused by multiple utilities running simultaneously. It is strongly recommended that you upgrade to disk repair software that was designed for Windows 98. For more information, contact your software vendor.
Note
If you bypass the disk-locking features of Windows 98 using the Lock <drive letter>: command at a real-mode prompt, and run one of these utilities on a FAT16 drive, you will destroy all long file names. This may not happen on a FAT32 drive as most of these utilities will see the physical FAT32 drives as "device-driven" and will not function.
Most Windows 3.1 and all Windows 95 shell replacements will run on Windows 98, but with many limitations because of the taskbar, 32-bit components, and the new Windows 98 shell. If you want to continue running one of these programs, you should upgrade to a version that was designed to run with Windows 98.