need help on my unattended.xml

Page 2 of 2 FirstFirst 12

  1. Posts : 75
    windows 7 64bit
    Thread Starter
       #11

    Kari said:
    Your answer file has no user added. In the tutorial I will build an example answer file adding a user.
    how can i do that ?
      My Computer


  2. Posts : 17,545
    Windows 10 Pro x64 EN-GB
       #12

    Please do not understand me wrong now: Maybe you should first study sysprep and using answer files a little bit more before trying them?

    Your original question was why Windows asks a username and password when sysprepped with your answer file. I told you it is because your answer file has no reference to any other user account than the built-in administrator.

    Next you asked how to leave the password away, using username without password. I answered that. Your next question was how to do that, I linked you to a tutorial where the procedure is described.

    And now, your question:
    junqi89 said:
    Kari said:
    Your answer file has no user added. In the tutorial I will build an example answer file adding a user.
    how can i do that ?
    My answer: Read the tutorial, study sysprep and answer file. At the end of the tutorial you'll find more links to sysprep and answer file related articles.

    Kari
      My Computer


  3. Posts : 75
    windows 7 64bit
    Thread Starter
       #13

    Kari said:
    Please do not understand me wrong now: Maybe you should first study sysprep and using answer files a little bit more before trying them?

    Your original question was why Windows asks a username and password when sysprepped with your answer file. I told you it is because your answer file has no reference to any other user account than the built-in administrator.

    Next you asked how to leave the password away, using username without password. I answered that. Your next question was how to do that, I linked you to a tutorial where the procedure is described.

    And now, your question:
    junqi89 said:
    Kari said:
    Your answer file has no user added. In the tutorial I will build an example answer file adding a user.
    how can i do that ?
    My answer: Read the tutorial, study sysprep and answer file. At the end of the tutorial you'll find more links to sysprep and answer file related articles.

    Kari
    Thanks but would u mind helping me take a look to see whether this correct i not good at creating help me see is there anywrong ?

    <?xml version="1.0" encoding="utf-8"?>
    <unattend xmlns="urn:schemas-microsoft-com:unattend">
    <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">
    <CopyProfile>true</CopyProfile>
    <DoNotCleanTaskBar>false</DoNotCleanTaskBar>
    <RegisteredOwner>testing</RegisteredOwner>
    <TimeZone>Singapore Standard Time</TimeZone>
    </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>
    </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">
    <UserAccounts>
    <LocalAccounts>
    <LocalAccount wcm:action="add">
    <Description>Testing account</Description>
    <DisplayName>testing</DisplayName>
    <Group>Administrators</Group>
    <Name>testing</Name>
    </LocalAccount>
    </LocalAccounts>
    </UserAccounts>
    </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>
    <cpifflineImage cpi:source="wim:f:/it%20stuff/isofile/windows%207%20all%20in%20one/windows%207%20all%20in%20one%20x86%20&amp;x64/sources/install.wim#Windows 7 Professional x64" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
    </unattend>
      My Computer


  4. Posts : 17,545
    Windows 10 Pro x64 EN-GB
       #14

    Please use the [code] Your code here [/code] tags when posting scripts and code, it makes it easier to read.

    You need to test your answer file yourself, I have no capacity to do that. The syntax seems OK.

    This last answer file of yours makes Windows to skip auto activation (why?) and creates an administrative user account called "testing".

    Kari
      My Computer


  5. Posts : 75
    windows 7 64bit
    Thread Starter
       #15

    Kari said:
    Please use the [code] Your code here [/code] tags when posting scripts and code, it makes it easier to read.

    You need to test your answer file yourself, I have no capacity to do that. The syntax seems OK.

    This last answer file of yours makes Windows to skip auto activation (why?) and creates an administrative user account called "testing".

    Kari
    this my company want me to do it so i have no idea why. so the account creation is right ? am i right to say that ?
      My Computer


  6. Posts : 17,545
    Windows 10 Pro x64 EN-GB
       #16

    It looks to be OK.
      My Computer


  7. Posts : 75
    windows 7 64bit
    Thread Starter
       #17

    Kari said:
    It looks to be OK.
    I have already tested it out but it didn't create a testing account for me ? can advise me on this ?
      My Computer


  8. Posts : 75
    windows 7 64bit
    Thread Starter
       #18

    now it successful create the testing account but it prompt me to change password for first login how do i disable it ? i didn't set the administrator password. i remove it but it still prompt me ?
      My Computer


 
Page 2 of 2 FirstFirst 12

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 23:37.
Find Us