none
Creating autounattend.xml only for ProtectYourPC RRS feed

  • Question

  • Hi

    I want to create an unattended.xml so my customers dont have to choose that, but i want them to be able to make all the other steps.

    I have created an xml-file that i tought should work:

    <?xml version="1.0" encoding="utf-8"?>
    <unattend xmlns="urn:schemas-microsoft-com:unattend">
        <settings pass="oobeSystem">
            <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                <OOBE>
                    <HideEULAPage>true</HideEULAPage>
                    <ProtectYourPC>3</ProtectYourPC>
                </OOBE>
            </component>
        </settings>
        <cpi:offlineImage cpi:source="wim:a:/iso-filer/w7pro/install.wim#Windows 7 PROFESSIONAL" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
    </unattend>

    I use that xml-file when i sysprep but i still need to choose settings for Windows update during OOBE.

    Br

    //Alexander

    Thursday, February 4, 2016 3:23 PM

Answers

  • If these are for installations on a new computer where you sell that computer to an end-user/another party (as System Builder, RRP or OEM) you cannot hide the EULA page.

    You can look at the log for this in c:\windows\panther\unattendgc\setupact.log to see if it found your XML and why it may or may not have used your settings.

    Also your answer file is set for x86. Verify that this matches the architecture of the OS you are deploying.

    Thursday, February 4, 2016 4:39 PM
  • Hi Alexander,

    What do you mean for the other steps here?

    The following article talks about the settings you specified, in Windows 10:

    HideEULAPage

    https://msdn.microsoft.com/en-us/library/windows/hardware/dn895513(v=vs.85).aspx

    ProtectYourPC

    https://msdn.microsoft.com/en-us/library/windows/hardware/dn915741(v=vs.85).aspx

    Note  The functionality for ProtectYourPC has changed for Windows 10 for desktop editions (Home, Pro, Enterprise, and Education). In previous releases, this setting specified whether Windows Update installed important and recommended updates automatically.

    Regards


    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact tnmff@microsoft.com.

    Friday, February 5, 2016 3:21 AM
    Moderator

All replies

  • If these are for installations on a new computer where you sell that computer to an end-user/another party (as System Builder, RRP or OEM) you cannot hide the EULA page.

    You can look at the log for this in c:\windows\panther\unattendgc\setupact.log to see if it found your XML and why it may or may not have used your settings.

    Also your answer file is set for x86. Verify that this matches the architecture of the OS you are deploying.

    Thursday, February 4, 2016 4:39 PM
  • Hi Alexander,

    What do you mean for the other steps here?

    The following article talks about the settings you specified, in Windows 10:

    HideEULAPage

    https://msdn.microsoft.com/en-us/library/windows/hardware/dn895513(v=vs.85).aspx

    ProtectYourPC

    https://msdn.microsoft.com/en-us/library/windows/hardware/dn915741(v=vs.85).aspx

    Note  The functionality for ProtectYourPC has changed for Windows 10 for desktop editions (Home, Pro, Enterprise, and Education). In previous releases, this setting specified whether Windows Update installed important and recommended updates automatically.

    Regards


    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact tnmff@microsoft.com.

    Friday, February 5, 2016 3:21 AM
    Moderator