Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security & DevOps Insights

  • Home
  • About
  • Advertise With US
  • Contact
  • Reviews
  • Toggle search form
Home » Windows » Setup Kiosk Mode on Windows 10 with AD User Account
  • banner 2
    How to Configure NIC Teaming on Windows Server Network | Monitoring
  • jooblejobs
    Find your dream job with Jooble JIRA|Confluence|Apps
  • Screenshot 2020 05 19 at 18.54.21
    Unable to find File Explorer in the Group Policy Editor when resolving the security tab missing under properties Windows Server
  • OpenVz
    OpenVZ template on Proxmox Server: How to Guide Virtualization
  • Machine does not support XSAve
    How to disable side-channel mitigations on VMware Workstation Virtualization
  • Raise or Downgrade AD Domain and Forest Functional Level
    Raise or Downgrade AD Domain and Forest Functional Level Windows Server
  • sql stuck
    How to uninstall Microsoft SQL Server Management Studio Oracle/MSSQL/MySQL
  • banner 4
    How to Install Windows on VMware Workstation Windows

Setup Kiosk Mode on Windows 10 with AD User Account

Posted on 31/01/202022/11/2025 Christian By Christian 5 Comments on Setup Kiosk Mode on Windows 10 with AD User Account

In his guide, we will discuss how to Setup Kiosk Mode on Windows 10 with AD User Account. Kiosk mode helps you create a dedicated and locked-down user experience on these fixed-purpose devices. Please see how to create a Single App Kiosk Mode: Setup Assigned Access using Local Settings. Windows 10 offers a set of different locked-down experiences for public or specialized use: assigned access single-app kiosks, assigned access multi-app kiosks, or shell launchers.

This process is a little bit more straightforward using a local (built-in) Windows account. In this guide, we shall discuss steps to setup Kiosk Mode on Windows 10 with AD User Account.

Note at the moment, PowerShell is not capable of configuring AssignedAccess only without having to use the PowerShell WMI Bridge. Kindly refer to the following related guide: Disable or Remove Kiosk Mode Via the Local Settings,

How to setup Kiosk Mode

Follow the following steps below to have this configured.

  • Step 1: Ensure all prerequisites are meant
  • Step 2: Use AutoLogon.exe to configure the automatic logon. In this way, you will not be using the Registry settings for Auto-login. Please download AutoLogon.exe Toolere.

Enable Automatic Logon on Windows via SysInternal (AutoLogon.exe)

Note: If this is properly configured now, upon restart, the account (kiosk) configured for autologon will automatically logon.

To verify this, use the switch below. Here is how it is done.

- launch CMD
- type <whoami>

You can configure auto logon via the registry. See the Enable Automatic Logon for this as well.

Note: This step is optional (Export the XML file in order to create a similar layout). To achieve the desired start layout, configure the start layout and tiles, and then import them.

Please see how to of Single App Kiosk Mode (AssignedAccess) using Local Settings, About Windows 10 Single / Multi App Kiosk, how to activate Full-Screen (Kiosk Mode) in Internet Explorer, and pre-requisites for setting up a Single and Multi App Kiosk.

Step 3: Create the XML with the MDM WMI Bridge Provider

A configuration XML can define multiple profiles. Then, wrap this in PowerShell by using the MDM bridge to apply the AssignedAccess configuration.

Ensure to save this file below with the PowerShell script with the extension “.ps1”. Each profile has a unique Id and defines a set of applications that are allowed to run, whether the taskbar is visible etc.

<pre class="wp-block-syntaxhighlighter-code">$LogonDomain = "YourDomainName"
$User = "YourDomainUserAccount"
 
function Set-KioskMode {
param(
    [string]$Domain,
    [string]$UserName
)
 
$User = "$($Domain)\$($UserName)".TrimStart('\')
 
$nameSpaceName="root\cimv2\mdm\dmmap"
$className="MDM_AssignedAccess"
$obj = Get-CimInstance -Namespace $namespaceName -ClassName $className
$obj.Configuration = @"
&lt;?xml version="1.0" encoding="utf-8" ?&gt;
&lt;AssignedAccessConfiguration xmlns="http://schemas.microsoft.com/AssignedAccess/2017/config"&gt;
    &lt;Profiles&gt;
        &lt;Profile Id="{6a8bebd2-xxxx-4b5e-8e4b-bc8b9421xxxx}"&gt;
      &lt;AllAppsList&gt; 
      &lt;AllowedApps&gt; 
        &lt;App AppUserModelId="Microsoft.MicrosoftEdge_8wekyb3d8bbwe!MicrosoftEdge" /&gt;
        &lt;App DesktopAppPath="C:\Program Files\Notepad++\Notepad++.exe" /&gt;
      &lt;/AllowedApps&gt; 
      &lt;/AllAppsList&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="Get Started"&gt; 
                                &lt;start:DesktopApplicationTile Size="2x2" Column="2" Row="0" DesktopApplicationLinkPath="%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Notepad++.lnk" /&gt;                  
                            &lt;/start:Group&gt; 
                            &lt;start:Group Name="Internet"&gt; 
                              &lt;start:Tile Size="2x2" Column="2" Row="0" AppUserModelID="Microsoft.MicrosoftEdge_8wekyb3d8bbwe!MicrosoftEdge" /&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="false"/&gt; 
        &lt;/Profile&gt;
    &lt;/Profiles&gt;
    &lt;Configs&gt;
        &lt;Config&gt;
            &lt;AutoLogonAccount/&gt;
            &lt;DefaultProfile Id="{6a8bebd2-xxxx-4b5e-8e4b-bc8b9421xxxx}"/&gt;
        &lt;/Config&gt;
    &lt;/Configs&gt;
&lt;/AssignedAccessConfiguration&gt;
"@
 
Set-CimInstance -CimInstance $obj
}
 
Set-KioskMode -Domain $LogonDomain -UserName $User</pre>

Note: The profile ID needs to be identical and unique all through the file.

See how a Single App Kiosk Mode Configuration using MDM Bridge WMI Provider is configured, and how to Fix Windows Security Blank Screen Issue.

Step 4: Run the script

The MDM Bridge WMI provider will be used to configure Notepad++ for the Kiosk (Domain User). The script must run and will be executed in the system context.

So it makes sense to have this script placed in C:\Windows\System32 location. Here is how to use the PsExec PsExecTool how to use it:

Note: If you just select enter here, the script will never run. As it would assume the default standard of No (Nein 😉 )

You can use the first three lines of the PS1 script to query the Assigned Access MDM to ensure that the code has been injected correctly. Or whenever you update the code and re-inject, you would need to check your changes have been accepted.

Check the $Obj variable to confirm. This will display the Assigned Access Configuration file as shown below.

Note: Without following the order, using the object variable will not work and the desired out will not be prompted.

Signout and Sign-in with the Assigned Access Account

After applying the script. You MUST sign out of the current account that is being used to configure the Assigned Access. Then login as the Assigned Access user and this will take effect immediately and work as desired.

Note: If you decide to turn the VM off, the Auto logon will automatically logon on to the kiosk use as shown below before the settings are applied.

Note: In this step, windows start configuration (apply the XML file), sorting out driers and applying data structures as shown below.

At this point, the “Getting Windows ready”. This includes downloading and installing files or performing some tasks in the background. This can take a while for your device to finish these tasks.

Note: You can add this PowerShell script to a task sequence on WDS (as a post-installation or custom installation).

I hope you found this blog post helpful on how to setup Kiosk Mode on Windows 10 with AD User Account. If you have any questions, please let me know in the comment session

5/5 - (1 vote)

Thank you for reading this post. Kindly share it with others.

  • Share on X (Opens in new window) X
  • Share on Reddit (Opens in new window) Reddit
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Share on Facebook (Opens in new window) Facebook
  • Share on Pinterest (Opens in new window) Pinterest
  • Share on Tumblr (Opens in new window) Tumblr
  • Share on Telegram (Opens in new window) Telegram
  • Share on WhatsApp (Opens in new window) WhatsApp
  • Share on Pocket (Opens in new window) Pocket
  • Share on Mastodon (Opens in new window) Mastodon
  • Share on Bluesky (Opens in new window) Bluesky
  • Share on Threads (Opens in new window) Threads
  • Share on Nextdoor (Opens in new window) Nextdoor
Windows Tags:kiosk, Single and multi app kiosk, Single App Kiosk

Post navigation

Previous Post: How to Remove the All Apps Option from Windows Start Menu via GPO /Registry
Next Post: Long Term Servicing Branch vs Semi-Annual Channel

Related Posts

  • Fix Windows Installer Service Could Not Be Accessed Error
    How to Fix the “Windows Installer Service Could Not Be Accessed” Error While Installing an Application Windows
  • Fixed drives not encrypted by BitLocker via MBAM
    Why is BitLocker unable to encrypt Removable Drives via MBAM? Windows
  • admin6 1
    How to run Apps as an administrator on Windows Windows
  • MBAM report errors
    Understanding MBAM compliance state and error status Windows
  • ios microsoft remote desktop app
    Prevent the Saving of RDP Credentials in Windows 10 Windows
  • windows 7 stuck at loading screen thumbnail
    Disable the Windows welcome screen and shutdown screen Windows

More Related Articles

Fix Windows Installer Service Could Not Be Accessed Error How to Fix the “Windows Installer Service Could Not Be Accessed” Error While Installing an Application Windows
Fixed drives not encrypted by BitLocker via MBAM Why is BitLocker unable to encrypt Removable Drives via MBAM? Windows
admin6 1 How to run Apps as an administrator on Windows Windows
MBAM report errors Understanding MBAM compliance state and error status Windows
ios microsoft remote desktop app Prevent the Saving of RDP Credentials in Windows 10 Windows
windows 7 stuck at loading screen thumbnail Disable the Windows welcome screen and shutdown screen Windows

Comments (5) on “Setup Kiosk Mode on Windows 10 with AD User Account”

  1. Avatar photo RDX says:
    09/09/2021 at 8:10 AM

    So where is the Ad users password configured

    Log in to Reply
    1. chris Christian says:
      09/09/2021 at 9:47 AM

      Please, try to read this guide up. Upon restart, the kiosk accounts automatically sign in. Why do you need a password for this case?

      Log in to Reply
  2. Avatar photo El15 says:
    25/03/2022 at 2:01 PM

    Hello,

    I have stucked with $obj. Doesn’t start your script

    Log in to Reply
    1. Avatar photo El15 says:
      27/03/2022 at 12:05 PM

      hmm, now i run $obj, but he still creating local user… doesn’t run on AD user

      Log in to Reply
      1. chris Christian says:
        27/03/2022 at 7:30 PM

        Hello, how are you accessing the device? This should point you to the fix. Also, if you wish to use a local acct, then this guide has all the information you need: https://techdirectarchive.com/2020/01/24/single-app-kiosk-mode-configuration-using-mdm-bridge-wmi-provider/

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

VEEAMLEGEND

vexpert-badge-stars-5

Virtual Background

GoogleNews

Categories

veeaam100

sysadmin top30a

  • banner 2
    How to Configure NIC Teaming on Windows Server Network | Monitoring
  • jooblejobs
    Find your dream job with Jooble JIRA|Confluence|Apps
  • Screenshot 2020 05 19 at 18.54.21
    Unable to find File Explorer in the Group Policy Editor when resolving the security tab missing under properties Windows Server
  • OpenVz
    OpenVZ template on Proxmox Server: How to Guide Virtualization
  • Machine does not support XSAve
    How to disable side-channel mitigations on VMware Workstation Virtualization
  • Raise or Downgrade AD Domain and Forest Functional Level
    Raise or Downgrade AD Domain and Forest Functional Level Windows Server
  • sql stuck
    How to uninstall Microsoft SQL Server Management Studio Oracle/MSSQL/MySQL
  • banner 4
    How to Install Windows on VMware Workstation Windows

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 1,836 other subscribers
  • RSS - Posts
  • RSS - Comments
  • About
  • Authors
  • Write for us
  • Advertise with us
  • General Terms and Conditions
  • Privacy policy
  • Feedly
  • Telegram
  • Youtube
  • Facebook
  • Instagram
  • LinkedIn
  • Tumblr
  • Pinterest
  • Twitter
  • mastodon

Tags

Active Directory AWS Azure Bitlocker Microsoft Windows PowerShell WDS Windows 10 Windows 11 Windows Server 2016

Copyright © 2025 TechDirectArchive

 

Loading Comments...
 

You must be logged in to post a comment.