Unattend passes not running
#1
Posted 28 March 2012 - 12:59 PM
I don't fully understand sysprep or the unattend process, so that doesn't help. I've Googled it just trying to get a grip on the whole thing so I could understand it better, but no go yet. Basically I want this image process to push the image, push drivers (which works fine)...I want it to autoactivate via our MAK and I want it to pull a computer name variable (based on the HIIS scripts...which I'm MORE than happy to share). My guess is that I'm either using the wrong sysprep switches, or my unattend is just not right. I've tried using the HIIS integrated "Create Answer File" method, WSIM method and a website answer file generator to create the unattend, and nothing's worked thus far.
ANY input, including name calling, would be most appreciated.
Thanks
#2
Posted 28 March 2012 - 02:50 PM
#3
Posted 29 March 2012 - 08:33 AM
<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<settings pass="generalize">
<component name="Microsoft-Windows-Security-SPP" 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">
<SkipRearm>1</SkipRearm>
</component>
</settings>
<settings pass="specialize">
<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">
<Order>1</Order>
<Path>net user administrator /active:yes</Path>
</RunSynchronousCommand>
</RunSynchronous>
</component>
<component name="Microsoft-Windows-Security-SPP-UX" 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">
<SkipAutoActivation>true</SkipAutoActivation>
</component>
<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">
<ComputerName>*</ComputerName>
<CopyProfile>true</CopyProfile>
<ShowWindowsLive>false</ShowWindowsLive>
<TimeZone>Eastern Standard Time</TimeZone>
</component>
</settings>
<settings pass="oobeSystem">
<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>en-us</InputLocale>
<SystemLocale>en-us</SystemLocale>
<UILanguage>en-us</UILanguage>
<UserLocale>en-us</UserLocale>
</component>
<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">
<AutoLogon>
<Password>
<Value>DELETED</Value>
<PlainText>false</PlainText>
</Password>
<Enabled>true</Enabled>
<LogonCount>5</LogonCount>
<Username>administrator</Username>
</AutoLogon>
<FirstLogonCommands>
<SynchronousCommand wcm:action="add">
<CommandLine>cscript //b c:\windows\system32\slmgr.vbs /ipk KEY WIPED</CommandLine>
<Order>1</Order>
<RequiresUserInput>false</RequiresUserInput>
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<CommandLine>cscript //b c:\windows\system32\slmgr.vbs /ato</CommandLine>
<Order>2</Order>
<RequiresUserInput>false</RequiresUserInput>
</SynchronousCommand>
</FirstLogonCommands>
<OOBE>
<HideEULAPage>true</HideEULAPage>
<NetworkLocation>Work</NetworkLocation>
<ProtectYourPC>1</ProtectYourPC>
</OOBE>
<UserAccounts>
<AdministratorPassword>
<Value>DELETED</Value>
<PlainText>false</PlainText>
</AdministratorPassword>
<LocalAccounts>
<LocalAccount wcm:action="add">
<Password>
<Value>DELETE</Value>
<PlainText>false</PlainText>
</Password>
<Description>Local Administrator</Description>
<DisplayName>Administrator</DisplayName>
<Group>Administrators</Group>
<Name>Administrator</Name>
</LocalAccount>
</LocalAccounts>
</UserAccounts>
<RegisteredOrganization>SAU17</RegisteredOrganization>
<RegisteredOwner>SRSD</RegisteredOwner>
</component>
</settings>
<settings pass="auditSystem">
<component xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
<AutoLogon>
<Password>
<PlainText>true</PlainText>
<Value>DELETED</Value>
</Password>
<Username>Administrator</Username>
<LogonCount>1</LogonCount>
<Enabled>true</Enabled>
</AutoLogon>
</component>
</settings>
<settings pass="auditUser">
<component xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
<Reseal>
<ForceShutdownNow>false</ForceShutdownNow>
<Mode>OOBE</Mode>
</Reseal>
</component>
</settings>
<cpi:offlineImage cpi:source="catalog://sanborn/software/microsoft/windows 7/win7 x64/sources/install_windows 7 professional.clg" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>
Thanks for your time and assistance
This post has been edited by Tripredacus: 30 March 2012 - 08:26 AM
#4
Posted 30 March 2012 - 08:30 AM
#5
Posted 30 March 2012 - 09:22 AM
Thanks
#6
Posted 31 March 2012 - 08:15 AM
Then using <component name="Microsoft-Windows-Shell-Setup" during specialize and oobeSystem you can add this
<TimeZone>Central Standard Time</TimeZone>
Might want to read unattend.chm for Reseal most would use this going to Audit <Mode>Audit</Mode>
This post has been edited by maxXPsoft: 31 March 2012 - 08:32 AM
#8
Posted 31 March 2012 - 07:31 PM
First things first, is to see what a WSIM validation of that answer file says.
#9
Posted 02 April 2012 - 07:19 AM
#10
Posted 02 April 2012 - 12:05 PM
#11
Posted 03 April 2012 - 04:05 AM
You mean you are not trying to go to Audit? If not you should remove them passes completely
#12
Posted 03 April 2012 - 06:09 AM
#13
Posted 03 April 2012 - 07:46 PM
Bond1973, on 03 April 2012 - 06:09 AM, said:
Just a quick glance at this answer file makes me think it is used while the OS is in Audit Mode. Otherwise, a Reseal to OOBE isn't necessary, as a Windows 7 image (from install source) will boot to OOBE on its own.
#14
Posted 04 April 2012 - 10:18 AM
#15
Posted 05 April 2012 - 07:17 PM
Bond1973, on 04 April 2012 - 10:18 AM, said:
Audit mode allows you to install all your programs and stuff and then boot into OOBE for finalize. Most can simply remove them passes and go straight to OOBE and install stuff there. Generally OEM (HP, Dell) use Audit mode then shut it down and customer gets the Welcome stuff
#16
Posted 24 April 2012 - 06:37 AM
- ← Setup resolution not working :(
- Unattended Windows 7/Server 2008R2
- How can i create a fully up to date Win 7 DVD? →



Help
Back to top









