title: Windows 10 Kiosk Mode fails with 0xc00ce223
body: <p>I used this tutorial <a href="https://docs.microsoft.com/en-us/windows/configuration/lock-down-windows-10-to-specific-apps" rel="nofollow noreferrer">https://docs.microsoft.com/en-us/windows/configuration/lock-down-windows-10-to-specific-apps</a> to create a Provision Package.</p>
  
  <p>The XML File looks like this:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8" ?&gt;
  &lt;AssignedAccesConfiguration 
    xmlns="http://schemas.microsoft.com/AssignedAcces/2017/config" 
    xmlns:rs5="http://schemas.microsoft.com/AssignedAccess/201810/config"
  &gt;
    &lt;Profiles&gt;
      &lt;Profile Id="{e7c8ea73-a26c-4801-9c72-e79c5127b7b3}"&gt;
        &lt;AllAppsList&gt;
          &lt;AllowedApps&gt;
            &lt;App DesktopAppPath="C:\Program Files\Mozilla Firefox\firefox.exe" rs5:AutoLaunch="true" /&gt;
            &lt;App DesktopAppPath="C:\Windows\explorer.exe" /&gt;
            &lt;App DesktopAppPath="%WinDir%\system32\mspaint.exe" /&gt;
            &lt;App DesktopAppPath="%WinDir%\system32\calc.exe" /&gt;
            &lt;App AppUserModelId="Microsoft.BingWeather_8wekyb3d8bbwe!App" /&gt;
            &lt;App AppUserModelId="Microsoft.WindowsCalculator_8wekyb3d8bbwe!App" /&gt;
          &lt;/AllowedApps&gt;
        &lt;/AllAppsList&gt;
        &lt;rs5:FileExplorerNamespaceRestrictions&gt;
          &lt;rs5:AllowedNamespace Name="Downloads" /&gt;
        &lt;/rs5:FileExplorerNamespaceRestrictions&gt;
        &lt;StartLayout&gt;
          &lt;![CDATA[&lt;LayoutModificationTemplate 
            xmlns:defaultlayout="http://schemas.microsoft.com/Start/2014/FullDefaultLayout" 
            xmlns:start="http://schemas.microsoft.com/Start/2014/StartLayout" 
            Version="1" 
            xmlns="http://schemas.microsoft.com/Start/2014/LayoutModification"
            &gt;
            &lt;LayoutOptions StartTileGroupCellWidth="6" /&gt;
            &lt;DefaultLayoutOverride&gt;
              &lt;StartLayoutCollection&gt;
                &lt;defaultlayout:StartLayout GroupCellWidth="6"&gt;
                  &lt;start:Group Name="Internet"&gt;
                    &lt;start:DesktopApplicationTile Size="2x2" Column="0" Row="0" DesktopApplicationID="308046B0AF4A39CB" /&gt;
                  &lt;/start:Group&gt;
                  &lt;start:Group Name="Windows"&gt;
                    &lt;start:DesktopApplicationTile Size="2x2" Column="0" Row="0" DesktopApplicationID="{F38BF404-1D43-42F2-9305-67DE0B28FC23}\explorer.exe" /&gt;
                    &lt;start:DesktopApplicationTile Size="1x1" Column="2" Row="1" DesktopApplicationID="{1AC14E77-02E7-4E5D-B744-2EB1AE5198B7}\calc.exe" /&gt;
                    &lt;start:DesktopApplicationTile Size="1x1" Column="2" Row="0" DesktopApplicationID="{1AC14E77-02E7-4E5D-B744-2EB1AE5198B7}\mspaint.exe" /&gt;
                    &lt;start:DesktopApplicationTile Size="1x1" Column="3" Row="0" DesktopApplicationID="{F38BF404-1D43-42F2-9305-67DE0B28FC23}\notepad.exe" /&gt;
                  &lt;/start:Group&gt;
                &lt;/defaultlayout:StartLayout&gt;
              &lt;/StartLayoutCollection&gt;
            &lt;/DefaultLayoutOverride&gt;
          &lt;/LayoutModificationTemplate&gt;
          ]]&gt;
        &lt;/StartLayout&gt;
        &lt;Taskbar ShowTaskbar="true" /&gt;
      &lt;/Profile&gt;
    &lt;/Profiles&gt;
    &lt;Configs&gt;
      &lt;Config&gt;
        &lt;Account&gt;
          Guest
        &lt;/Account&gt;
        &lt;DefaultProfile Id="{e7c8ea73-a26c-4801-9c72-e79c5127b7b3}" /&gt;
      &lt;/Config&gt;
    &lt;/Configs&gt;
  &lt;/AssignedAccesConfiguration&gt;
  </code></pre>
  
  <p>But if I run this with PowerShell I get the following result:</p>
  
  <pre><code>IsInstalled     : True
  PackageID       : 865bdb2a-51a0-46ec-9773-5f821cfc975c
  PackageName     : LibraryKioskMode
  PackagePath     : C:\Users\admin\Documents\Windows Imaging and Configuration Designer
                    (WICD)\LibraryKioskMode\LibraryKioskMode.ppkg
  Description     :
  Rank            : 0
  Altitude        : 5000
  Version         : 1.5
  OwnerType       : ITAdmin
  Notes           :
  LastInstallTime : 12/2/2019 3:42:32 PM
  Result          : 0__Accounts_Users_Guest.provxml
                          Category:LocalAccount
                          LastResult:Success
                          Message:Provisioning succeeded
                          NumberOfFailures:0 (0x0)
  
                    1__AssignedAccess_MultiAppAssignedAccessSettings.provxml
                          Category:UxLockdown
                          LastResult:Error -1072897501 (0xC00CE223)
                          Message:Provisioning failed
                          NumberOfFailures:1 (0x1)
  </code></pre>
  
  <p>I have searched for the error code 0xC00CE223 and it means that I have more than one root element in my xml file. But the XML Validator I have used doesn't show me any error.</p>