Add XML code for Windows 10 and Windows 11 kiosk configuration

This commit is contained in:
Paolo Matarazzo
2024-02-12 15:48:25 +01:00
parent 28291cda4c
commit cec420722c

View File

@ -4,6 +4,7 @@ description: Learn how to create an XML file to configure a kiosk device.
ms.date: 02/12/2024
ms.topic: how-to
zone_pivot_groups: windows-versions-11-10
appliesto:
---
# Create an Assigned Access configuration XML file
@ -18,6 +19,8 @@ Let's start by looking at the basic structure of the XML file.
You can start your file by pasting the following XML code into a text editor, and saving the file as `filename.xml`.
::: zone pivot="windows-11"
```xml
<?xml version="1.0" encoding="utf-8" ?>
<AssignedAccessConfiguration
@ -45,6 +48,38 @@ You can start your file by pasting the following XML code into a text editor, an
</AssignedAccessConfiguration>
```
::: zone-end
::: zone pivot="windows-10"
```xml
<?xml version="1.0" encoding="utf-8" ?>
<AssignedAccessConfiguration
xmlns="http://schemas.microsoft.com/AssignedAccess/2017/config"
xmlns:rs5="http://schemas.microsoft.com/AssignedAccess/201810/config"
xmlns:v2="http://schemas.microsoft.com/AssignedAccess/201810/config"
xmlns:v3="http://schemas.microsoft.com/AssignedAccess/2020/config"
xmlns:v5="http://schemas.microsoft.com/AssignedAccess/2022/config"
<Profiles>
<Profile Id="">
<AllAppsList>
<AllowedApps/>
</AllAppsList>
<StartLayout/>
<Taskbar/>
</Profile>
</Profiles>
<Configs>
<Config>
<Account/>
<DefaultProfile Id=""/>
</Config>
</Configs>
</AssignedAccessConfiguration>
```
::: zone-end
## Profiles node
In the XML file, you define each profile with a globally unique identifier (GUID), which must be unique within the XML file.