Using MDT 2013/8.1 ADK on Win2012 R2 x64. I am trying to build a reference Windows 7 SP1 Enterprise x64 image in a VM with updates/office and then capturing that as a WIM and importing it back to my DS so I can run it through another TS on a VM that adds
frequently updated software programs, injects drivers, and other customization and capturing that WIM to deploy to hardware manually with a WinPE usb stick. After creating the partitions in diskpart and applying the 2nd captured WIM to the hdd it boots up
and goes through the normal setup process but the OOBE prompt is coming up. I have tried all combos of OOBE configuration phase settings in my unattend.xml. Tried with SkipUserOOBE and SkipMachineOOBE true/false and not included in the unattend.xml at all
with the same results. Rebooting the VM after capturing the WIM boots to the proper Logon prompt with no OOBE prompts, which is what I want. I've poured over my logs and put in pauses to make sure the correct unattend.xml is being used for the sysprep and
it is but no matter what I can't get the OOBE prompt to go away even after providing answers for everything.
The reason I am applying it manually back to the hardware instead of using MDT to deploy is because we are looking to FTP the WIM to a vendor so they can preload our equipment with our image so we only need to turn on the machines and join them to the domain
and login as the user and go about our business. My reference image is good it's just the 2nd part that seems to be having the issue if I am not using MDT to deploy the WIM to the hardware. Any help or a better way to do this would be much help been racking
my head over various MDT issues the last 2 weeks and eventually downgrading from MDT 2013 U1 back to MDT 2013 because of some other issues. Thinking maybe I just need to deploy the REF WIM to the VM like a normal deployment and then manually installing the
software and do a manual sysprep and capture just to get away from some of the stuff MDT does.
diskpart
select disk 0
clean
create partition primary size=499
format quick fs=ntfs label="System"
assign letter="S"
active
create partition primary
format quick fs=ntfs label="Windows"
assign letter="C"
exit
imagex /apply N:\WIN7X64ENTDVD_2015_10.wim 1 C:\
bootsect /nt60 C:
bcdboot C:\Windows /l en-US /s S:
bcdedit.exe /Store "S:\boot\bcd" /timeout 0
[Settings]
Priority=TaskSequenceID, Default
Properties=MyCustomProperty
[W7-X64-001]
SkipCapture=NO
_SMSTSOrgName=Vendor Capture %Computername%
UserDataLocation=NONE
JoinWorkgroup=WORKGROUP
TimeZoneName=Pacific Standard Time
FinishAction=SHUTDOWN
ApplyGPOPack=NO
DoCapture=YES
SkipUserData=YES
SkipComputerName=YES
SkipDomainMembership=YES
SkipLocaleSelection=YES
SkipTimeZone=YES
SkipSummary=YES
SkipComputerBackup=YES
[Default]
OSInstall=Y
SLShare=%DeployRoot%\Logs\#"%ComputerName%-logs-" & replace(date,"/","") & "-" & replace(time,":","-")#
SLShareDynamicLogging=%DeployRoot%\Logs\#"%ComputerName%-logs-" & replace(date,"/","") & "-" & replace(time,":","-")#
ComputerBackupLocation=NETWORK
BackupShare=\\MDTSVR\DEPLOY$
BackupDir=Captures
BackupFile=%TaskSequenceID%_#year(date) & "_" & day(date) & "_" & month(date) & "_" & replace(time,":","_")#.wim
SkipAdminPassword=YES
SkipProductKey=YES
SkipBitLocker=YES
SkipApplications=YES
SkipFinalSummary=NO
SkipTaskSequence=NO
DomainOUs1=OU1
DomainOUs2=OU2
JoinDomain=SOMEDOMAIN
DomainAdmin=
DomainAdminDomain=TEST
DomainAdminPassword=
BitsPerPel=32
VRefresh=60
XResolution=1
YResolution=1
EventService=http://WDSSVR:9800
<?xml version="1.0" encoding="utf-8"?><unattend xmlns="urn:schemas-microsoft-com:unattend"><settings pass="windowsPE"><component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"><ImageInstall><OSImage><WillShowUI>OnError</WillShowUI><InstallTo><DiskID>0</DiskID><PartitionID>1</PartitionID></InstallTo><InstallFrom><Path>.\Operating Systems\WIN7X64ENTDVD_REF\WIN7X64ENTDVD_REF.wim</Path><MetaData><Key>/IMAGE/INDEX</Key><Value>1</Value></MetaData></InstallFrom></OSImage></ImageInstall><Display><ColorDepth>16</ColorDepth><HorizontalResolution>1024</HorizontalResolution><RefreshRate>60</RefreshRate><VerticalResolution>768</VerticalResolution></Display><ComplianceCheck><DisplayReport>OnError</DisplayReport></ComplianceCheck><UserData><AcceptEula>true</AcceptEula><ProductKey><Key>33PXH-7Y6KF-2VJC9-XBBR8-HVTHH</Key></ProductKey></UserData></component><component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><SetupUILanguage><UILanguage>en-US</UILanguage></SetupUILanguage><InputLocale>0409:00000409</InputLocale><SystemLocale>en-US</SystemLocale><UILanguage>en-US</UILanguage><UserLocale>en-US</UserLocale></component></settings><settings pass="generalize"><component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><DoNotCleanTaskBar>true</DoNotCleanTaskBar></component></settings><settings pass="specialize"><component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"><ComputerName>*</ComputerName><ProductKey>33PXH-7Y6KF-2VJC9-XBBR8-HVTHH</ProductKey><RegisteredOrganization>TEST</RegisteredOrganization><RegisteredOwner>TEST</RegisteredOwner><DoNotCleanTaskBar>true</DoNotCleanTaskBar><TimeZone>Pacific Standard Time</TimeZone><CopyProfile>true</CopyProfile></component><component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><RunSynchronous><RunSynchronousCommand wcm:action="add"><Description>EnableAdmin</Description><Order>1</Order><Path>cmd /c net user Administrator /active:yes</Path></RunSynchronousCommand><RunSynchronousCommand wcm:action="add"><Description>UnfilterAdministratorToken</Description><Order>2</Order><Path>cmd /c reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v FilterAdministratorToken /t REG_DWORD /d 0 /f</Path></RunSynchronousCommand><RunSynchronousCommand wcm:action="add"><Description>disable user account page</Description><Order>3</Order><Path>reg add HKLM\Software\Microsoft\Windows\CurrentVersion\Setup\OOBE /v UnattendCreatedUser /t REG_DWORD /d 1 /f</Path></RunSynchronousCommand></RunSynchronous></component><component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><InputLocale>0409:00000409</InputLocale><SystemLocale>en-US</SystemLocale><UILanguage>en-US</UILanguage><UserLocale>en-US</UserLocale></component><component name="Microsoft-Windows-TapiSetup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><TapiConfigured>0</TapiConfigured><TapiUnattendLocation><AreaCode>""</AreaCode><CountryOrRegion>1</CountryOrRegion><LongDistanceAccess>9</LongDistanceAccess><OutsideAccess>9</OutsideAccess><PulseOrToneDialing>1</PulseOrToneDialing><DisableCallWaiting>""</DisableCallWaiting><InternationalCarrierCode>""</InternationalCarrierCode><LongDistanceCarrierCode>""</LongDistanceCarrierCode><Name>Default</Name></TapiUnattendLocation></component><component name="Microsoft-Windows-SystemRestore-Main" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><DisableSR>0</DisableSR></component></settings><settings pass="oobeSystem"><component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"><UserAccounts><AdministratorPassword><Value>*REMOVED*</Value><PlainText>false</PlainText></AdministratorPassword><LocalAccounts><LocalAccount wcm:action="add"><Password><Value>*REMOVED*</Value><PlainText>false</PlainText></Password><DisplayName>NEWadmin</DisplayName><Group>Administrators</Group><Name>NEWadmin</Name><Description>Local Admin</Description></LocalAccount></LocalAccounts></UserAccounts><AutoLogon><Enabled>true</Enabled><Username>Administrator</Username><Domain>.</Domain><Password><Value>*REMOVED*</Value><PlainText>false</PlainText></Password><LogonCount>999</LogonCount></AutoLogon><FirstLogonCommands><SynchronousCommand wcm:action="add"><CommandLine>wscript.exe %SystemDrive%\LTIBootstrap.vbs</CommandLine><Description>Lite Touch new OS</Description><Order>1</Order></SynchronousCommand></FirstLogonCommands><OOBE><HideEULAPage>true</HideEULAPage><NetworkLocation>Work</NetworkLocation><ProtectYourPC>3</ProtectYourPC><HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE></OOBE><RegisteredOrganization>TEST</RegisteredOrganization><RegisteredOwner>TEST</RegisteredOwner><TimeZone>Pacific Standard Time</TimeZone></component><component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><InputLocale>0409:00000409</InputLocale><SystemLocale>en-US</SystemLocale><UILanguage>en-US</UILanguage><UserLocale>en-US</UserLocale></component></settings><settings pass="offlineServicing"><component name="Microsoft-Windows-PnpCustomizationsNonWinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><DriverPaths><PathAndCredentials wcm:keyValue="1" wcm:action="add"><Path>\Drivers</Path></PathAndCredentials></DriverPaths></component></settings><cpi:offlineImage cpi:source="catalog://mdtsrv01/deploy$/operating systems/win7x64entdvd_ref_bst/win7x64entdvd_win7x64entdvdcdrive.clg" xmlns:cpi="urn:schemas-microsoft-com:cpi" /></unattend>