1.00 1.50 1.51 1.52
WINDOWS
kbsetup kbtshoot
The information in this article applies to:
- Microsoft Visual C++ for Windows, versions 1.0, 1.5, 1.51 and 1.52
SUMMARY
You can use your original Microsoft Windows or Windows for Workgroups disks
to create a new SYSTEM.INI file for your specific hardware. This may be
useful for troubleshooting or for replacing a damaged or deleted SYSTEM.INI
file.
NOTE: As a precaution, you may want to start the Setup program with the
original SYSTEM.INI file and then press "Print Screen" so that you have a
printed copy of your settings. You can then use this as a reference when
you reset the settings. Always keep a backup of the SYSTEM.INI file.
MORE INFORMATION
To create a new SYSTEM.INI file that is configured for your specific
hardware but does not contain any references to third-party device
drivers, perform the following steps:
- Rename the SYSTEM.INI file as SYSTEM.BAK.
- Expand the file SYSTEM.SR_ from the original Windows disks to
the \Windows directory by using the following command:
c:\windows\expand a:\system.sr_ c:\windows\system.ini
NOTE: This file can be found on disk 1 of the Windows version 3.1
1.44-MB (3.5-inch) disk set or disk 2 of the 1.2-MB (5.25-inch) disk
set. The file is on disk 3 of the Windows for Workgroups version 3.1
disk set (either size).
- Change to the Windows drive, and then change to the \Windows
directory. For example:
c:
cd \windows
- Type "setup" (without the quotation marks) to start the MS-DOS portion
of Windows Setup.
- Select the correct hardware options for your system. They are
blank by default.
NOTE: For a list of valid choices, move your cursor to the blank
field and then press Enter.
- Accept the changes. (At this point, you can even have Setup copy
new drivers if you want.)
- Open the new SYSTEM.INI file in a text editor (for example, the
MS-DOS version 5.0 Editor). Make the following changes to the
SYSTEM.INI file:
a. Add PROGMAN.EXE to the SHELL= line in the [Boot] section.
b. Remove or remark out the Taskman.exe= line in the [Boot]
section.
c. If you are running Windows for Workgroups, add the following
line to the [Boot] section:
network.drv=wfwnet.drv
Then, modify the network= line in the [386Enh] section, as
follows (this should all appear on one line):
network=vnetbios.386,vnetsup.386,vredir.386,
vserver.386,vbrowse.386,vwc.386
d. To enable 32-bit disk access, add the following lines to
the [386Enh] section:
32BitDiskAccess=<Boolean>
device=*int13
device=*wdctrl
Replace "<Boolean>" with True if you want 32-bit disk access
enabled, or False if you do not want 32-bit disk access enabled.
For more information on 32-bit disk access, see Appendix D in
the "Windows Resource Kit" or query on the following words in the
Microsoft Knowledge Base:
Windows and 3.1 and 32-Bit and Disk and Access
e. Add the line "Transport=vnb.386" (without the quotation marks) to the
[386Enh] section so that the network functionality will load when you
restart Windows for Workgroups.
- Start Windows. If you do not receive any errors, you have successfully
recreated your SYSTEM.INI file.
If you receive error message S020 or S021, the SYSTEM.INI file you
created may be corrupted. To correct this problem, do the following:
a. Check for a duplicate SYSTEM.INI file by typing "DIR C:\ SYSTEM.INI
/S" (without the quotation marks) at the MS-DOS prompt.
b. Run CHKDSK to check for lost allocation units by typing
"CHKDSK /F" (without the quotation marks) at the MS-DOS prompt.
c. Make sure your hard disk has sufficient free space.
d. Delete the corrupt SYSTEM.INI file and then follow the steps
above, starting with step 2.
e. If all else fails, reinstall Windows.
NOTE: You will need to add the following three lines to the system.ini if
you are using VC++ 1.x (16bit):
device=c:\msvc\bin\mmd.386
device=c:\msvc\bin\dosxnt.386
device=c:\msvc\bin\cvw1.386
|