RESOLUTION
To enable Windows 95 to start whether the computer is docked or
undocked, create a multiple-boot configuration.
Do not perform this procedure until you have determined that you have a
docked state that requires an NDIS 3.x driver to be loaded and an
undocked state that requires an NDIS 2.0 driver to be loaded, or vice
versa.
If this is not the case, you need to perform other troubleshooting steps
to resolve the problem.
To create a multiple-boot configuration, follow all the steps in the
following sections.
Preparing for Multiple Configurations
- Make a backup copy of the Config.sys and Autoexec.bat files.
- Restart the computer. When you see the "Starting Windows 95" message,
press the F8 key, and then choose Command Prompt Only from the
Startup menu.
- Type the following line, and then press ENTER:
You will use the new Configs folder for storing a temporary copy
of the registry files.
Configuring the Network While Docked
- Dock your computer and then restart Windows 95 normally.
- Use the Network tool in Control Panel to configure the computer to
use the network adapter that is in the docking station. Use the
NDIS 3.x protocols if they are compatible. If not, set the network
adapter to use NDIS 2.0 drivers.
- Restart the computer. When you see the "Starting Windows 95" message,
press the F8 key, and then choose Command Prompt Only from the
Startup menu.
- Change to the Windows folder.
- Type the following lines. Press ENTER after each line:
attrib -r -s -h system.dat
copy/b system.dat c:\configs\system.dok
copy protocol.ini c:\configs\protocol.dok
Configuring the Network While Undocked
- Undock the computer and then restart Windows 95 normally.
- Use the Network tool in Control Panel to remove the network adapter
you configured in step 2 above.
- Configure the network adapter for the undocked configuration. This
is typically a PCMCIA network adapter. If this adapter requires
real-mode NDIS 2.0 drivers, install them now.
- Restart the computer. When you see the "Starting Windows 95" message,
press the F8 key, and then choose Command Prompt Only from the
Startup menu.
- Change to the Windows folder.
- Type the following lines. Press ENTER after each line:
attrib -r -s -h system.dat
copy/b system.dat c:\configs\system.und
copy protocol.ini c:\configs\protocol.und
Enabling Multiple Configurations
NOTE: The information in this section assumes that Windows 95 is
installed in the Windows folder on drive C. If this is not the case,
please adjust the following information accordingly.
Use any text editor (such as Notepad or Edit.com) to edit the
Autoexec.bat file. Add the following lines to the file:
set windir=c:\windows
choice/c:DU Docked or Undocked configuration
if errorlevel 2 goto docked
if errorlevel 1 goto undocked
goto end
:docked
cd %windir%
attrib -r -s -h system.dat
del system.dat
del protocol.ini
copy/b c:\configs\system.dok system.dat
copy c:\configs\protocol.dok protocol.ini
goto end
:undocked
cd %windir%
attrib -r -s -h system.dat
del system.dat
copy/b c:\configs\system.und system.dat
copy c:\configs\protocol.und protocol.ini
goto end
:end
rem all done
After you add these lines, save and then close the Autoexec.bat file.
When you restart your computer, the network adapter drivers will be
processed after the Autoexec.bat file has been processed. Therefore, the
networking components can be segregated into separate boot
configurations without causing a problem.
NOTE: Although this technique can be used for a variety of different
situations, it should be used only in this case. All other situations
requiring multiple configurations should be handled through the user
interface using system profiles.