v3jqv6mhl9bn Posted January 20, 2010 Posted January 20, 2010 (edited) Here I have a unattend file I made using 7Customizer (I use it for sysprep). It's purpose is to hide all of OOBE and log into an account I made for myself.The PC's do not have any product keys entered, and I do not want to add any (yet). All of OOBE gets skipped except for a product key entry, which I skip. Is there any way to skip this? I noticed 7Customizer added a key, and I tried adding "Dummy" key of ALL 1's, but no go.This is it, my sysprep.xml. It succeeds in skipping all but the product key entry. <?xml version="1.0" encoding="utf-8"?><unattend xmlns="urn:schemas-microsoft-com:unattend"> <settings pass="windowsPE"> <component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="NonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <SystemLocale>en-us</SystemLocale> <UserLocale>en-us</UserLocale> <UILanguage>en-US</UILanguage> <UILanguageFallback>en-us</UILanguageFallback> <InputLocale>0409:00000409</InputLocale> </component> <component name="Microsoft-Windows-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="NonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <UserData> <ProductKey> <Key>11111-11111-11111-11111-11111</Key> <WillShowUI>OnError</WillShowUI> </ProductKey> <Organization>MyORG</Organization> <FullName></FullName> <AcceptEula>true</AcceptEula> </UserData> </component> </settings> <settings pass="oobeSystem"> <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="NonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <UserAccounts> <LocalAccounts> <LocalAccount wcm:action="add"> <Name></Name> <Group>Administrators</Group> <Password> <PlainText>true</PlainText> <Value></Value> </Password> </LocalAccount> </LocalAccounts> </UserAccounts> <OOBE> <HideEULAPage>true</HideEULAPage> <NetworkLocation>Home</NetworkLocation><ProtectYourPC>3</ProtectYourPC> <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE> </OOBE> </component> <component name="Microsoft-Windows-International-Core" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="NonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <UILanguage>en-US</UILanguage> <UserLocale>en-US</UserLocale> <InputLocale>0409:00000409</InputLocale> </component> </settings> <settings pass="specialize"> <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" 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> <Enabled>true</Enabled> <Username></Username> <Password> <PlainText>true</PlainText> <Value></Value> </Password> <LogonCount>9999999</LogonCount> </AutoLogon> <TimeZone>Eastern Standard Time</TimeZone> <ComputerName>PCNAME</ComputerName> </component> </settings></unattend> Edited August 6, 2010 by CODYQX4 Quote
ricktendo Posted January 20, 2010 Posted January 20, 2010 Use the default key that windows adds when you hit skip http://www.cluberti.com/blog/2009/08/11/default-keys-for-vista-and-windows-7-deployment/You can inject each of your images with a key and you wont have to insert/add a key to your .xmldism /image:\mount\ /Set-ProductKey:D4F6K-QK3RD-TMVMJ-BBMRX-3MBMV Quote
v3jqv6mhl9bn Posted January 20, 2010 Author Posted January 20, 2010 It is an autounattend.xml basically. I'm not using a working key, I am using the key 7 Customizer adds (which is the key windows uses for 30 day trial).I think first that <WillShowUI>onerror</WillShowUI> to <WillShowUI>never</WillShowUI> might do it but,I think this key is for when Win 7 DVD asks for key, and that I need to add it underMicrosoft-Windows-Shell-Setupfor OOBE.I am not sure of the format for that though. Quote
v3jqv6mhl9bn Posted January 20, 2010 Author Posted January 20, 2010 The thing is that I am not using Windows images to deploy, but Acronis. I sysprep because I was having issues with "Acronis Universal Restore", and sysprepping solved my problem. This is just an annoyance I'm trying to solve. Quote
ricktendo Posted January 20, 2010 Posted January 20, 2010 Changing OnError to Never will not work, use a default key Quote
v3jqv6mhl9bn Posted January 20, 2010 Author Posted January 20, 2010 I am using the default key, the one 7 customizer uses matched that link.I changed it to never and added the key toMicrosoft-Windows-Shell-Setup but no luck Quote
v3jqv6mhl9bn Posted January 21, 2010 Author Posted January 21, 2010 I reimaged with the key added, then removed the product key from the sysprep.xml, that got it working. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.