Unattended 7, Preactivated and with Administrator only. Possible?

Discussion in 'Windows 7' started by donjao, Dec 24, 2012.

  1. donjao

    donjao MDL Novice

    Dec 24, 2012
    1
    0
    0
    #1 donjao, Dec 24, 2012
    Last edited by a moderator: Apr 20, 2017
    Hello.


    I've been trying to build my own unattended preactivated (by DAZ's loader) windows 7 image.
    For preactivation I used this method: (please google this full phrase "[Tutorial] How to make a Pre-activating Windows 7 DVD" since i'm not able to have links while I'm new, the site of interest is suprbay).
    For unattended install I used RT Se7en Lite along with custom answerfile made with AIK.


    So far I'm successful with automation process. However. When windows starts up for the first time it activates the administrator account and then injects the loader. After the restart desktop is totally empty (no icons, taskbar or anything, keyboard is unresponsive). Finally, after the hard reset, I'm able to logon as Administrator and all works.


    Not that i'm completely stuck, but maybe I misunderstand some principle that leads to the damn blank desktop. Would like to avoid that. And also OOBE still asks for network location confirmation.


    Thanks in advance.


    Here's my answerfile:


    Code:
    <?xml version="1.0" encoding="utf-8"?>
    <!--This answer file generated by RT Seven Lite-->
    <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="{REMOVED-URL}/WMIConfig/2002/State" xmlns:xsi="{REMOVED-URL}/2001/XMLSchema-instance">
                <SetupUILanguage>
                    <UILanguage>en-US</UILanguage>
                </SetupUILanguage>
                <InputLocale>0409:00000409</InputLocale>
                <UserLocale>en-US</UserLocale>
                <UILanguage>en-US</UILanguage>
                <SystemLocale>en-US</SystemLocale>
            </component>
            <component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="NonSxS" xmlns:wcm="{REMOVED-URL}/WMIConfig/2002/State" xmlns:xsi="{REMOVED-URL}/2001/XMLSchema-instance">
                <UserData>
                    <ProductKey>
                        <Key>-KEY-GOES-HERE-</Key>
                        <WillShowUI>OnError</WillShowUI>
                    </ProductKey>
                    <AcceptEula>true</AcceptEula>
                </UserData>
                <ImageInstall>
                    <OSImage>
                        <InstallFrom>
                            <MetaData wcm:action="add">
                                <Value>Windows 7 Ultimate</Value>
                                <Key>/IMAGE/NAME</Key>
                            </MetaData>
                        </InstallFrom>
                        <InstallTo>
                            <DiskID>0</DiskID>
                            <PartitionID>1</PartitionID>
                        </InstallTo>
                    </OSImage>
                </ImageInstall>
                <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="modify">
                                <Active>true</Active>
                                <Extend>false</Extend>
                                <Format>NTFS</Format>
                                <Label>Windows</Label>
                                <Letter>C</Letter>
                                <Order>1</Order>
                                <PartitionID>1</PartitionID>
                            </ModifyPartition>
                        </ModifyPartitions>
                        <DiskID>0</DiskID>
                        <WillWipeDisk>true</WillWipeDisk>
                    </Disk>
                    <WillShowUI>OnError</WillShowUI>
                </DiskConfiguration>
            </component>
        </settings>
        <settings pass="generalize">
            <component name="Microsoft-Windows-Security-SPP" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="{REMOVED-URL}/WMIConfig/2002/State" xmlns:xsi="{REMOVED-URL}/2001/XMLSchema-instance">
                <SkipRearm>1</SkipRearm>
            </component>
        </settings>
        <settings pass="oobeSystem">
            <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="NonSxS" xmlns:wcm="{REMOVED-URL}/WMIConfig/2002/State" xmlns:xsi="{REMOVED-URL}/2001/XMLSchema-instance">
                <UserAccounts>
                    <AdministratorPassword>
                        <Value>dABlAHIAZQB0AGUAcgBlAEEAZABtAGkAbgBpAHMAdAByAGEAdABvAHIAUABhAHMAcwB3AG8AcgBkAA==</Value>
                        <PlainText>false</PlainText>
                    </AdministratorPassword>
                </UserAccounts>
                <AutoLogon>
                    <Password>
                        <Value>dABlAHIAZQB0AGUAcgBlAFAAYQBzAHMAdwBvAHIAZAA=</Value>
                        <PlainText>false</PlainText>
                    </Password>
                    <Enabled>true</Enabled>
                    <LogonCount>999999999</LogonCount>
                    <Username>Administrator</Username>
                </AutoLogon>
                <OOBE>
                    <NetworkLocation>Home</NetworkLocation>
                    <HideEULAPage>true</HideEULAPage>
                    <ProtectYourPC>3</ProtectYourPC>
                    <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
                    <SkipMachineOOBE>true</SkipMachineOOBE>
                    <SkipUserOOBE>true</SkipUserOOBE>
                </OOBE>
                <DisableAutoDaylightTimeSet>false</DisableAutoDaylightTimeSet>
                <TimeZone>FLE Standard Time</TimeZone>
                <RegisteredOwner>Administrator</RegisteredOwner>
            </component>
        </settings>
        <settings pass="specialize">
            <component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="{REMOVED-URL}/WMIConfig/2002/State" xmlns:xsi="{REMOVED-URL}/2001/XMLSchema-instance">
                <RunSynchronous>
                    <RunSynchronousCommand wcm:action="add">
                        <Order>1</Order>
                        <Path>net user Administrator /enable:yes</Path>
                    </RunSynchronousCommand>
                    <RunSynchronousCommand wcm:action="add">
                        <Order>2</Order>
                        <Path>net user Administrator /active:yes</Path>
                    </RunSynchronousCommand>
                </RunSynchronous>
            </component>
            <component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="{REMOVED-URL}/WMIConfig/2002/State" xmlns:xsi="{REMOVED-URL}/2001/XMLSchema-instance">
                <SearchScopes>
                    <Scope wcm:action="add">
                        <ScopeDefault>true</ScopeDefault>
                        <ScopeDisplayName>Google</ScopeDisplayName>
                        <ScopeKey>Google</ScopeKey>
                        <ScopeUrl>{REMOVED-URL}/search?q={searchTerms}</ScopeUrl>
                    </Scope>
                </SearchScopes>
                <DisableFirstRunWizard>true</DisableFirstRunWizard>
                <Home_Page>about:blank</Home_Page>
            </component>
            <component name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="{REMOVED-URL}/WMIConfig/2002/State" xmlns:xsi="{REMOVED-URL}/2001/XMLSchema-instance">
                <SkipAutoActivation>true</SkipAutoActivation>
            </component>
            <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="{REMOVED-URL}/WMIConfig/2002/State" xmlns:xsi="{REMOVED-URL}/2001/XMLSchema-instance">
                <ComputerName>Server</ComputerName>
                <ShowWindowsLive>false</ShowWindowsLive>
                <TimeZone>FLE Standard Time</TimeZone>
            </component>
        </settings>
        <settings pass="offlineServicing">
            <component name="Microsoft-Windows-LUA-Settings" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="{REMOVED LINK}/WMIConfig/2002/State" xmlns:xsi="{REMOVED-URL}/2001/XMLSchema-instance">
                <EnableLUA>false</EnableLUA>
            </component>
        </settings>
        <cpi:offlineImage cpi:source="wim:c:/users/admin/desktop/7/grmculxfrer_en_dvd/sources/install.wim#Windows 7 ULTIMATE" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
    </unattend>