csward Posted June 2, 2011 Posted June 2, 2011 (edited) Hi guys, I'm still a little new to this aik stuff. I did create an answer file for a windows 7 aik "custom" install so I can install Unattended. My question is how do you make the answer file WITHOUT wiping out everything you try and automate? I tried to add to the favorites bar and so on and nothing keeps. Thanks Edited June 2, 2011 by csward
csward Posted June 2, 2011 Author Posted June 2, 2011 if this helps:<?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" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <ComplianceCheck> <DisplayReport>OnError</DisplayReport> </ComplianceCheck> <Diagnostics /> <DiskConfiguration> <Disk wcm:action="add"> <CreatePartitions> <CreatePartition wcm:action="add"> <Extend>true</Extend> <Order>2</Order> <Type>Primary</Type> </CreatePartition> <CreatePartition wcm:action="add"> <Type>Primary</Type> <Size>300</Size> <Order>1</Order> </CreatePartition> </CreatePartitions> <ModifyPartitions> <ModifyPartition wcm:action="add"> <Active>false</Active> <Format>NTFS</Format> <Label>Windows</Label> <Letter>C</Letter> <Order>2</Order> <PartitionID>2</PartitionID> </ModifyPartition> <ModifyPartition wcm:action="add"> <Active>true</Active> <Format>NTFS</Format> <Label>System</Label> <Order>1</Order> <PartitionID>1</PartitionID> </ModifyPartition> </ModifyPartitions> <DiskID>0</DiskID> <WillWipeDisk>true</WillWipeDisk> </Disk> <WillShowUI>OnError</WillShowUI> </DiskConfiguration> <Display /> <DynamicUpdate /> <ImageInstall> <OSImage> <InstallFrom> <Credentials /> </InstallFrom> <InstallTo> <DiskID>0</DiskID> <PartitionID>2</PartitionID> </InstallTo> <WillShowUI>OnError</WillShowUI> <InstallToAvailablePartition>false</InstallToAvailablePartition> </OSImage> </ImageInstall> <PageFile /> <RunAsynchronous /> <RunSynchronous /> <UpgradeData /> <UserData> <ProductKey /> <AcceptEula>true</AcceptEula> <FullName></FullName> <Organization>XioCorp</Organization> </UserData> <WindowsDeploymentServices> <Login> <Credentials /> </Login> <ImageSelection> <InstallImage /> <InstallTo /> </ImageSelection> </WindowsDeploymentServices> </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>en-us</InputLocale> <SystemLocale>en-us</SystemLocale> <UILanguage>en-us</UILanguage> <UILanguageFallback>en-us</UILanguageFallback> <UserLocale>en-us</UserLocale> </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" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <AutoLogon> <Password /> </AutoLogon> <ClientApplications /> <Display /> <FirstLogonCommands /> <FolderLocations /> <LogonCommands></LogonCommands> <OEMInformation /> <OEMWelcomeCenter /> <OEMWelcomeCenterLinks /> <OOBE> <HideEULAPage>true</HideEULAPage> <NetworkLocation>Work</NetworkLocation> <SkipMachineOOBE>false</SkipMachineOOBE> <SkipUserOOBE>false</SkipUserOOBE> </OOBE> <StartPanelLinks /> <TaskbarLinks /> <Themes /> <UserAccounts> <AdministratorPassword> <Value>eAAxADAAdABlAGMAaAAhACEAQQBkAG0AaQBuAGkAcwB0AHIAYQB0AG8AcgBQAGEAcwBzAHcAbwByAGQA</Value> <PlainText>false</PlainText> </AdministratorPassword> <LocalAccounts> <LocalAccount wcm:action="add"> <Password /> <DisplayName>New</DisplayName> <Name>New</Name> <Group>Administrator</Group> <Description>New User</Description> </LocalAccount> </LocalAccounts> <DomainAccounts /> </UserAccounts> <VisualEffects /> <WindowsFeatures /> <TimeZone>Mountain Standard Time</TimeZone> <RegisteredOrganization>XioCorp</RegisteredOrganization> </component> </settings> <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"> <Accelerators /> <FavoriteBarItems> <FavoriteBarItem wcm:action="add"> <ItemUrl>https://xiotech.xiotech.com/Xiotech/loader.aspx</ItemUrl> <ItemType>Headline</ItemType> <ItemKey>1</ItemKey> <ItemName>External CRM Access</ItemName> </FavoriteBarItem> <FavoriteBarItem wcm:action="add"> <ItemUrl>http://crm.xiotech.com/Xiotech/loader.aspx</ItemUrl> <ItemType>Headline</ItemType> <ItemKey>2</ItemKey> <ItemName>Internal CRM Access</ItemName> </FavoriteBarItem> <FavoriteBarItem wcm:action="add"> <ItemUrl>https://portal.xiotech.com/departments/it/pages/default.aspx</ItemUrl> <ItemType>Headline</ItemType> <ItemKey>3</ItemKey> <ItemName>IT SharePoint Site</ItemName> </FavoriteBarItem> <FavoriteBarItem wcm:action="add"> <ItemUrl>https://portal.xiotech.com/Pages/default.aspx</ItemUrl> <ItemType>Headline</ItemType> <ItemKey>4</ItemKey> <ItemName>Main Employee Portal</ItemName> </FavoriteBarItem> <FavoriteBarItem wcm:action="add"> <ItemUrl>https://owa.xiotech.com/exchweb/bin/auth/owalogon.asp?url=https://owa.xiotech.com/exchange&reason=0</ItemUrl> <ItemType>Headline</ItemType> <ItemName>Outlook Web Access</ItemName> <ItemKey>5</ItemKey> </FavoriteBarItem> <FavoriteBarItem wcm:action="add"> <ItemUrl>http://partner.xiotech.com/Login.aspx?ReturnUrl=%2fIndex.aspx</ItemUrl> <ItemType>Headline</ItemType> <ItemName>Partner Portal</ItemName> <ItemKey>6</ItemKey> </FavoriteBarItem> <FavoriteBarItem wcm:action="add"> <ItemUrl>https://xone.xiotech.com/Pages/Default.aspx</ItemUrl> <ItemType>Headline</ItemType> <ItemName>Support Xone</ItemName> <ItemKey>7</ItemKey> </FavoriteBarItem> </FavoriteBarItems> <FavoritesList /> <FeedList /> <InstalledBHOList /> <InstalledBrowserExtensions></InstalledBrowserExtensions> <InstalledToolbarsList /> <PreApprovedAddons /> <QuickLinkList /> <SearchScopes></SearchScopes> <StartPages> <StartPage wcm:action="add"> <StartPageUrl>www.xiotech.com</StartPageUrl> </StartPage> </StartPages> </component> </settings> <cpi:offlineImage cpi:source="wim:g:/sources/install.wim#windows 7" xmlns:cpi="urn:schemas-microsoft-com:cpi" /></unattend>
Tripredacus Posted June 3, 2011 Posted June 3, 2011 Make sure that you are not applying your settings in an Unattend that is set its Reseal setting to Audit. If so, all those customizations end up being applied to the Administrator account only! Once you sysprep, those settings "seem" to disappear, since the account you create and log in with doesn't have them. If you were to enable the Administrator account and log in with it, you will see those settings. So what needs to be done is those settings must only be applied during OOBE, or use registry keys to set those settings to the Default or All Users accounts.
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