Jump to content

W10 answer file


Recommended Posts


auditSystem pass would never be processed, so it should be removed.

I have not seen Autologon used in the specialize pass. What is the reason for using it there and not in oobeSystem?

So you say it hangs... does it ever finish? I would look into the log files to see what it was working on at the time of the problem.

Link to comment
Share on other sites

In a hang situation, setuperr.log might be empty. Last entries in setupact.log or possibly the ones in Unattend_GC might be helpful.

Not sure in the case of a VM, but you would need to restart and boot into a PE somehow. Or if you can just boot your Setup DVD without the unattend file you can use its CMD/Notepad with Shift+F10.

Link to comment
Share on other sites

I have not done a ua install of W10 yet but normally I just specify the image name of the OS from the wim and add it to the image install section then value, here is example of 8 WMC that works for me.

<!--SELECT OS-->     <ImageInstall>       <OSImage>     <InstallFrom>       <MetaData wcm:action="add">       <Key>/IMAGE/NAME</Key>       <Value>Windows 8 Pro with Media Center</Value>        </MetaData>     </InstallFrom>        </OSImage>     </ImageInstall>
Edited by DosProbie
Link to comment
Share on other sites

The ImageInstall object is fine. You can do it that way, or the way MC did it. I personally use this method:

            <UserData>                <ProductKey>                    <Key>XXXXX-XXXXX-XXXXX-XXXXX-XXXXX</Key>                    <WillShowUI>OnError</WillShowUI>                </ProductKey>                <AcceptEula>true</AcceptEula>            </UserData>            <ImageInstall>                <OSImage>                    <InstallTo>                        <DiskID>0</DiskID>                        <PartitionID>1</PartitionID>                    </InstallTo>                    <WillShowUI>OnError</WillShowUI>                </OSImage>            </ImageInstall>
Regarding host OS... I can honestly say that I have rarely even used WSIM since Vista days. I make all my XMLs in Notepad based off a saved one for something else.

My editing PC currently runs Server 2008 R2 and has 2 different Kits installed: Windows 7 OPK and Windows 8.1 ADK. I then have DISM10 in another folder that I can add drivers or updates using the Windows 8.1 Tools cmd.

Link to comment
Share on other sites

  • 4 weeks later...

Update
Have reworked my xml appears previous "specialize pass" settings not operating with W10!
If I remove those passes it works.

Any recommendations are appreciated.

 

 

<?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">
            <DiskConfiguration>
                <Disk wcm:action="add">
                    <CreatePartitions>
                        <CreatePartition wcm:action="add">
                            <Order>1</Order>
                            <Type>Primary</Type>
                            <Extend>true</Extend>
                        </CreatePartition>
                    </CreatePartitions>
                    <ModifyPartitions>
                        <ModifyPartition wcm:action="add">
                            <Active>true</Active>
                            <Format>NTFS</Format>
                            <Label>Ten</Label>
                            <Letter>C</Letter>
                            <Order>1</Order>
                            <PartitionID>1</PartitionID>
                        </ModifyPartition>
                    </ModifyPartitions>
                    <DiskID>0</DiskID>
                    <WillWipeDisk>true</WillWipeDisk>
                </Disk>
                <WillShowUI>OnError</WillShowUI>
            </DiskConfiguration>
            <DynamicUpdate>
                <Enable>false</Enable>
            </DynamicUpdate>
            <UserData>
                <AcceptEula>true</AcceptEula>
                <FullName>MC</FullName>
                <Organization>MCs</Organization>
                <ProductKey>
                    <WillShowUI>Never</WillShowUI>
                    <Key></Key>
                </ProductKey>
            </UserData>
            <EnableFirewall>true</EnableFirewall>
            <EnableNetwork>true</EnableNetwork>
            <ComplianceCheck>
                <DisplayReport>Never</DisplayReport>
            </ComplianceCheck>
            <ImageInstall>
                <OSImage>
                    <InstallFrom>
                        <MetaData wcm:action="add">
                            <Key>/IMAGE/Index</Key>
                            <Value>1</Value>
                        </MetaData>
                    </InstallFrom>
                    <InstallToAvailablePartition>false</InstallToAvailablePartition>
                    <InstallTo>
                        <DiskID>0</DiskID>
                        <PartitionID>1</PartitionID>
                    </InstallTo>
                </OSImage>
            </ImageInstall>
            <UseConfigurationSet>false</UseConfigurationSet>
        </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>0409:00000409</InputLocale>
            <SystemLocale>en-AU</SystemLocale>
            <UILanguage>en-US</UILanguage>
            <UserLocale>en-AU</UserLocale>
            <UILanguageFallback>en-US</UILanguageFallback>
        </component>
</settings>
<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-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>0c09:00000409</InputLocale>
<SystemLocale>en-AU</SystemLocale>
<UILanguage>en-AU</UILanguage>
<UILanguageFallback>en-AU</UILanguageFallback>
<UserLocale>en-AU</UserLocale>
</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-SQMApi" 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">
<CEIPEnabled>0</CEIPEnabled>
</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>MCs</ComputerName>
<ProductKey></ProductKey>
</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>
<Value>************</Value>
<PlainText>false</PlainText>
</Password>
<Enabled>true</Enabled>
<Username>MC</Username>
</AutoLogon>
<OOBE>
<HideEULAPage>true</HideEULAPage>
<HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
<HideOnlineAccountScreens>true</HideOnlineAccountScreens>
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
<NetworkLocation>Work</NetworkLocation>
<SkipUserOOBE>true</SkipUserOOBE>
<SkipMachineOOBE>true</SkipMachineOOBE>
</OOBE>
<UserAccounts>
<LocalAccounts>
<LocalAccount wcm:action="add">
<Password>
<Value>***************</Value>
<PlainText>true</PlainText>
</Password>
<Description></Description>
<DisplayName>MC</DisplayName>
<Group>Administrators</Group>
<Name>MC</Name>
</LocalAccount>
</LocalAccounts>
</UserAccounts>
<RegisteredOrganization>MCs</RegisteredOrganization>
<RegisteredOwner>MC</RegisteredOwner>
<DisableAutoDaylightTimeSet>false</DisableAutoDaylightTimeSet>
<FirstLogonCommands>
<SynchronousCommand wcm:action="add">
<Description>Control Panel View</Description>
<Order>1</Order>
<CommandLine>reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel" /v StartupPage /t REG_DWORD /d 1 /f</CommandLine>
<RequiresUserInput>true</RequiresUserInput>
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<Order>2</Order>
<Description>Control Panel Icon Size</Description>
<RequiresUserInput>false</RequiresUserInput>
<CommandLine>reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel" /v AllItemsIconView /t REG_DWORD /d 1 /f</CommandLine>
</SynchronousCommand>
</FirstLogonCommands>
<TimeZone>AUS Eastern Standard Time</TimeZone>
</component>
</settings>
</unattend>

Edited by MAVERICKS CHOICE
Link to comment
Share on other sites

i tried so many things but there is a problem i cant get solution perfectly i just pushing my autounattend.xml to my wim file but i need my setup to be silent i dont want to use any external devices while doing installation so what should i do now can i paste the autounattend.xml on iso root folder ?

Link to comment
Share on other sites

Did you try having WSIM validate against your install.wim? Maybe a setting has changed.

 

Hi Trip

Having difficulties validating with my wim image. As WSIM refuses to open any of my wim's. Can open my xml's for basic checking though errors when trying to associate with them. 

Link to comment
Share on other sites

Ok. I do not yet have the new WSIM installed and have not done any XML for a deployment like that yet, so I can't test right now.

Is the behaviour different from before? Before you had a hang issue, is it still this way or is it that Specialize is ignored? I have read some posts where people complain that ComputerName isn't being applied... but also wonder about your source. Are you trying to use the ISO from the Media Creation Tool?

Link to comment
Share on other sites

there is no error with while validating with WSIM but i dont want to keep my work visible to everyone so i am testing 

and is there any problem of having one autounattend.xml on cd root and another autounattend.xml integrated on wim file  ?

 

if it works i can only keep the setup setting in cd root and save all the other setting in wim file

Edited by kmaheshkumar
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...