Title: Supporting Windows 9x
1Chapter 12
2You Will Learn
- About the Windows 9x architecture
- How to install Windows 9x and how to install
hardware and applications using Windows 9x - About tools for using Windows 9x
- About the Windows 9x boot process
- About tools to manage and troubleshoot Windows 9x
- How to troubleshoot Windows 9x
3Windows 9x Architecture
4Windows 9x Architecture (continued)
5Windows 9x Architecture (continued)
6Virtual Machines
- Set of resources made available to an application
through predefined application programming
interface calls (APIs) - Multiple logical machines within one physical
machine
7Virtual Machines (continued)
8Preparing for Windows 9x Installation
9Installing Window 9x
- As a clean installation
- As an upgrade
- Installation process from the setup screen
- Setup options (Typical, Portable, Compact,
Custom) - Setup records information in log files
(Setuplog.txt and Detlog.txt) - Downloading and installing updates for Windows 9x
- Configuring the Windows 9x Startup with Msdos.sys
- Msdos.sys contains several parameters that affect
how OS boots
10Msdos.sys File Entries
11Msdos.sys File Entries (continued)
12Msdos.sys File Entries (continued)
13Installing Hardware with Windows 9x
- Use Found New Hardware Wizard or run installation
setup program that is bundled with device driver - View and change current device drivers from
Control Panel (Settings tab of Display Properties
window) - Plug and Play and hardware installations
- Use Device Manager to uninstall
14Plug and Play Hardware Installation Criteria
- System BIOS must be PnP
- All hardware devices and expansion cards must be
PnP-compliant - OS must support PnP (eg, Windows 9x)
- A 32-bit device driver (VxD) must be available
15Preparing for Software Installation
- Windows 9x can use both 16-bit and 32-bit
software - Check available resources
- Protect original software
- Back up the registry and system configuration
files
16Installing Software
- Use Add/Remove Programs icon from Control Panel
- After installation is complete and software is
working, update backup copies of - Autoexec.bat
- Config.sys
- System.ini
- Win.ini
- Registry
17Troubleshooting Software Installations
- Delete all files and folders under \Windows\Temp
- Look at Readme.htm hypertext file in \Windows
directory
18Supporting DOS Applications under Windows 9x
- Apps.inf file has a section named PIF95 that
contains a master list of settings to be used for
all DOS applications listed in the file - Use Properties feature of DOS program file to to
customize settings - Create an individual PIF file for the program
file - Serve as the PIF editor
19Keystroke Shortcuts in Windows
20Keystroke Shortcuts in Windows (continued)
21Keystroke Shortcuts in Windows (continued)
22Keystroke Shortcuts in Windows (continued)
23Managing the Windows 9x Desktop
- Controlling display settings (eg, background,
screen saver, appearance, effects, Web, settings) - Changing taskbar settings
- Working with shortcuts
- Managing icons
24Controlling Display Settings
25Changing Taskbar Settings
26Shortcuts and Icons
27Using Windows Explorer to Manage Floppy Disks and
Hard Drives
- Shortcut menu options
- Creating a folder
- Deleting a folder
- File attributes
- Folder properties
28Shortcut Menu Options
29Viewing and Changing File Attributes
30Device Manager
- Gives graphical view of hardware devices
configured under Windows and the resources and
drivers they use - Used to
- Make changes
- Update drivers
- Uninstall device drivers
- Print a report of system configuration
31Booting Windows 9x
- Files used to customize the startup process
- The Windows 9x startup process
32Files Used to Customize the Startup Process
- For backward compatibility with DOS
- Autoexec.bat
- Config.sys
- Initialization files
33Initialization Files
34The Windows 9x Startup Process
- Io.sys is responsible for initial startup (in
real mode) - Control is turned over to Vmm32.vxd (protected
mode) and Io.sys is terminated
35Windows 9x Startup Process
36Windows 9x Startup Process (continued)
37Default Io.sys Entries
38Windows 9x Startup Process
- Differences between the Windows 95 and Windows
98/Me boot process - Causing an application to load at startup
39Windows 9x Troubleshooting Tools
40Windows 9x Troubleshooting Tools (continued)
41Windows 9x Troubleshooting Tools (continued)
42Windows 9x Troubleshooting Tools (continued)
43Windows 9x Troubleshooting Tools (continued)
44System Applet in Control Panel
- Offers several tools for performance monitoring
and troubleshooting - Performance tab (System Properties in the Control
Panel) indicates whether file system and virtual
memory are running at optimal performance
45System Monitor
- Monitors how system resources are being used by
applications - File system
- Memory
- Kernel
- Printer sharing services
- Network performance data
- Not automatically installed in typical
installation
46Using System Monitor
47System Configuration Utility (mswnconfig.exe)
- Reduces startup process to its essentials
- Used for troubleshooting to add items back one at
a time until the problem occurs - Accessed through Programs Accessories System
Tools System Information
48Dr. Watson
- Useful when there are problems running an
application - Records detailed information in a log file about
- The system
- Errors that occur
- Programs that caused the errors
49The Windows 9x Registry
- Database of configuration information and
settings for users, hardware, applications, and
the OS - Hierarchical database with a treelike,
top-to-bottom design - Takes over essential functions of .ini files
- Supports System.ini and Win.ini for backward
compatibility
50How the Registry Is Organized
51How the Registry Is Organized (continued)
52Recovering from a Corrupted Registry
- Windows 95 backup of the registry
- Maintains backup copy of the two registry files
- Windows 98/Me Registry Checker
- Automatically backs up registry every day
- Keeps last five days of backups
53Recovering from a Corrupted Registry with Windows
98/Me
54Modifying the Registry
- Automatically
- When a change is made in Control Panel or Device
Manager - When software is installed
- Manually
- Use Regedit utility
55Using the Registry Editor
56Troubleshooting Windows 9x
- Problems that occur during installation
- Problems that occur during the boot process
- Problems that occur during normal Windows
operations
57Troubleshooting Windows 9x Installations
58Troubleshooting Windows 9x Installations
(continued)
59Troubleshooting theWindows 9x Boot Process
- Check and address any error messages
- Boot in Safe Mode
- Boot to command prompt using startup menu
- Try booting from emergency startup disk
- Try Fdisk
60Error Messages Received While Loading Windows 9x
61Error Messages Received While Loading Windows 9x
(continued)
62Error Messages Received While Loading Windows 9x
(continued)
63Tools for Troubleshooting Boot Problems
- System Configuration Utility (Msconfig.exe)
- Device Manager
- Automatic Skip Driver Agent (ADDA)
- Windows 9x startup menu options (eg, Safe Mode,
command prompt)
64Windows 9x Startup Menu Options
- Normal
- Logged (\Bootlog.txt)
- Safe Mode
- Safe Mode with Network support
- Step-by-step confirmation
- Command prompt only
- Safe Mode command prompt only
- Previous version of MS-DOS
65Command Prompt Only
66Using an Emergency Startup Disk for
Troubleshooting
67Troubleshooting Windows 9x Hardware and Software
- Isolate the problem into one of two categories
- Problems that prevent PC from booting
- Problems that occur after a successful boot
- Ask the user questions
68General Tips for Troubleshooting Hardware
- Reboot
- Check for intermittent memory errors using memory
testing software - Turn on device before turning on computer
- Try device with another application
69General Tips for Troubleshooting Hardware
(continued)
- Use Device Manager to
- Check for errors it reports about the device
- Uninstall and reinstall the device
- Check the Web for updated device drivers
- Reseat, move, or replace expansion cards
- Determine what changed since the device last
worked
70Troubleshooting Application Software Problems
- Address error messages
- Read documentation
- Considerations
- Virus
- Corrupted data files
- Potential hardware problem
- Corrupted configuration file
71Troubleshooting Application Software Problems
(continued)
- Uninstall and reinstall the software
- Launch Dr. Watson
- Restore Windows system files
- Determine what has changed since software last
worked
72Troubleshooting Slow Performance
- Consider a lack of resources
- Check hard drive run ScanDisk and Defrag
- Suspect a virus
- Close applications not currently in use
- Keep icons to a minimum
- Clean up registry using Scanreg /opt command
- Verify optimum caching
73Other Problem Resolution Options
- Windows Help
- Microsoft Web Site
74Summary
- How Windows 9x is structured and used
- How Windows 9x works with various software
programs and hardware devices - How to troubleshoot Windows 9x