How can I prevent any window from minimizing?

I am setting up a kiosk/POS computer that runs certain applications from a launcher. I've got everything set up the way I need except for one thing.

I am able to close the launched applications (like Chrome or IE, for example), but I don't want to be able to minimize them because the taskbar is disabled.

How can I go about either completely disabling minimization (or a similar workaround to achieve the above goal)?


Edit: One potential solution I tried was to loop this Powershell script every few seconds or so:

$dllInfo = '[DllImport("user32.dll")] public static extern bool ShowWindowAsync(IntPtr hWnd, int nCmdShow);'
Add-Type -MemberDefinition $dllInfo -name NativeMethods -namespace Win32
foreach($proc in Get-Process){
    $hwnd = $proc.MainWindowHandle
    # Restore window
    [Win32.NativeMethods]::ShowWindowAsync($hwnd, 4) | Out-Null
}

But that just resulted in my processor being bogged down to an usuable state. Any other ideas or improvements on this one?


Solution 1:

To control windows features like this you can use windows 10 kiosk mode. It'll help you to prevent users from using unwanted applications.