How to Create a "Clean Boot" Disk to Troubleshoot ProblemsLast reviewed: July 22, 1997Article ID: Q124789 |
1.00 1.50 1.51
WINDOWS
kbprg kbinterop kbtshoot kb3rdparty
The information in this article applies to:
SUMMARYConflicts may occur between Visual C++, terminate-and-stay-resident (TSR) programs, or device drivers under Windows and Windows for Workgroups. This article explains how to troubleshoot these problems by doing what is often called a "clean boot." To perform a "clean boot" means to remove all unnecessary commands from the CONFIG.SYS and AUTOEXEC.BAT files and restart the computer.
MORE INFORMATIONWhen a conflict occurs, you may encounter problems like these:
Removing Commands from CONFIG.SYS and AUTOEXEC.BATIf you have MS-DOS version 6.0 or later, you can press the F5 key at startup to completely bypass your CONFIG.SYS and AUTOEXEC.BAT commands, or you can press the F8 key to confirm each CONFIG.SYS command. You can also press and hold down the SHIFT key when MS-DOS displays the "Starting MS- DOS..." prompt to completely bypass your CONFIG.SYS and AUTOEXEC.BAT commands. Otherwise, you can use a text editor such as MS-DOS EDIT, MS-DOS EDLIN, SYSEDIT.EXE, or Windows Notepad to edit your CONFIG.SYS and AUTOEXEC.BAT files. Follow the instructions given below. NOTE: Before making changes to the files, make backup copies of the the AUTOEXEC.BAT and CONFIG.SYS files. You should also have a standby bootable floppy disk in case the computer fails to boot correctly.
Before Doing a Clean BootCreate a bootable floppy disk that contains the MS-DOS system files and any other files that are required to make the system operational, such as disk-compression utilities, disk partitioning drivers, and other third-party device drivers.
Doing a Clean Boot Before Running Windows SetupIf there is no disk compression software, disk partitioning software, or other third-party drivers necessary to boot the computer, you can boot it by using a floppy disk that contains only the MS-DOS system files, without a CONFIG.SYS or AUTOEXEC.BAT file. If disk partitioning, disk compression, or other third-party software is required to boot the computer, the AUTOEXEC.BAT and CONFIG.SYS files on the bootable floppy disk should contain the following lines:
AUTOEXEC.BAT ------------ PROMPT $P$G CONFIG.SYS ---------- FILES=50 BUFFERS=30 <Third-party disk partitioner> <Third-party disk compression driver> <Other required third-party driver> Windows Clean BootAfter Windows is installed, the AUTOEXEC.BAT and CONFIG.SYS files on the bootable floppy disk should contain the following lines:
AUTOEXEC.BAT ------------ PROMPT $P$G PATH=C:\WINDOWS;C:\DOS;C:\ SET TEMP=C:\<valid path> CONFIG.SYS ---------- FILES=50 BUFFERS=30 DEVICE=C:\<dir>\HIMEM.SYS <Third-party disk partitioner> <Third-party disk compression driver> <Other third-party drivers> STACKS=9,256 SHELL=C:\<valid path>\COMMAND.COM /E:1024 /P Windows for Workgroups Clean BootAfter Windows for Workgroups version 3.1 is installed, the AUTOEXEC.BAT and CONFIG.SYS files on the bootable floppy disk should contain the following lines:
AUTOEXEC.BAT ------------ <WFWG 3.1 dir>NET START PROMPT $P$G PATH C:\Windows;C:\DOS;C:\ SET TEMP=C:\<valid path> CONFIG.SYS ---------- FILES=50 BUFFERS=30 DEVICE=C:\<WFWG 3.1 dir>\HIMEM.SYS <Third-party disk partitioner> <Third-party disk compression driver> <Other required third-party drivers> DEVICE=<valid path>\PROTMAN.DOS /I:<valid PATH to PROTOCOL.INI> DEVICE=<MAC DRIVER>.DOS DEVICE=<valid path>WORKGRP.SYS SHELL=C:\<valid path>\COMMAND.COM /E:1024 /P STACKS=9,256After Windows for Workgroups version 3.11 is installed, the AUTOEXEC.BAT and CONFIG.SYS files on the bootable floppy disk should contain the following lines:
AUTOEXEC.BAT ------------ <WFWG 3.11 dir>NET START PROMPT $P$G PATH=C:\Windows;C:\DOS;C:\ SET TEMP=C:\<valid path> CONFIG.SYS ---------- FILES=50 BUFFERS=30 DEVICE=C:\<WFWG 3.11 dir>\HIMEM.SYS <Third-party disk partitioner> <Third-party disk compression driver> <Other required third-party drivers> DEVICE=<WFW 3.11 dir>IFSHLP.SYS SHELL=C:\<valid path>\COMMAND.COM /E:1024 /P STACKS=9,256 ExceptionsThe following are examples of drivers that SHOULD NOT be removed; they are used when the computer is turned on to make the hard drive accessible. This is not a complete list, but it does include many frequently used drivers:
Hard Disk Drivers: SQY55.SYS, SSTBIO.SYS, SSTDRIVE.SYS, AH1544.SYS, ILIM386.SYS, ASPI4DOS.SYS, SCSIHA.SYS, SCSIDSK.EXE, SKYDRVI.SYS, ATDOSXL.SYS, NONSTD.SYS Disk Partitioners: DMDRVR.BIN, SSTOR.SYS, HARDRIVE.SYS, EDVR.SYS, FIXT_DRV.SYS, LDRIVE.SYS, ENHDISK.SYS Disk Compression Utilities: STACKER.COM, SSWAP.COM, SSTOR.EXE, DEVSWAP.COMIf the purpose of a device driver or program is unknown, DO NOT remove it. Most device drivers and programs will display a message describing their purpose when they are initialized. A clean boot DOES NOT include:
Additional Troubleshooting Steps
REFERENCESMore information on doing a "clean boot" can be found on pages 99-100 of the "Getting Started with Microsoft Windows" version 3.1 manual, on pages 528-531 of the version 3.1 "Microsoft Windows Users Guide", Chapter 6 of the "Getting Started with Microsoft Windows for Workgroups" manual, and Chapter 11 of the "Microsoft Windows for Workgroups Users Guide."
|
Additional reference words: kbinf 1.00 1.50 3.10 3.11 clean-boot
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |