title: Windows 10 Answer File (unattend.xml)
body: <p>I'm trying to create a Windows 10 image with sysprep but I have a problem.
  I can't find a setting in the unattend file where I disable to send data to Microsoft or turn off my location.</p>
  
  <p>Here are screenshots how one can do it manually.
  <a href="https://i.stack.imgur.com/9Yfb4.jpg" rel="nofollow"><img src="https://i.stack.imgur.com/9Yfb4.jpg" alt="Step 1"></a>
  <a href="https://i.stack.imgur.com/8Dfjc.jpg" rel="nofollow"><img src="https://i.stack.imgur.com/8Dfjc.jpg" alt="Step 2"></a></p>
  
  <p>Here is my unattend File:</p>
  
  <p>
  </p>
  
  <pre><code>&lt;settings pass="windowsPE"&gt;
      &lt;component name="Microsoft-Windows-International-Core-WinPE" 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"&gt;
          &lt;SetupUILanguage&gt;
              &lt;UILanguage&gt;en-US&lt;/UILanguage&gt;
          &lt;/SetupUILanguage&gt;
          &lt;InputLocale&gt;de-CH&lt;/InputLocale&gt;
          &lt;SystemLocale&gt;de-CH&lt;/SystemLocale&gt;
          &lt;UILanguage&gt;en-US&lt;/UILanguage&gt;
          &lt;UserLocale&gt;de-CH&lt;/UserLocale&gt;
      &lt;/component&gt;
  &lt;/settings&gt;
  
  &lt;settings pass="oobeSystem"&gt;
      &lt;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"&gt;
          &lt;OOBE&gt;
              &lt;HideEULAPage&gt;true&lt;/HideEULAPage&gt;
              &lt;HideLocalAccountScreen&gt;true&lt;/HideLocalAccountScreen&gt;
              &lt;HideOEMRegistrationScreen&gt;true&lt;/HideOEMRegistrationScreen&gt;
              &lt;HideOnlineAccountScreens&gt;true&lt;/HideOnlineAccountScreens&gt;
              &lt;ProductKey&gt;XXXXX-XXXXX-XXXXX-XXXXX-XXXXX&lt;/ProductKey&gt;
              &lt;NetworkLocation&gt;Work&lt;/NetworkLocation&gt;
              &lt;ProtectYourPC&gt;3&lt;/ProtectYourPC&gt;
              &lt;SkipMachineOOBE&gt;true&lt;/SkipMachineOOBE&gt;
              &lt;SkipUserOOBE&gt;true&lt;/SkipUserOOBE&gt;
          &lt;/OOBE&gt;
      &lt;/component&gt;
  &lt;/settings&gt;
  &lt;cpi:offlineImage cpi:source="" xmlns:cpi="urn:schemas-microsoft-com:cpi" /&gt;
  </code></pre>
  
  <p></p>