Ghost multiple machines with Sysprep.exe

This tip will help if you're trying to create a ghost image using Sysprep.exe.

This should help if you are trying to create a ghost image using Sysprep.exe. Also create a CMDLINES.txt and place it in the I386$OEM$ directory. It will load all IDE drivers, and then remove them after the install is done.

This goes in the sysprep.inf file:

;SetupMgrTag
[Unattended]
   DriverSigningPolicy=ignore
   OemPnPDriversPath=
"Type you driver path here."
   InstallFilesPath=C:sysprepi386
   TargetPath=WINNT

"This installs all the available IDE drivers for most all PC types"
[SysprepMassStorage]
PCMCIA*PNP0600=%systemroot%infmshdc.inf
PCMCIAKME-KXLC005-A99E=%systemroot%infmshdc.inf
PCMCIA_-NinjaATA--3768=%systemroot%infmshdc.inf
PCMCIAFUJITSU-IDE-PC_CARD-DDF2=%systemroot%infmshdc.inf
*AZT0502=%systemroot%infmshdc.inf
PCICC_0101=%systemroot%infmshdc.inf
PCIVEN_10B9&DEV_5215=%systemroot%infmshdc.inf
PCIVEN_10B9&DEV_5219=%systemroot%infmshdc.inf
PCIVEN_10B9&DEV_5229=%systemroot%infmshdc.inf
PCIVEN_1097&DEV_0038=%systemroot%infmshdc.inf
PCIVEN_1095&DEV_0640=%systemroot%infmshdc.inf
PCIVEN_1095&DEV_0646=%systemroot%infmshdc.inf
PCIVEN_0E11&DEV_AE33=%systemroot%infmshdc.inf
PCIVEN_8086&DEV_1222=%systemroot%infmshdc.inf
PCIVEN_8086&DEV_1230=%systemroot%infmshdc.inf
PCIVEN_8086&DEV_7010=%systemroot%infmshdc.inf
PCIVEN_8086&DEV_7111=%systemroot%infmshdc.inf
PCIVEN_8086&DEV_2411=%systemroot%infmshdc.inf
PCIVEN_8086&DEV_2421=%systemroot%infmshdc.inf
PCIVEN_8086&DEV_7199=%systemroot%infmshdc.inf
PCIVEN_1042&DEV_1000=%systemroot%infmshdc.inf
PCIVEN_1039&DEV_0601=%systemroot%infmshdc.inf
PCIVEN_1039&DEV_5513=%systemroot%infmshdc.inf
PCIVEN_10AD&DEV_0001=%systemroot%infmshdc.inf
PCIVEN_10AD&DEV_0150=%systemroot%infmshdc.inf
PCIVEN_105A&DEV_4D33=%systemroot%infmshdc.inf
PCIVEN_1106&DEV_0571=%systemroot%infmshdc.inf


"Add this to the end."
[SysprepCleanup]
Service=atapi
Service=atapi
Service=atapi
Service=atapi
Service=atapi
Service=pciide
Service=pciide
Service=pciide
Service=pciide
Service=pciide
Service=pciide
Service=pciide
Service=pciide
Service=intelide
Service=intelide
Service=intelide
Service=intelide
Service=intelide
Service=intelide
Service=intelide
Service=pciide
Service=pciide
Service=pciide
Service=pciide
Service=pciide
Service=pciide
Service=pciide


"Put this in a CMDLINES.txt file"
[Commands]
C:SysprepSysprep -clean

This was first published in November 2002

Dig deeper on Windows Server and Network Security

Pro+

Features

Enjoy the benefits of Pro+ membership, learn more and join.

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

-ADS BY GOOGLE

SearchServerVirtualization

SearchCloudComputing

SearchExchange

SearchSQLServer

SearchWinIT

SearchEnterpriseDesktop

SearchVirtualDesktop

Close