Kiosk 模式(Kiosk Mode),也称为演示模式(Demo Mode),当您希望应用程序或计算机只做一件事时非常有用。Windows 10 和更早版本的Windows提供Kiosk模式,新的Microsoft Edge (Chromium)和Edge (Legacy)浏览器也是如此。您可能已经在剧院中注意到它,那里的反馈来自客户或浏览器,除了一页之外什么都不会打开。这就是Kiosk模式的意义所在,在这篇文章中,我将展示如何在Kiosk 模式下使用新的(Kiosk Mode)Microsoft Edge和Edge Legacy。
(Set)使用Edge ( Chromium ) 和Edge ( Legacy )设置Kiosk模式
Windows 10 配置为 Kiosk 模式时,仅允许单个应用程序;但是,新的Microsoft Edge不能作为在Kiosk模式下运行的应用程序之一提供。它仅适用于Edge Legacy。我猜它与Microsoft Store App有关,并且由于新的Microsoft Edge是使用 Chromium 构建的,因此它必须遵循不同的路径。所涉及的程序如下:
- 从命令提示符以(Command Prompt)Kiosk 模式(Kiosk Mode)启动Edge ( Chromium )
- 在 Edge 中启用 Kiosk 模式(旧版)
- 使用 Microsoft Kiosk Browser 应用程序
请注意,与Legacy Edge不同,新Edge的(Edge)Kiosk模式可以根据您的要求进行不同的设置。
1 ]从命令提示符(Command Prompt)以Kiosk 模式(Kiosk Mode)启动(] Launch)新的Microsoft Edge
命令行是在展台模式下启动(Kiosk)Microsoft Edge的最佳方式。将策略设置为全屏并禁用全屏键盘快捷键 ( F11 ),它会正常工作。
(Open PowerShel)以管理员(Admin)权限打开 PowerShell l 或命令提示符。要在kiosk模式下启动Microsoft Edge,我们必须使用“ –kiosk ”命令行参数。键入命令并按Enter键。
"<PathtoEdge>\msedge.exe" --kiosk https://www.microsoft.com
所以我的路径是:
C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe --kiosk https://www.microsoft.com
使用命令行配置的缺点是它不会阻止用户访问Windows键盘快捷键。它也不会阻止其他应用程序运行。因此,仅在您有触摸屏且无法使用键盘快捷键的情况下使用此功能。
若要完成此类控制,请考虑使用AppLocker创建 Windows 10 展台和 键盘筛选器。(Keyboard Filter.)使用后者,您可以禁止Ctrl+Alt+Delete操作或完全阻止物理硬件键。
Microsoft Edge可以在Windows 10中以多应用(Windows 10)Kiosk模式运行,但不适用于普通消费者。如果您从事 IT 行业,请点击此链接以获取准确的说明。(get precise instructions.)
(Set)为Kiosk 模式(Kiosk Mode)设置组策略(Group Policies)
打开组策略编辑器(Group Policy Editor)并导航到Computer Configuration > Administrative templates > Windows Components > Microsoft Edge。您应该为Kiosk(Kiosk)模式配置这些策略。
配置 Kiosk 模式策略(Configure Kiosk Mode Policy)
这里可以控制Microsoft Edge是运行InPrivate 全屏、InPrivate 多选项卡功能受限,还是标准 Microsoft Edge。(InPrivate full screen, InPrivate multi-tab with limited functionality, or standard Microsoft Edge.)
- 如果启用并设置为 0(If enabled and set to 0)(默认或未配置):
- 如果它是单个应用程序,它会为数字标牌或交互式显示运行InPrivate全屏。
- 如果它是众多应用之一,Microsoft Edge将正常运行。
- 如果启用并设置为 1(If enabled and set to 1)
- 如果是单个应用程序
- 它运行有限的多标签版InPrivate,是唯一可用于公共浏览的应用程序。
- 用户无法最小化、关闭或打开窗口或自定义Microsoft Edge。
- 他们可以通过单击结束会话清除浏览数据和下载并重新启动。
- 如果它是众多应用程序之一,它会在InPrivate的有限多选项卡版本中运行,以便与其他应用程序一起进行公共浏览。
- 用户可以最小化、关闭和打开多个InPrivate窗口,但不能自定义Microsoft Edge。
允许全屏模式策略(Allow Fullscreen Mode Policy)
例如,如果您已将Edge设置为Kiosk模式,并且您希望最终用户仅访问网站或设置的页面,则请确保设置全屏模式的可用性。它将允许隐藏Microsoft Edge UI,并且仅显示 Web 内容。如果在禁用全屏模式时无法使用命令行,则应启用此模式。
2] 在 Edge Legacy 中设置 Kiosk 模式
如果您想在Edge Legacy中使用(Edge Legacy)Kiosk 模式(Kiosk Mode),您需要设置的东西很少。当您安装Microsoft Edge时,它将抑制Microsoft Edge HTML,即Edge Legacy。因此,您需要使用 Blocker Toolkit来禁用(Blocker Toolkit)Microsoft Edge的自动交付或设置Microsoft Edge Legacy和New Edge并排浏览器体验(side by side browser experience) 策略。
完成后,您可以使用标准方式(即单应用分配访问权限)在 Edge Legacy 中启用 Kiosk 模式。当您的 Web 应用程序在EdgeHTML上运行良好并且您仍然为Edge Chromium做好准备时,它很有用。
3] 使用 Microsoft Kiosk Browser 应用程序
如果您不想经历如此复杂的过程,可以使用 Microsoft Kiosk Browser应用程序。此应用程序(This app)专为 IT 构建,可在Kiosk模式下通过定制选项分配访问权限。
- 应用(Apply)限制,例如允许的URL列表(URLs)
- 禁用导航按钮。
可以使用从Windows 配置设计(Windows Configuration Designer)器创建的运行时预配包或使用现代管理工具(如Intune )对其进行配置。
我希望您能够在Kiosk 模式下(Kiosk Mode)设置新的 Microsoft Edge(New Microsoft Edge)和Edge Legacy。
How to set up Kiosk Mode with new Microsoft Edge and Edge Legacy
Kiosk Mode, also called Demo Mode, is super useful when you want the application or the computer to do just one thing. Windows 10, and earlier versions of Windows offer Kiosk mode, and so does the new Microsoft Edge (Chromium) and Edge (Legacy) browsers. You may have noticed it in theaters where feedback is taken from customers or browsers, which doesn’t open anything but one page. That’s what Kiosk mode is about, and in this post, I will show how you can use the new Microsoft Edge and Edge Legacy in Kiosk Mode.
Set up Kiosk mode with Edge (Chromium) & Edge (Legacy)
Windows 10, when configured for Kiosk mode, only allows a single application; however, the new Microsoft Edge is not available as one of the applications to run in the Kiosk mode. It only works with Edge Legacy. I am guessing it has something to do with Microsoft Store App, and since the new Microsoft Edge is built using Chromium, it has to follow a different path. The procedure involved is as follows:
- Launch Edge (Chromium) in Kiosk Mode from Command Prompt
- Enable Kiosk Mode in Edge (Legacy)
- Use Microsoft Kiosk Browser app
Do note that unlike Legacy Edge, Kiosk mode with the new Edge can be differently set, depending on your requirement.
1] Launch new Microsoft Edge in Kiosk Mode from Command Prompt
Command-Line is the best way to launch Microsoft Edge in Kiosk mode. With the policy set to full screen, and the full-screen keyboard shortcut disabled (F11), it will work out just fine.
Open PowerShell or Command Prompt with Admin privileges. To launch Microsoft Edge in kiosk mode, we will have to use “–kiosk” command line parameter. Type the command and press the Enter key.
"<PathtoEdge>\msedge.exe" --kiosk https://www.microsoft.com
So the path in my case is:
C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe --kiosk https://www.microsoft.com
The drawback of using command line configuration is that it will not prevent the user from accessing Windows keyboard shortcuts. It will also not prevent other applications from running. So use this only where you have a touch screen with no way to use keyboard shortcuts.
To accomplish this type of control, consider using AppLocker to create a Windows 10 kiosk and Keyboard Filter. Using the later, you can suppress Ctrl+Alt+Delete actions or completely block physical hardware keys.
Microsoft Edge can be run with multi-app Kiosk mode in Windows 10, but it’s not for the general consumers. If you are in IT, follow this link to get precise instructions.
Set up Group Policies for Kiosk Mode
Open Group Policy Editor and navigate to Computer Configuration > Administrative templates > Windows Components > Microsoft Edge. You should configure these policies for Kiosk mode.
Configure Kiosk Mode Policy
Here can control whether Microsoft Edge runs InPrivate full screen, InPrivate multi-tab with limited functionality, or standard Microsoft Edge.
- If enabled and set to 0 (Default or not configured):
- If it’s a single app, it runs InPrivate full screen for digital signage or interactive displays.
- If it’s one of many apps, Microsoft Edge runs as normal.
- If enabled and set to 1
- If it’s a single app
- It runs a limited multi-tab version of InPrivate and is the only app available for public browsing.
- Users can’t minimize, close, or open windows or customize Microsoft Edge.
- They can clear browsing data and downloads and restart by clicking the End session.
- If it’s one of many apps, it runs in a limited multi-tab version of InPrivate for public browsing with other apps.
- Users can minimize, close, and open multiple InPrivate windows, but they can’t customize Microsoft Edge.
Allow Fullscreen Mode Policy
As an example, if you have set up Edge in Kiosk mode, and you want the end-user to only access the website or a set page, then make sure to set the availability of full-screen mode. It will allow Microsoft Edge UI is hidden, and only web content is visible. This mode should be enabled if using the command line is unavailable when full-screen mode is disabled.
2] Setup Kiosk Mode in Edge Legacy
If you want to use Kiosk Mode in Edge Legacy, there are few things you will have to set. When you install Microsoft Edge, it will suppress Microsoft Edge HTML, aka Edge Legacy. So you need to use the Blocker Toolkit to disable automatic delivery of Microsoft Edge or setup for Microsoft Edge Legacy and New Edge side by side browser experience policy.
Once done, you can use the standard way of, i.e., single-app assigned access to enable Kiosk Mode in Edge Legacy. It is useful when your web application works perfectly well on EdgeHTML, and you still have made it ready for Edge Chromium.
3] Use Microsoft Kiosk Browser app
If you do not want to go through such a complicated process, you can use the Microsoft Kiosk Browser app. This app was built for IT to be used with assigned access in Kiosk mode with tailored options.
- Apply restrictions such as an allowed list of URLs
- Disabling navigation buttons.
It can be configured using runtime provisioning packages created from Windows Configuration Designer or by using a modern management tool such as Intune.
I hope you are able to set up New Microsoft Edge and Edge Legacy in Kiosk Mode.