PE下装SCSI驱动
- 分类:win8 发布时间: 2013年03月25日 00:00:00
【SCSI驱动】通常情况下在pe系统下安装硬盘驱动器都是失败的,原因是使用DEVCON类。那么SCSI驱动可不可以使用类似的方法进行操作呢,实施证明是可以的。
具体安装方法.
1把此驱动的SYS文件移动到DRIVERS目录,其它文件则移动到(不需要INF文件)SYSTEM32。
2然后把SYS文件设为服务并启动。
3好了,如果服务正常启动,那系统中就会显示出你的SCSI硬盘。
@echo off
1 title 在PE下安装硬盘控制器驱动简单脚本 by chenall 2008-12-14
2 rem 使用方法: 1.可直接拖放,即把对应驱动的SYS文件拖放到这个程序的图标上.
3 rem 2.使用命令行pe_scsi.cmd [你的SYS文件]
4 rem ....http://www.366840202.cn................http://bbs.wuyou.com
5 rem ...
6 if "%1"=="" goto :eof
7 >"%temp%\scsi_serv.inf" echo.
8 >>"%temp%\scsi_serv.inf" echo.[Version]
9 >>"%temp%\scsi_serv.inf" echo.signature = "$Windows NT$"
10 >>"%temp%\scsi_serv.inf" echo.[DefaultInstall.Services]
11 >>"%temp%\scsi_serv.inf" echo.AddService = %~n1,,Service
12 >>"%temp%\scsi_serv.inf" echo.[Service]
13 >>"%temp%\scsi_serv.inf" echo.DisplayName = "%~n1 Service"
14 >>"%temp%\scsi_serv.inf" echo.Description = "%~1"
15 >>"%temp%\scsi_serv.inf" echo.ServiceType = 2
16 >>"%temp%\scsi_serv.inf" echo.StartType = 2
17 >>"%temp%\scsi_serv.inf" echo.ErrorControl = 1
18 >>"%temp%\scsi_serv.inf" echo.ServiceBinary = %%12%%\%~nx1
19 copy /y %1 %WinDir%\system32\drivers >nul
20 rundll32.exe setupapi,InstallHinfSection DefaultInstall 132 %temp%\scsi_serv.inf
21 if not errorlevel 1 (echo.%~nX1驱动安装成功!&pecmd serv %~n1&pause) else (echo.安装失败!&pause)
22 del /f /q "%temp%\scsi_serv.inf"
这样我们SCSI驱动就安装好了。
推荐阅读:pe系统是什么:http://jiaocheng.zhuangjiba.com/show-18-34-1.html
责任编辑:装机吧小鱼 版权所有,转载请说明出处!
猜您喜欢
- 小编教你怎么设置电脑开机密码..2018/12/06
- 怎么设置u盘启动盘呢?2017/07/24
- 0x0000004e,详细教您怎么解决蓝屏0x00..2018/07/27
- mercury无线路由器设置,详细教您设置..2018/08/20
- 怎么设置系统启动盘最简单呢?..2017/08/01
- 晨枫u盘维护工具使用教程2016/11/04
相关推荐
- u盘低级格式化哪个好 2016-10-20
- 联想笔记本系统重装win8的方法.. 2016-12-18
- 告诉你如何打开ai文件 2019-02-26
- 笔记本风扇声音大怎么办,详细教您如何.. 2018-06-07
- xps格式的文件怎么打开 2019-12-24
- qq的聊天记录在哪个文件夹,详细教您qq.. 2018-08-08