PE下安装SCSI驱动的详细教程

编辑: 来源:U大侠 时间:2014-09-02

  PE下如何安装CSI驱动呢?很多人在PE系统下安装硬盘驱动器都是失败的,原因是使用DEVCON类。那么,在PE下能不能安装SCSI驱动呢?今天U大侠小编就和大家说说PE下安装SCSI驱动的详细教程。

硬盘
硬盘

  具体安装方法:

  1、把此驱动的SYS文件移动到DRIVERS目录,其它文件则移动到(不需要INF文件)SYSTEM32。

  2、然后把SYS文件设为服务并启动。

  3、如果服务正常启动,那系统中就会显示出你的SCSI硬盘。

  附上测试效果图,使用VMSARE测试的,附件4为下面批处理脚本,可在PE下使用(注:测试图为了方便,我是直接使用VCdControlTool加载的驱动,正常使用可以直接使用下面的脚本)。

  @echo off

  title 在PE下安装硬盘控制器驱动简单脚本 by chenall 2008-12-14

  rem 使用方法: 1.可直接拖放,即把对应驱动的SYS文件拖放到这个程序的图标上。

  rem 2.使用命令行pe_scsi.cmd [你的SYS文件]

  rem 。。。.http://www.45it.com.。。。。。。。。。。。。。。.http://sos.45it.com

  rem 。。。

  if “%1”==“” goto :eof

  》“%temp%\scsi_serv.inf” echo.

  》》“%temp%\scsi_serv.inf” echo.[Version]

  》》“%temp%\scsi_serv.inf” echo.signature = “$Windows NT$”

  》》“%temp%\scsi_serv.inf” echo.[DefaultInstall.Services]

  》》“%temp%\scsi_serv.inf” echo.AddService = %~n1,,Service

  》》“%temp%\scsi_serv.inf” echo.[Service]

  》》“%temp%\scsi_serv.inf” echo.DisplayName = “%~n1 Service”

  》》“%temp%\scsi_serv.inf” echo.Description = “%~1”

  》》“%temp%\scsi_serv.inf” echo.ServiceType = 2

  》》“%temp%\scsi_serv.inf” echo.StartType = 2

  》》“%temp%\scsi_serv.inf” echo.ErrorControl = 1

  》》“%temp%\scsi_serv.inf” echo.ServiceBinary = %%12%%\%~nx1

  copy /y %1 %WinDir%\system32\drivers 》nul

  rundll32.exe setupapi,InstallHinfSection DefaultInstall 132 %temp%\scsi_serv.inf

  if not errorlevel 1 (echo.%~nX1驱动安装成功!&pecmd serv %~n1&pause) else (echo.安装失败!&pause)

  del /f /q “%temp%\scsi_serv.inf”

分享: