Microsoft KB Archive/241459

{|
 * width="100%"|

HOWTO: Automate the UDMA Fix in Windows 98

 * }

Q241459

-

The information in this article applies to:


 * Microsoft OEM Preinstall Kit (OPK), version 98

-

If this article does not describe your hardware-related issue, please see the following Microsoft Web site to view more articles about hardware:

"http://support.microsoft.com/support/windows/topics/hardware/hwddresctr.asp"

SUMMARY
Ultra Direct Memory Access (UDMA) is enabled by default in a Windows 98 preinstallation. This may cause shutdown problems, as well as difficulties when accessing the CD-ROM under non-DMA-enabled hardware. To resolve this problem, DMA must be disabled.

MORE INFORMATION
The following details the procedure for automatically disabling DMA in a preinstallation.

  Extract the Mshdc.inf file from the Windows 98 CD-ROM into the C:\Temp folder of the reference computer using the following command at the MS-DOS prompt:

"extract d:\win98\precopy2.cab /L c:\temp msbatch.inf" Note that d: is the CD-ROM drive letter.   Edit the Mshdc.inf file; the edited file must have the following lines commented out (or removed): [ESDI_AddReg] HKR,,IDEDMADRIVE0,3,01 HKR,,IDEDMADRIVE1,3,01 Use a semi-colon at the beginning of each line to comment out the line.  Copy the updated Mshdc.inf file into the A:\Pre_img\Factonly folder of the Preinstallation Boot Floppy (PBF). Edit the Transfer.bat file under the A:\Pre_img\Factonly folder of the PBF as follows:

  Locate this line in the Mshdc.inf file: copy c:\factonly\%cfgdir%\msbatch.inf c:\windows\options\cabs   Append the following new line after the line shown in step a: copy c:\factonly\mshdc.inf c:\windows\options\cabs  Save the Transfer.bat file.</li></ol> </li> Start the target computer with the PBF. The resulting preinstallation has DMA disabled.</li></ol>