在移动硬盘上安装win7系统的方法 下载本文

真正的移动版WIN7,在移动硬盘/U盘上运行的WIN7 只要建5个文档 就能解决,省时省力,(文档内容在下面附件里,带颜色标识) 话不多说, U盘也可以哦(只要它够大!)

准备工作 你懂得 你需要一个已经安装好的WIN7系统在此基础上完成

因为USB驱动的关系, win7从移动硬盘上启动时会蓝屏报错!!所以下面要修改win7的USB驱动。

首先我门需要创建几个文档(需显示文件后坠)

1.创建3个文本文档作为INF文件 (文件内容在下面的附件中) usb.inf.txt 黄色附件 usbport.inf.txt 绿色附件 usbstor.inf.txt 兰色附件

2.创建2个文本文档 作为注册表文件(文件内容在下面的附件中) usb1.reg.txt 紫色附件 usb2.reg.txt 蓝色附件

分别把附件中的语句考入文件中 保存 去掉 点TXT后坠 保存新的文件 进入以下(X为你win7的系统盘符) X:\\windows\\inf\\

X:\\Windows\\System32\\DriverStore\\FileRepository\\ 替换usb.inf usbport.inf usbstor.inf 注意:替换不了是你的权限不够,(需要权限设置这里不做讲解)

然后双击注册表文件 usb1.reg、usb2.reg 完成注册,

OK,您可以优哉游哉的用移动硬盘运行WIN7系统了(当然BLOS需设置优先USB启动)

以下为附件

usb.inf.txt 黄色

;USB.INF -- This file contains descriptions of USB hubs and composite devices ;

[Version]

Signature=\Class=USB

ClassGUID={36FC9E60-C465-11CF-8056-444553540000} Provider=%Msft%

DriverVer=06/21/2006,6.1.7600.16385

[ControlFlags] BasicDriverOk=* ExcludeFromSelect=*

[SourceDisksNames] 3426=windows cd

[SourceDisksFiles] usbhub.sys = 3426 usbccgp.sys = 3426

[DestinationDirs]

DefaultDestDir=11 ; LDID_SYS ;

; For Windows NT, all drivers go into %windir%\\system32\\drivers. Since ; there isn't a DIRID (LDID) that represents this path on both NT and Win95, ; we specify the relative path off of %windir%. ;

Hub.CopyFiles.NT = 10, system32\\drivers CommonClassParent.CopyFiles.NT = 10, system32\\drivers

; =================== Table of content =========================

[Manufacturer]

%Generic.Mfg%=Generic.Section,NTx86 %Microsoft.Mfg%=Microsoft.Section,NTx86 %GenericHub.Mfg%=GenericHub.Section,NTx86 %Intel.Mfg%=Intel.Section,NTx86

%Kawatsu.Mfg%=Kawatsu.Section,NTx86 %Cherry.Mfg%=Cherry.Section,NTx86 %Altec.Mfg%=Altec.Section,NTx86 %Telex.Mfg%=Telex.Section,NTx86 úllas.Mfg%=Dallas.Section,NTx86 %NMB.Mfg%=NMB.Section,NTx86 %STSL.Mfg%=STSL.Section,NTx86

%SUPGERGATE.Mfg%=SUPGERGATE.Section,NTx86 %Iiyama.Mfg%=Iiyama.Section,NTx86 %Samsung.Mfg%=Samsung.Section,NTx86 %CTX.Mfg%=CTX.Section,NTx86 %LiteOn.Mfg%=LiteOn.Section,NTx86 %Winbond.Mfg%=Winbond.Section,NTx86

%MultiVideoLabs.Mfg%=MultiVideoLabs.Section,NTx86 %Sand.Mfg%=Sand.Section,NTx86 %TI.Mfg%=TI.Section,NTx86

%Philips.Mfg%=Philips.Section,NTx86 %NEC.Mfg%=NEC.Section,NTx86 %CMD.Mfg%=CMD.Section,NTx86

%NatSemi.Mfg%=NatSemi.Section,NTx86 ?ER.Mfg%=ACER.Section,NTx86 %FTA.Mfg%=FTA.Section,NTx86 êTC.Mfg%=CATC.Section,NTx86 %Sony.Mfg%=Sony.Section,NTx86 %Sejin.Mfg%=Sejin.Section,NTx86 %EIZO.Mfg%=EIZO.Section,NTx86

%KeyTronic.Mfg%=KeyTronic.Section,NTx86 %Chicony.Mfg%=Chicony.Section,NTx86 %BTC.Mfg%=BTC.Section,NTx86

%Forward.Mfg%=Forward.Section,NTx86 %SolidYear.Mfg%=SolidYear.Section,NTx86 %LabTec.Mfg%=LabTec.Section,NTx86 %Silitek.Mfg%=Silitek.Section,NTx86 %Nokia.Mfg%=Nokia.Section,NTx86 %Granite.Mfg%=Granite.Section,NTx86 %Yamaha.Mfg%=Yamaha.Section,NTx86

;[SignatureAttributes]

;usbccgp.sys=SignatureAttributes.DRM ;usbhub.sys=SignatureAttributes.DRM

; =================== Generic ==================================

[Generic.Section.NTx86]

%USB\\COMPOSITE.DeviceDesc%=Composite.Dev,USB\\COMPOSITE %USB\\UNKNOWN.DeviceDesc%=BADDEVICE.Dev,USB\\UNKNOWN

[SignatureAttributes.DRM] DRMLevel=1300

; --------------------------------------------------------------

[BADDEVICE.Dev.NT]

AddReg=BADDEVICE.AddReg CopyFiles=BADDEVICE.CopyFiles

[BADDEVICE.AddReg]

[BADDEVICE.CopyFiles]

[BADDEVICE.Dev.NT.Services]

AddService = , 0x00000002 ; null service install

; --------------------------------------------------------------

[OpenHCD.UnsupportedDev.NT]

; Do-nothing section used to avoid \DeviceUpgradeUnsupported=1

[OpenHCD.UnsupportedDev.NT.Services]

AddService = , 0x00000002 ; null service install

; -------------------------------------------------------------- ; For Windows NT...

[Composite.Dev.NT]

CopyFiles=CommonClassParent.CopyFiles.NT DelReg=Composite.DelReg.NT AddReg=Composite.AddReg.NT

[Composite.DelReg.NT] HKR,,EnumPropPages32

[Composite.Dev.NT.Services]

AddService = usbccgp, 0x00000002, CommonClassParent.AddService

[Composite.AddReg.NT]

HKLM,System\\CurrentControlSet\\Services\%usbccgp,BootFlags,0x00010003,4

[StandardHub.Dev.NT]

CopyFiles=Hub.CopyFiles.NT

DelFiles=Hub.DelFiles,USBINF.DelFiles.NT,USBMON.DelFiles.NT AddReg=StandardHub.AddReg.NT

[StandardHub.AddReg.NT]

HKR,,EnumPropPages32,,\

HKLM,System\\CurrentControlSet\\Services\%usbhub,BootFlags,0x00010003,4

[StandardHub.Dev.NT.Services]

AddService = usbhub, 0x00000002, StandardHub.AddService

[StandardHub.AddService]

DisplayName = %StandardHub.SvcDesc%

ServiceType = 1 ; SERVICE_KERNEL_DRIVER ;StartType = 3 ; SERVICE_DEMAND_START StartType = 0 ; SERVICE_BOOT_START ErrorControl = 1 ; SERVICE_ERROR_NORMAL