I've been struggling with Sysprep for a few days now and I can't seem to get it to work, I hope someone might be able to help..
It seems that it ignores some of the settings in the Sysprep.inf and I can't find out why. It doesn't apply the $OEM$ files nor apply the mass storage drivers, yet the GuiUnattended and the Identification section gets applied correctly.
Building image steps: - Installed windows, apps, updates and settings. - Created Drivers and Sysprep folders (with sysprep.inf in it) - Captured the image using the SCCM Capture media iso.
Task sequence steps: - Boot to winpe - format - apply os image with Sysprep.inf - copy OEM files using this command (xcopy /c /e /i /g /h /r /y . C:\_SMSTaskSequence\OSD\$OEM$\) - apply windows settings - apply network settings - Setup Windows and ConfigMgr
Things I tried: - Copy the $OEM$ files inside the sysprep\i386 folder instead of C:\_SMSTaskSequence\OSD\$OEM$. - Deploy the Image with and without choosing a Sysprep.inf file in the "Apply Operating System Image" step. - Made sure that the files are in the right place and checked sysprep.inf settings just before the "Setup Windows and ConfigMgr" step executed.
Note that these setps works as expected if I use it to deploy XP from a Package and use an Unattend.txt file instead of Sysprep.inf.
sysprep.inf file content before "Setup Windows and ConfigMgr" step:
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.
Hello Everyone,
I've been struggling with Sysprep for a few days now and I can't seem to get it to work, I hope someone might be able to help..
It seems that it ignores some of the settings in the Sysprep.inf and I can't find out why.
It doesn't apply the $OEM$ files nor apply the mass storage drivers, yet the GuiUnattended and the Identification section gets applied correctly.
Building image steps:
- Installed windows, apps, updates and settings.
- Created Drivers and Sysprep folders (with sysprep.inf in it)
- Captured the image using the SCCM Capture media iso.
Task sequence steps:
- Boot to winpe
- format
- apply os image with Sysprep.inf
- copy OEM files using this command (xcopy /c /e /i /g /h /r /y . C:\_SMSTaskSequence\OSD\$OEM$\)
- apply windows settings
- apply network settings
- Setup Windows and ConfigMgr
Things I tried:
- Copy the $OEM$ files inside the sysprep\i386 folder instead of C:\_SMSTaskSequence\OSD\$OEM$.
- Deploy the Image with and without choosing a Sysprep.inf file in the "Apply Operating System Image" step.
- Made sure that the files are in the right place and checked sysprep.inf settings just before the "Setup Windows and ConfigMgr" step executed.
Note that these setps works as expected if I use it to deploy XP from a Package and use an Unattend.txt file instead of Sysprep.inf.
sysprep.inf file content before "Setup Windows and ConfigMgr" step:
[unattended]
Hibernation=No
OemPreinstall=Yes
UpdateInstalledDrivers=Yes
NonDriverSigningPolicy=Ignore
InstallFilesPath=C:\sysprep\i386
OEMSkipEula=Yes
UnattendMode=FullUnattended
DriverSigningPolicy=Ignore
[RegionalSettings]
LanguageGroup=1
SystemLocale=00000809
UserLocale=00000809
InputLocale=0809:00000809
[sysprepMassStorage]
PCI\VEN_8086&DEV_27C4=C:\Drivers\Ref_IntelInf\ich7ide.inf
PCI\VEN_8086&DEV_2828=C:\Drivers\Ref_IntelInf\ich8ide.inf
PCI\VEN_8086&DEV_292D=C:\Drivers\Ref_IntelInf\ich9ide.inf
.
.
.
PCI\VEN_1042&DEV_1000=X:\WINDOWS\inf\mshdc.inf
PCI\VEN_10AD&DEV_0150=X:\WINDOWS\inf\mshdc.inf
[sysprepcleanup]
Service=SYMMPI
Service=vmscsi
Service=HpCISSm2
Service=pciide
Service=atapi
Service=intelide
Service=aliide
[sysprep]
[GuiUnattended]
OEMDuplicatorString=Microsoft SMS OS Deployment Agent
OEMSkipRegional=1
OEMSkipWelcome=1
TimeZone=10
AdminPassword=password
EncryptedAdminPassword=Yes
[identification]
JoinDomain=Domain
DomainAdmin=Domain\User
DomainAdminPassword="password"
MachineObjectOU="OU=MyOU,DC=Domain,DC=com"
[Networking]
InstallDefaultComponents=no
[userData]
ComputerName=Test-PC
FullName="Name."
OrgName="Org"
ProductKey=1234-1234-1234-1234
[LicenseFilePrintData]
[NetProtocols]
MS_TCPIP=params.TCPIP
[NetClients]
MS_MSClient=params.MS_MSClient
[params.MS_MSClient]
[params.TCPIP]
EnableSecurity=No
Share this post
Link to post
Share on other sites