Jump to content

My unattend file


Recommended Posts

I have a full working unattend file that is activated to run wds in unattended mode.

Now I want several images to choose during the installation and this solution doesn't work then because I have pointed out the imagename in the unattend file etc.

I tried to cut and paste the windowsPE part to a new file and added the unattend file to the image in WDS but I got prompted with disk and language settings during the installation...

Any ideas? In wich order do the components run during the windows 7 installation?

Here is my unattend file that I use from the beginning;

<?xml version="1.0" encoding="utf-8"?><unattend xmlns="urn:schemas-microsoft-com:unattend">    <settings pass="windowsPE">        <component name="Microsoft-Windows-International-Core-WinPE" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" processorArchitecture="x86">            <SetupUILanguage>                <UILanguage>en-US</UILanguage>            </SetupUILanguage>            <InputLocale>041d:0000041d</InputLocale>            <SystemLocale>sv-SE</SystemLocale>            <UILanguage>en-US</UILanguage>            <UILanguageFallback>en-US</UILanguageFallback>            <UserLocale>sv-SE</UserLocale>        </component>        <component name="Microsoft-Windows-Setup" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" processorArchitecture="x86">            <WindowsDeploymentServices>                <Login>                    <WillShowUI>Never</WillShowUI>                    <Credentials>                        <Username>Administrator</Username>                        <Domain>domain.local</Domain>                        <Password>password</Password>                    </Credentials>                </Login>                <ImageSelection>                    <InstallImage>                        <ImageName>win7</ImageName>                        <ImageGroup>win7</ImageGroup>                        <Filename>win7std.wim</Filename>                    </InstallImage>                    <WillShowUI>Never</WillShowUI>                    <InstallTo>                        <DiskID>0</DiskID>                        <PartitionID>1</PartitionID>                    </InstallTo>                </ImageSelection>            </WindowsDeploymentServices>            <DiskConfiguration>                <WillShowUI>Never</WillShowUI>                <Disk>                    <CreatePartitions>                        <CreatePartition>                            <Order>1</Order>                            <Type>Primary</Type>                            <Extend>true</Extend>                        </CreatePartition>                    </CreatePartitions>                    <DiskID>0</DiskID>                    <WillWipeDisk>true</WillWipeDisk>                    <ModifyPartitions>                        <ModifyPartition>                            <Active>true</Active>                            <Format>NTFS</Format>                            <Label>SYSTEM</Label>                            <Letter>C</Letter>                            <PartitionID>1</PartitionID>                            <Order>1</Order>                        </ModifyPartition>                    </ModifyPartitions>                </Disk>            </DiskConfiguration>        </component>    </settings>    <settings pass="specialize">        <component name="Microsoft-Windows-UnattendedJoin" 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">            <Identification>                <UnsecureJoin>True</UnsecureJoin>                <JoinDomain>domain.local</JoinDomain>                <Credentials>                    <Domain>domain.local</Domain>                    <Password>password</Password>                    <Username>Administrator</Username>                </Credentials>                <MachineObjectOU>Computers</MachineObjectOU>            </Identification>        </component>        <component name="Microsoft-Windows-Shell-Setup" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" processorArchitecture="x86">            <BluetoothTaskbarIconEnabled>false</BluetoothTaskbarIconEnabled>            <DisableAutoDaylightTimeSet>true</DisableAutoDaylightTimeSet>            <RegisteredOrganization>International Data Group</RegisteredOrganization>            <RegisteredOwner>IT</RegisteredOwner>            <ShowWindowsLive>false</ShowWindowsLive>            <DoNotCleanTaskBar>true</DoNotCleanTaskBar>            <TimeZone>W. Europe Standard Time</TimeZone>            <CopyProfile>true</CopyProfile>        </component>        <component name="Microsoft-Windows-TerminalServices-RDP-WinStationExtensions" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" processorArchitecture="x86">            <SecurityLayer>2</SecurityLayer>            <UserAuthentication>2</UserAuthentication>        </component>        <component name="Microsoft-Windows-TerminalServices-LocalSessionManager" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" processorArchitecture="x86">            <fDenyTSConnections>false</fDenyTSConnections>        </component>        <component name="Microsoft-Windows-Deployment" 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">            <RunSynchronous>                <RunSynchronousCommand wcm:action="add">                    <Credentials>                        <Domain>domain.local</Domain>                        <Password>password</Password>                        <Username>Administrator</Username>                    </Credentials>                    <Path>net use administrator /active:yes</Path>                    <Order>1</Order>                    <Description>adminkonto active</Description>                </RunSynchronousCommand>            </RunSynchronous>        </component>    </settings>    <settings pass="oobeSystem">        <component name="Microsoft-Windows-Shell-Setup" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" processorArchitecture="x86">            <UserAccounts>                <LocalAccounts>                    <LocalAccount>                        <Password>                            <Value>SwBhAG4AIABpAG4AdABlACAAcwBvAHYAYQAhAFAAYQBzAHMAdwBvAHIAZAA=</Value>                            <PlainText>false</PlainText>                        </Password>                        <Description>IT admin account</Description>                        <DisplayName>user</DisplayName>                        <Group>Administrators;Power Users</Group>                        <Name>user</Name>                    </LocalAccount>                </LocalAccounts>                <DomainAccounts>                    <DomainAccountList>                        <DomainAccount>                            <Name>Administrator</Name>                            <Group>Administrators;Power Users</Group>                        </DomainAccount>                        <Domain>domain.local</Domain>                    </DomainAccountList>                </DomainAccounts>            </UserAccounts>        </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">            <InputLocale>041d:0000041d</InputLocale>            <SystemLocale>sv-SE</SystemLocale>            <UILanguage>en-US</UILanguage>            <UILanguageFallback>en-US</UILanguageFallback>            <UserLocale>sv-SE</UserLocale>        </component>    </settings>    <settings pass="auditUser">        <component name="Microsoft-Windows-Deployment" 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">            <RunAsynchronous>                <RunAsynchronousCommand wcm:action="add">                    <Credentials>                        <Domain>idg.local</Domain>                        <Password>password</Password>                        <Username>Administrator</Username>                    </Credentials>                    <Path>wscript \\dc\scripts\win7\CloseWim.vbs</Path>                    <Order>1</Order>                    <Description>set network location</Description>                </RunAsynchronousCommand>                <RunAsynchronousCommand wcm:action="add">                    <Credentials>                        <Domain>domain.local</Domain>                        <Password>password</Password>                        <Username>Administrator</Username>                    </Credentials>                    <Description>test</Description>                    <Order>2</Order>                    <Path>\\dc\scripts\win7\test.cmd</Path>                </RunAsynchronousCommand>            </RunAsynchronous>        </component>    </settings>    <cpi:offlineImage cpi:source="catalog:c:/kb3aik_en/sources/install_windows 7 professional.clg" xmlns:cpi="urn:schemas-microsoft-com:cpi" /></unattend>
Link to comment
Share on other sites


Hey there, I m sorry i dont have a solution for you. However i do have a questions for you which is where did you put the unattended.xml file in windows 7 iso. I have a bootable windows7 iso and also a answer file but i dont know where to input the answer file. DOes it have to certain name or do i need to edit to tell the iso that to use unattended xml...please let me know. thanks

Link to comment
Share on other sites

you cannot use <settings pass="auditUser"> without auditsystem

example look at my signature where its says Sample.xml, have a 64 bit with audit included

down there

|

|

V

V

Is that the problem?

I'll check it out. I have done mine unattended file with WAIK.

Link to comment
Share on other sites

Is that the problem?

I'll check it out. I have done mine unattended file with WAIK.

WAIK it doesn't add anything unless you add it, it don't know you are using 1 pass from the other. its basically stupid

Ok, but do you use your unattend file for the whole WDS or specific to one image? You maybe have just one iso?

I want to have one unattend file for the WDS boot image and one separate for each image I have on the server.

Which settings should I have for the image of these?

<settings pass="windowsPE">

<settings pass="offlineServicing">

<settings pass="generalize">

<settings pass="specialize">

<settings pass="auditSystem">

<settings pass="auditUser">

<settings pass="oobeSystem">

Link to comment
Share on other sites

Ok, but do you use your unattend file for the whole WDS or specific to one image? You maybe have just one iso?

I want to have one unattend file for the WDS boot image and one separate for each image I have on the server.

Which settings should I have for the image of these?

<settings pass="windowsPE">

<settings pass="offlineServicing">

<settings pass="generalize">

<settings pass="specialize">

<settings pass="auditSystem">

<settings pass="auditUser">

<settings pass="oobeSystem">

I don't do WDS perhaps someone else can answer that

I just noticed you was missing auditSystem

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...