Créer une clé usb avec la version compléte d’xp

Il existe diverses façons de créer une clé usb avec une version réduite de windows xp
nous allons voir ici la manière d’y mettre la version complète

tout d’abord copiez le contenu de votre CD XP dans un répertoire
que vous aurez créé
par exemple C:\USB-XP

créez un autre répertoire par exemple C:\CAB SDK
et y mettre ceci :

=>

copiez les fichiers qui se trouvent dans
C:\USB-XP dans le répertoire de C:\CAB SDK :


TXTSETUP.SIF
DOSNET.INF
USB.IN_
USBPORT.IN_
USBSTOR.IN_


il suffit maintenant simplement de les modifier

ouvrez le bloc-notes, copiez y ceci :

cabarc x USB.IN_
cabarc x USBPOR.IN_
cabarc x USBSTOR.IN_


enregistrez le dans le répertoire cabSDK\BIN et nommez le zip.bat

ensuite clic droit sur zip.bat
pour modifier ces fichiers en .INF

maintenant Editer le fichier TXTSETUP.SIF
(avec le bloc-notes)

Déplacez les lignes en gras de InputDevicesSupport.Load vers la section BootBusExtenders.Load

BootBusExtenders.Load

pci = pci.sys
acpi = acpi.sys
isapnp = isapnp.sys
acpiec = acpiec.sys
ohci1394 = ohci1394.sys


InputDevicesSupport.Load

usbehci = usbehci.sys
usbohci = usbohci.sys
usbuhci = usbuhci.sys
usbhub = usbhub.sys

usbccgp = usbccgp.sys
hidusb = hidusb.sys
serial = serial.sys
serenum = serenum.sys
usbstor = usbstor.sys


même chose pour BootBusExtenders et
InputDevicesSupport

BootBusExtenders

pci = « PCI-Bustreiber »,files.pci,pci
acpi = « ACPI Plug & Play-Bustreiber »,files.acpi,acpi
isapnp = « ISA Plug & Play-Bustreiber »,files.isapnp,isapnp
acpiec = « Integrierter ACPI-Controllertreiber »,files.none,acpiec
ohci1394 = « IEEE-1394-Bus-OHCI-konformer Anschlusstreiber »,files.ohci1394,ohci1394

InputDevicesSupport

usbehci = « Erweiterter Hostcontroller »,files.usbehci,usbehci
usbohci = « Open Hostcontroller »,files.usbohci,usbohci
usbuhci = « Universeller Hostcontroller »,files.usbuhci,usbuhci
usbhub = « Standard-USB-Hubtreiber »,files.usbhub,usbhub

hidusb = « HID-Parser »,files.hidusb,hidusb
serial = « Treiber fr seriellen Anschluss »,files.none,serial
serenum = « Enumerator fr seriellen Anschluss »,files.none,serenum
usbstor = « USB-Speicherklassentreiber »,files.usbstor,usbstor
usbccgp = « USB Generic Parent Driver »,files.usbccgp,usbccgp


ensuite il faut simplement modifier les lignes en gras dans les sections suivantes comme ceci :

HiveInfs.Fresh

AddReg = hivedef.inf,AddReg
AddReg = hivesys.inf,AddReg
AddReg = hivesft.inf,AddReg
AddReg = hivecls.inf,AddReg
AddReg = hiveusd.inf,AddReg
AddReg = dmreg.inf,DM.AddReg
AddReg = usbboot.inf,usbservices

et dans SourceDisksFiles

usbboot.inf = 1,,,,,,_x,3,,3
bootvid.dll = 1,,,,,,3_,2,0,0,,1,2
kdcom.dll = 1,,,,,,3_,2,0,0,,1,2

enregistrez les modifications du fichier TXTSETUP.SIF

maintenant modifiez le fichier DOSNET.INF comme ceci :

Files

d1,usbboot.inf
d1,_default.pif
d1,12520437.cpx
d1,12520850.cpx

enregistrez les modifications

au tour du fichier usb.inf comme ceci :

les lignes en gras dans StandardHub.AddService et CommonClassParent.AddService

StandardHub.AddService

DisplayName = %StandardHub.SvcDesc%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 0 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\usbhub.sys
LoadOrderGroup = Boot Bus Extender

CommonClassParent.AddService

DisplayName = %GenericParent.SvcDesc%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 0 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\usbccgp.sys
LoadOrderGroup = Boot Bus Extender

enregistrez les modifications

pareil pour le fichier usbport.inf

EHCI.AddService

DisplayName = %EHCIMP.SvcDesc%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 0 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\usbehci.sys
LoadOrderGroup = Boot Bus Extender

OHCI.AddService

DisplayName = %OHCIMP.SvcDesc%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 0 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\usbohci.sys
LoadOrderGroup = Boot Bus Extender

UHCI.AddService

DisplayName = %UHCIMP.SvcDesc%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 0 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\usbuhci.sys
LoadOrderGroup = Boot Bus Extender

ROOTHUB.AddService

DisplayName = %ROOTHUB.SvcDesc%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 0 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\usbhub.sys
LoadOrderGroup = Boot Bus Extender

enregistrez les modifications

et pour le fichier usbstor.inf

USBSTOR.AddService

DisplayName = %USBSTOR.SvcDesc%
ServiceType = 1
StartType = 0
Tag = 3

ErrorControl = 1
ServiceBinary = %12%\USBSTOR.SYS
LoadOrderGroup = Boot Bus Extender

enregistrez les modifications

créez ensuite un nouveau fichier avec le bloc-notes
et copiez/collez y ceci :

[usbservices]

HKLM, »SYSTEM\CurrentControlSet\Services\USBSTOR », »DisplayName »,0x00000000, »USB Mass Storage Driver »
HKLM, »SYSTEM\CurrentControlSet\Services\USBSTOR », »ErrorControl »,0x00010001,1
HKLM, »SYSTEM\CurrentControlSet\Services\USBSTOR », »Group »,0x00000000, »System Reserved »
HKLM, »SYSTEM\CurrentControlSet\Services\USBSTOR », »ImagePath »,0x00020000, »system32\DRIVERS\USBSTOR.SYS »
HKLM, »SYSTEM\CurrentControlSet\Services\USBSTOR », »Start »,0x00010001,0
HKLM, »SYSTEM\CurrentControlSet\Services\USBSTOR », »Type »,0x00010001,1

HKLM, »SYSTEM\CurrentControlSet\Services\usbehci », »DisplayName »,0x00000000, »USB 2.0 Enhanced Host Controller Miniport Driver »
HKLM, »SYSTEM\CurrentControlSet\Services\usbehci », »ErrorControl »,0x00010001,1
HKLM, »SYSTEM\CurrentControlSet\Services\usbehci », »Group »,0x00000000, »System Reserved »
HKLM, »SYSTEM\CurrentControlSet\Services\usbehci », »ImagePath »,0x00020000, »system32\DRIVERS\usbehci.sys »
HKLM, »SYSTEM\CurrentControlSet\Services\usbehci », »Start »,0x00010001,0
HKLM, »SYSTEM\CurrentControlSet\Services\usbehci », »Type »,0x00010001,1

HKLM, »SYSTEM\CurrentControlSet\Services\usbhub », »DisplayName »,0x00000000, »USB2 Enabled Hub »
HKLM, »SYSTEM\CurrentControlSet\Services\usbhub », »ErrorControl »,0x00010001,1
HKLM, »SYSTEM\CurrentControlSet\Services\usbhub », »Group »,0x00000000, »System Reserved »
HKLM, »SYSTEM\CurrentControlSet\Services\usbhub », »ImagePath »,0x00020000, »system32\DRIVERS\usbhub.sys »
HKLM, »SYSTEM\CurrentControlSet\Services\usbhub », »Start »,0x00010001,0
HKLM, »SYSTEM\CurrentControlSet\Services\usbhub », »Type »,0x00010001,1

HKLM, »SYSTEM\CurrentControlSet\Services\usbuhci », »DisplayName »,0x00000000, »Microsoft USB Universal Host Controller Miniport Driver »
HKLM, »SYSTEM\CurrentControlSet\Services\usbuhci », »ErrorControl »,0x00010001,1
HKLM, »SYSTEM\CurrentControlSet\Services\usbuhci », »Group »,0x00000000, »System Reserved »
HKLM, »SYSTEM\CurrentControlSet\Services\usbuhci », »ImagePath »,0x00020000, »system32\DRIVERS\usbuhci.sys »
HKLM, »SYSTEM\CurrentControlSet\Services\usbuhci », »Start »,0x00010001,0
HKLM, »SYSTEM\CurrentControlSet\Services\usbuhci », »Type »,0x00010001,1

HKLM, »SYSTEM\CurrentControlSet\Services\usbohci », »DisplayName »,0x00000000, »Microsoft USB Open Host Controller Miniport Driver »
HKLM, »SYSTEM\CurrentControlSet\Services\usbohci », »ErrorControl »,0x00010001,1
HKLM, »SYSTEM\CurrentControlSet\Services\usbohci », »Group »,0x00000000, »System Reserved »
HKLM, »SYSTEM\CurrentControlSet\Services\usbohci », »ImagePath »,0x00020000, »system32\DRIVERS\usbohci.sys »
HKLM, »SYSTEM\CurrentControlSet\Services\usbohci », »Start »,0x00010001,0
HKLM, »SYSTEM\CurrentControlSet\Services\usbohci », »Type »,0x00010001,1


enregistrez le et nommez le => USBBOOT.INF

créez un autre fichier, nommez le => compresser.bat dans le répertoire cabSDK
en y copiant ceci :

cabarc n USB.IN_ usb.inf
cabarc n USBPORT.IN_ usbport.inf
cabarc n USBSTOR.IN_ usbstor.inf


clic droit dessus et exécuter pour les modifications

pour finir copiez tous les fichiers que vous avez modifié
c’est à dire ceux la :

TXTSETUP.SIF
DOSNET.INF
USB.IN_
USBPORT.IN_
USBSTOR.IN_
USBBOOT.INF


directement dans le repertoire => C:\USB-XP

il vous suffira ensuite simplement de créer une image ISO
de ce répertoire avec ceci par exemple =>

et de graver ensuite l’image avec un logiciel de gravure

pour l’installation de l’ISO sur la clé USB :

débranchez tous les périphériques (tous les dd internes également)
ensuite mettez USB en 1er boot dans le bios et en 2eme le CDROM

connectez la clé en direct sans hub sur le port usb
redémarrez le pc et lancez l’installation d’xp sur la clé
(formatage NTFS)

=>
(en anglais)

si vous avez une question direction, direction le forum

Laisser un commentaire

Votre adresse e-mail ne sera pas publiée. Les champs obligatoires sont indiqués avec *

Ce site utilise Akismet pour réduire les indésirables. En savoir plus sur comment les données de vos commentaires sont utilisées.