Help with unattend.xml script

Discussion in 'Windows 7' started by bertikul, Sep 15, 2009.

  1. bertikul

    bertikul MDL Member

    Nov 2, 2007
    204
    21
    10
  2. HSChronic

    HSChronic MDL Expert

    Aug 25, 2007
    1,213
    57
    60
    product key does not get entered into the unattend.xml anymore you have to use DISM to inject the key into the WIM from what I understand.
     
  3. bertikul

    bertikul MDL Member

    Nov 2, 2007
    204
    21
    10
    Thank YOU for the quick reply. Excuse my ignorance: What is DISM? I use WAIK for the answer files> Aperantly does't work
     
  4. Mr Jinje

    Mr Jinje MDL Expert

    Aug 19, 2009
    1,773
    1,085
    60
    #4 Mr Jinje, Sep 15, 2009
    Last edited by a moderator: May 23, 2017
  5. bertikul

    bertikul MDL Member

    Nov 2, 2007
    204
    21
    10
    I got it: Deployment Image Servicing and Management. I'll try to find out more.
    Thanks again
     
  6. Lenmaer

    Lenmaer MDL Addicted

    Jul 3, 2009
    579
    3
    30
    #6 Lenmaer, Sep 15, 2009
    Last edited by a moderator: Apr 20, 2017
  7. bertikul

    bertikul MDL Member

    Nov 2, 2007
    204
    21
    10
    I have tryed numerous autounattend.xml scripts with no luck. The DISM worked like a charm. VERY HAPPY. Thanks guys
     
  8. urie

    urie Moderator
    Staff Member

    May 21, 2007
    8,709
    3,066
    300
    #8 urie, Sep 16, 2009
    Last edited by a moderator: Apr 20, 2017
  9. Lenmaer

    Lenmaer MDL Addicted

    Jul 3, 2009
    579
    3
    30
    #9 Lenmaer, Sep 16, 2009
    Last edited by a moderator: Apr 20, 2017
    They're different if you really look at them.


    Yours
    Code:
                <UserData>
                    <AcceptEula>true</AcceptEula>
                    <ProductKey>
                        <Key>*****-*****-*****-*****-*****</Key>
              <WillShowUI>OnError</WillShowUI>
                    </ProductKey>
                </UserData>
                <ImageInstall>
    
    Mine
    Code:
                <UserData>
                    <ProductKey>
                        <Key>*****-*****-*****-*****-*****</Key>
              <WillShowUI>OnError</WillShowUI>
                    </ProductKey>
                    <AcceptEula>true</AcceptEula>
                </UserData>
                <ImageInstall>
    
    Your accept EULA is at another place.
    I made a new one using the WAIK, because yours didn't work for me.
     
  10. Mr Jinje

    Mr Jinje MDL Expert

    Aug 19, 2009
    1,773
    1,085
    60
    Len, will try this out, was also unable to get Urie's to push Product Key, that is why I went to DISM method.
     
  11. urie

    urie Moderator
    Staff Member

    May 21, 2007
    8,709
    3,066
    300
    #11 urie, Sep 16, 2009
    Last edited by a moderator: Apr 20, 2017
  12. Lenmaer

    Lenmaer MDL Addicted

    Jul 3, 2009
    579
    3
    30
    #12 Lenmaer, Sep 16, 2009
    Last edited: Sep 16, 2009
    They should work for you. I made those for Vista (because I wanted more options and get ride of the PID.txt) and ported them to 7. Tested them with vmware with emulated SLIC bios with Vista and 7 (x86/x64).
    I made also other ones more tuned for automatic setup associated with a setupcomplete.cmd to add some tweaks in the reg and disable some features before the first startup.

    @urie No prob I'm not mad :D
     
  13. Mr Been

    Mr Been MDL Member

    Feb 24, 2008
    217
    58
    10
    @urie

    is it O.K. that this string "<component name="Microsoft-Windows-International-Core-WinPE" is present twice in your autounattend.xml
     
  14. urie

    urie Moderator
    Staff Member

    May 21, 2007
    8,709
    3,066
    300
    Are you saying it is present in the part of the Autounattend.xml i posted it isn't or are you asking can it be present twice it cant.
     
  15. Mr Been

    Mr Been MDL Member

    Feb 24, 2008
    217
    58
    10
    #15 Mr Been, Sep 16, 2009
    Last edited by a moderator: Apr 20, 2017