Problem with unattended Installation - no key and autologon

Discussion in 'Windows 7' started by allow, Mar 12, 2011.

  1. allow

    allow MDL Novice

    Oct 28, 2009
    18
    1
    0
    Hi all,

    i am trying to create an unattended installation for Windows 7 using WAIK to create an autounattend.xml

    Everything works so far, but i am stuck at the end of the installation and everything i searched about this topic did not help.

    I was hoping someone here might be so kind to give me some hints in the right direction.

    Here is my problem:

    My autounattend.xml should work for x86 and x64 and allow for a completely unattended setup, so that windows installation ends with the desktop of my created user, as it would when installing manually.

    Everything works fine untill the second reboot of windows setup.

    Windows starts up and still wants me to enter username (i would like to have a default user with no PWD) and key (i want to set it later) and so on.

    I set to never ask for a key by setting

    <UserData>
    <ProductKey>
    <Key></Key>
    <WillShowUI>Never</WillShowUI>
    </ProductKey>
    </UserData>

    and I have tried every combination of options to create and autologon a new user (which was created but can not log in with or without the password) but I could not get it to work.

    I attached my xml file (which works fine but does not contain the last not working steps).

    maybe someone can extend the xml with the missing settings or point me to the right instructions..

    Any help is apreciated, thanks everyone !
     

    Attached Files:

  2. allow

    allow MDL Novice

    Oct 28, 2009
    18
    1
    0
    Meanwhile i found out that i need to set a valid product key for this to work...but i would like to set no key at all...

    Maybe i can set the trial key, but this still will make setup install the windows version related to the product key, so i can no longer select the edition i want to install at the beginning of the setup...
     
  3. allow

    allow MDL Novice

    Oct 28, 2009
    18
    1
    0
    #4 allow, Mar 12, 2011
    Last edited: Mar 12, 2011
    (OP)
    Thanks, yes saves me time finding this out:)

    Edit:
    it really works es expected: when i use one of the obove trial keys no key is asked and the corresponding version is beeing installed...
    the only bad part is that i have to decide which version to install when creating the xml file...
     
  4. allow

    allow MDL Novice

    Oct 28, 2009
    18
    1
    0
    OK, here is what i got:

    the attached xml installs Win7 completely silent with no questions.

    The included key is the Win7 HP trial key. Replace this with the edition you like and (as long as this edition is on the DVD) this edition will be installed instead.
    Remove it and you will be asked which edition to install and you must enter key later during setup

    As the XMl is for x86 and x64, if you change semoething always remember to change it twice (one ist for x86 and one for x64)

    Info:

    The selected Language is german
    UAC is off
    Autoactivation is off
    Main User is called Besitzer (just rename)
     

    Attached Files: