Skip to content

1. Kiosk Settings

Applies the following device settings:

  • Empty Default Password for Autologin
  • Disables Windows Edge Swipe Interaction/UI
  • Microsoft Edge Settings
    • Disables Visual Search
    • Disables Translation
    • Disables Address Bar Editing
    • Disables Top Sites on New Tap
    • Disables Developer Tools
    • Disables Downloads
    • Disables Password Manager
    • Disables Printing
    • Disables Extentions
    • Disables Address Autofill
    • Disables Creditcard Autofill
    • Disables Default Browser Settings
    • Disables First Run Experience
    • Disables Smart Screen
    • Disables Smart Filtering
    • Disables User Feedback
    • Disables Quick Search / Mini Menu
  • Enter PowerShell Script Name = Widget Settings
  • Upload Powershell Scripts File = {SOURCE BELOW}
  • Execution Level = Device
  • Execution Context = NULL
  • Execution Schedule:
    • Run Once On Publish = TRUE
    • Run At Every Login = TRUE
    • Run On Schedule = FALSE
# $startupUrl = "%$device.kiosk_url%"
# Define an array of hashtables for registry entries
$registrySettings = @(
@{
Path = "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon"
Name = "DefaultPassword"
Value = ""
Type = "String"
},
@{
Path = "HKLM:\Software\Policies\Microsoft\Windows\EdgeUI"
Name = "AllowEdgeSwipe"
Value = 0
Type = "DWord"
},
@{
Path = "HKLM:\Software\Policies\Microsoft\Edge"
Name = "VisualSearchEnabled"
Value = 0
Type = "DWord"
},
@{
Path = "HKLM:\Software\Policies\Microsoft\Edge"
Name = "TranslateEnabled"
Value = 0
Type = "DWord"
},
@{
Path = "HKLM:\Software\Policies\Microsoft\Edge"
Name = "AddressBarEditingEnabled"
Value = 0
Type = "DWord"
},
@{
Path = "HKLM:\Software\Policies\Microsoft\Edge"
Name = "NewTabPageHideDefaultTopSites"
Value = 0
Type = "DWord"
},
@{
Path = "HKLM:\Software\Policies\Microsoft\Edge"
Name = "DeveloperToolsAvailability"
Value = 2
Type = "DWord"
},
@{
Path = "HKLM:\Software\Policies\Microsoft\Edge"
Name = "DownloadRestrictions"
Value = 3
Type = "DWord"
},
@{
Path = "HKLM:\Software\Policies\Microsoft\Edge"
Name = "PrintingEnabled"
Value = 0
Type = "DWord"
},
@{
Path = "HKLM:\Software\Policies\Microsoft\Edge"
Name = "PasswordManagerEnabled"
Value = 0
Type = "DWord"
},
@{
Path = "HKLM:\Software\Policies\Microsoft\Edge"
Name = "ExtensionsEnabled"
Value = 0
Type = "DWord"
},
@{
Path = "HKLM:\Software\Policies\Microsoft\Edge"
Name = "AutofillAddressEnabled"
Value = 0
Type = "DWord"
},
@{
Path = "HKLM:\Software\Policies\Microsoft\Edge"
Name = "AutofillCreditCardEnabled"
Value = 0
Type = "DWord"
},
@{
Path = "HKLM:\Software\Policies\Microsoft\Edge"
Name = "DefaultBrowserSettingEnabled"
Value = 0
Type = "DWord"
},
@{
Path = "HKLM:\Software\Policies\Microsoft\Edge"
Name = "HideFirstRunExperience"
Value = 1
Type = "DWord"
},
@{
Path = "HKLM:\Software\Policies\Microsoft\Edge"
Name = "SmartScreenEnabled"
Value = 0
Type = "DWord"
},
@{
Path = "HKLM:\Software\Policies\Microsoft\Edge"
Name = "SmartScreenPuaEnabled"
Value = 0
Type = "DWord"
},
@{
Path = "HKLM:\Software\Policies\Microsoft\Edge"
Name = "UserFeedbackAllowed"
Value = 0
Type = "DWord"
},
@{
Path = "HKLM:\Software\Policies\Microsoft\Edge"
Name = "QuickSearchShowMiniMenu"
Value = 0
Type = "DWord"
}
# # Disable New Tap Page
# @{
# Path = "HKLM:\Software\Policies\Microsoft\Edge"
# Name = "HomepageIsNewTabPage"
# Value = 0
# Type = "DWord"
# },
# # Set Homepage
# @{
# Path = "HKLM:\Software\Policies\Microsoft\Edge"
# Name = "HomepageLocation"
# Value = $startupUrl
# Type = "String"
# },
# # Open Specific URLs on Startup
# @{
# Path = "HKLM:\Software\Policies\Microsoft\Edge"
# Name = "RestoreOnStartup"
# Value = 4
# Type = "DWord"
# },
# @{
# Path = "HKLM:\Software\Policies\Microsoft\Edge\RestoreOnStartupURLs"
# Name = "1"
# Value = $startupUrl
# Type = "String"
# }
# @{
# Path = "HKLM:\Synaptics\SynTPEnh\ZoneConfig\TouchPadPS2"
# Name = "Right Edge Pull"
# Value = 0
# Type = "DWord"
# },
# @{
# Path = "HKLM:\Synaptics\SynTPEnh\ZoneConfig\TouchPadPS2"
# Name = "Left Edge Pull"
# Value = 0
# Type = "DWord"
# },
# @{
# Path = "HKLM:\Synaptics\SynTPEnh\ZoneConfig\TouchPadPS2"
# Name = "Right Edge Pull Extended Zone"
# Value = 0
# Type = "DWord"
# },
# @{
# Path = "HKLM:\Synaptics\SynTPEnh\ZoneConfig\TouchPadPS2"
# Name = "Top Edge Pull"
# Value = 0
# Type = "DWord"
# }
)
# Loop through each setting and apply it
foreach ($setting in $registrySettings) {
if (-not ($null -ne $setting))
# Ensure the registry path exists
if (-not (Test-Path $setting.Path)) {
New-Item -Path $setting.Path -Force | Out-Null
}
# Set the registry value
Set-ItemProperty -Path $setting.Path -Name $setting.Name -Value $setting.Value -Type $setting.Type
Write-Host "Set $($setting.Name) in $($setting.Path) to $($setting.Value) [$($setting.Type)]"
}