Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account



Photo

Unable to autounattend Server 2012 RC


  • Please log in to reply
4 replies to this topic

#1
Rapzid

Rapzid
  • Member
  • 3 posts
  • Joined 29-August 12
  • OS:none specified
  • Country: Country Flag
I seem to be unable to get an unattended install off the ground with the Server 2012 RC. It pops up the windows to select the image but says "No images are availabe". Which is bull, because I can do a manual install just fine and further back in setupact.log it reports it found 4 sub images. Here is my XML:

<?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="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>
            <UserLocale>en-US</UserLocale>
        </component>
        <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">
                            <Size>100</Size>
                            <Order>1</Order>
                            <Type>Primary</Type>
                        </CreatePartition>
                        <CreatePartition wcm:action="add">
                            <Order>2</Order>
                            <Type>Primary</Type>
                            <Extend>true</Extend>
                        </CreatePartition>
                    </CreatePartitions>
                    <ModifyPartitions>
                        <ModifyPartition wcm:action="add">
                            <Active>true</Active>
                            <Format>NTFS</Format>
                            <Label>Boot</Label>
                            <Order>1</Order>
                            <PartitionID>1</PartitionID>
                        </ModifyPartition>
                        <ModifyPartition wcm:action="add">
                            <Format>NTFS</Format>
                            <Label>System</Label>
                            <PartitionID>2</PartitionID>
                            <Order>2</Order>
                        </ModifyPartition>
                    </ModifyPartitions>
                    <DiskID>0</DiskID>
                    <WillWipeDisk>true</WillWipeDisk>
                </Disk>
            </DiskConfiguration>
            <ImageInstall>
                <OSImage>
                    <InstallFrom>
                        <MetaData wcm:action="add">
                            <Key>/IMAGE/NAME</Key>
                            <Value>Windows Server 8 Beta SERVERSTANDARD</Value>
                        </MetaData>
                    </InstallFrom>
                    <InstallTo>
                        <DiskID>0</DiskID>
                        <PartitionID>2</PartitionID>
                    </InstallTo>
                    <WillShowUI>OnError</WillShowUI>
                    <InstallToAvailablePartition>false</InstallToAvailablePartition>
                </OSImage>
            </ImageInstall>
            <UserData>
                <ProductKey>
                    <WillShowUI>OnError</WillShowUI>
                    <Key>M4YNK-GV7CR-GPDCP-4KKJX-2YPP2</Key>
                </ProductKey>
                <FullName>--</FullName>
                <Organization>--</Organization>
                <AcceptEula>true</AcceptEula>
            </UserData>
        </component>
    </settings>
    <settings pass="specialize">
        <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">
            <ProductKey>M4YNK-GV7CR-GPDCP-4KKJX-2YPP2</ProductKey>
            <ComputerName>Server2012</ComputerName>
            <RegisteredOrganization>--</RegisteredOrganization>
            <TimeZone>New Zealand Standard Time</TimeZone>
        </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>
                <LogonCount>2</LogonCount>
                <Username>administrator</Username>
            </AutoLogon>
            <UserAccounts>
                <AdministratorPassword>
                    <Value></Value>
                    <PlainText>false</PlainText>
                </AdministratorPassword>
            </UserAccounts>
            <RegisteredOwner>--</RegisteredOwner>
            <RegisteredOrganization>--</RegisteredOrganization>
        </component>
    </settings>
    <cpi:offlineImage cpi:source="wim:e:/windows2012_dist/sources/install.wim#Windows Server 8 Beta SERVERSTANDARD" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>

I'm using '/IMAGE/NAME' here, but I've also tried '/IMAGE/INDEX' do no avail. I've got the autounattend.xml on separate removable media, but have also tried packing it in the ISO with the same results:/ Using same process with Server 2008 no problems. Anyone having this issue?


How to remove advertisement from MSFN

#2
Tripredacus

Tripredacus

    K-Mart-ian Legend

  • Super Moderator
  • 9,959 posts
  • Joined 28-April 06
  • OS:Server 2012
  • Country: Country Flag

Donator

I'm using '/IMAGE/NAME' here, but I've also tried '/IMAGE/INDEX' do no avail.


Don't use it. If you are specifying the Install Key (which you are in the UserData object), then you don't need to use the InstallFrom object.
MSFN RULES | GimageX HTA for PE 3-5 | lol probloms
tpxmsfn1_zps393339c1.jpg

#3
Rapzid

Rapzid
  • Member
  • 3 posts
  • Joined 29-August 12
  • OS:none specified
  • Country: Country Flag
I have removed the InstallFrom block and it still pops up the window saying there are no images available..

Edited by Rapzid, 29 August 2012 - 05:00 PM.


#4
Rapzid

Rapzid
  • Member
  • 3 posts
  • Joined 29-August 12
  • OS:none specified
  • Country: Country Flag
Figured it out. I was using the Essentials key and not the Standard key. There was probably a clue in setupact.log as it constrains the image search and finds nothing. Thanks for your reply because it made me aware that Windows could actually choose the image based on the key itself:)

#5
Tripredacus

Tripredacus

    K-Mart-ian Legend

  • Super Moderator
  • 9,959 posts
  • Joined 28-April 06
  • OS:Server 2012
  • Country: Country Flag

Donator

Yep! Its been that way since Vista at least. Makes creating answer files a whole lot easier!

:thumbup
MSFN RULES | GimageX HTA for PE 3-5 | lol probloms
tpxmsfn1_zps393339c1.jpg




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users