cuthbert Posted September 7, 2010 Posted September 7, 2010 (edited) Hi fellas,For the past few months I've been trying to get a working unattend.xml file working, I tried amending copies which I found online but decided to create my own using waik and help topics after finding continuous problems.I've created the one below but have a couple of issues with it.The first issue is it prompts me asking which language I want to use, I need it set to UK English.The second problem is I need to set it to use automatic updates.The final and biggest problem is that when trying to join a domain it joins as our network name but as a workgroup. Any ideas how to fix it? I do need it to prompt me for a computer name though.To run the sysprep I use the following command:sysprep /generalize /oobe /shutdown /unattend:sysprep.xmlThe xml file is:<?xml version="1.0" encoding="utf-8"?><unattend xmlns="urn:schemas-microsoft-com:unattend"> <settings pass="specialize"> <component name="Microsoft-Windows-IE-InternetExplorer" 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"> <BlockPopups>yes</BlockPopups> <CompanyName>My Company</CompanyName> <DisableAccelerators>true</DisableAccelerators> <DisableFirstRunWizard>true</DisableFirstRunWizard> <Home_Page>www.company.com</Home_Page> <LocalIntranetSites>intranet</LocalIntranetSites> </component> <component name="Microsoft-Windows-UnattendedJoin" 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"> <Identification> <Credentials> <Domain>internal.company.com</Domain> <Username>Administrator</Username><Password>password</Password> </Credentials> <JoinDomain>internal.company.com</JoinDomain> <MachineObjectOU>OU=Computers,DC=internal,DC=company,DC=com</MachineObjectOU> </Identification> </component> </settings> <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"> <SetupUILanguage> <UILanguage>en-UK</UILanguage> </SetupUILanguage> <InputLocale>en-UK</InputLocale> <SystemLocale>en-UK</SystemLocale> <UILanguage>en-UK</UILanguage> <UILanguageFallback>en-UK</UILanguageFallback> <UserLocale>en-UK</UserLocale> </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> <WillShowUI>OnError</WillShowUI> <Key>xxxxx-xxxxx-xxxxx-xxxxx-xxxxx</Key> </ProductKey> <AcceptEula>true</AcceptEula> <FullName>Authorsied User</FullName> <Organization>The company Group</Organization> </UserData> </component> </settings> <cpi:offlineImage cpi:source="catalog:d:/sources/install_windows 7 enterprise.clg" xmlns:cpi="urn:schemas-microsoft-com:cpi" /></unattend> Edited September 7, 2010 by Tripredacus removed FULL product key
Tripredacus Posted September 7, 2010 Posted September 7, 2010 For Windows Updates, look up ProtectYourPC object in OOBE. Even though you have 4 or 5 actual choices in the OS, there are only 3 in unattend. You probably are going to use 1 or 2. Option 3 disables Updates.It is hard for us to make use of an unattend file pasted into a post. Make sure to attach it as a file and DO NOT put any of your product key in there. Use all X like I changed it to, or use one of the public/non-activating keys.
cuthbert Posted September 8, 2010 Author Posted September 8, 2010 Sorry was being a bit lazy with the licence key. I've attached the file now.unattendwithnoinfo.xml
Tripredacus Posted September 10, 2010 Posted September 10, 2010 Also, there are two places you can put the locale info in, WinPE and also OOBE. That is because there are 2 places it can prompt you for locale, at the beginning of Windows Setup and then during OOBE. So try putting this in there: <settings pass="oobeSystem"> <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"> <InputLocale>0409:00000409</InputLocale> <SystemLocale>en-us</SystemLocale> <UILanguage>en-us</UILanguage> <UserLocale>en-us</UserLocale> </component> </settings>Obviously this is for US English, so change it appropriately. Also make sure not to copy the settings nodes, just put that in there for reference.
cuthbert Posted September 13, 2010 Author Posted September 13, 2010 Cheers fella, that worked, just the domain join to solve now.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now