如何在PE下安装SCSI驱动
时间:2013-07-13来源:新白菜作者:佚名
一直以来,在PE下安装硬盘控制器驱动都是失败的,因为都是使用DEVCON类。SCSI驱动是不是也可以使用类似的方法呢?
实验证明,我的想法有一定的可行性(因无条件进行全面测试)!
具体安装方法.
1、把这个驱动的SYS文件复制到DRIVERS目录,其它文件复制到(不需要INF文件)SYSTEM32(注:一般都只有一个SYS文件,所以只要把这个SYS文件复制到DRIVERS目录就好了)。
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 ....https://www.366840202.cn................https://bbs.wuyou.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"
相关信息
-
怎么提高集成显卡性能?教程显卡系列
对于电脑来说,显卡是十分重要的核心部件。而显卡分为集成显卡和独立显卡,集成显卡指的是在集成主板上连接了集成显卡、声卡、网卡各种部件,虽然整体性能比不上独立显卡,但是对于一般人来说是足够了,所以整体性价比还是不错...
2019-11-15
-
in10系统如何删除多余无线网络连接?
最近有位win10系统用户使用电脑的时候,想要删除电脑中多余的无线网络连接,但是却不知道怎么操作,为此非常苦恼,那么win10系统怎么删除多余无线网络连接呢?今天为大家分享win10系统删除多余无线网络连接的操作方法。 操作...
2019-10-26