title: How to set up Microsoft Edge Chromium in kiosk mode with silent printing?
body: <p>I am trying to start Microsoft Edge <em>with parameters</em> in Kiosk mode via Assigned Access. A client of mine has requested that users should only be allowed to browse one specific website (in this case, users can print name tags at a reception stand).</p>
  <p><a href="https://i.stack.imgur.com/bOzUH.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/bOzUH.png" alt="enter image description here" /></a></p>
  <p>Now, we can start the Edge browser without problems via Assigned Access and have it launch the specific website in full screen but when it comes to printing, a print dialogue will always appear. We want silent printing to avoid the hassle for the users. Fortunately Edge has a command line (<a href="https://docs.microsoft.com/en-us/deployedge/microsoft-edge-configure-kiosk-mode" rel="nofollow noreferrer">https://docs.microsoft.com/en-us/deployedge/microsoft-edge-configure-kiosk-mode</a>) where you can specify this:</p>
  <pre><code>&quot;C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe&quot; --kiosk https://www.example.org/ --kiosk-printing
  </code></pre>
  <p>However, this only works on when you create a shortcut to Edge on e.g. the Desktop and then launch manually - not when you start it via Assigned Access / Kiosk mode.</p>
  <p>Show how do we add needed parameter <code>--kiosk-printing</code> to Kiosk mode?</p>
  <p><strong>TROUBLESHOOTING</strong></p>
  <p><strong>1) I have thought about using PowerShell:</strong></p>
  <p>You can use PowerShell to configured Assigned Access / Kiosk mode.</p>
  <p><a href="https://docs.microsoft.com/en-us/powershell/module/assignedaccess/set-assignedaccess?view=windowsserver2019-ps" rel="nofollow noreferrer">https://docs.microsoft.com/en-us/powershell/module/assignedaccess/set-assignedaccess?view=windowsserver2019-ps</a></p>
  <pre><code>PS C:\&gt; Set-AssignedAccess -UserName MyKioskUser -AppName &quot;C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe --kiosk https://www.example.org/ --kiosk-printing&quot;
  </code></pre>
  <p>But that just gives an error:</p>
  <pre><code>PS C:\Windows\system32&gt; Set-AssignedAccess -UserName MyKioskUser
  -AppName &quot;C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe --kiosk https://www.example.org/ --kiosk-printing&quot; Application was not found.  Enter either a valid AppName or AUMID At C:\Windows\system32\WindowsPowerShell\v1.0\Modules\AssignedAccess\AssignedAccess.psm1:288 char:17
  +                 throw $SCStringTable.ErrorAppNotFound
  +                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      + CategoryInfo          : OperationStopped: (Application was...ppName or AUMID:String) [], RuntimeException
      + FullyQualifiedErrorId : Application was not found.  Enter either a valid AppName or AUMID
  </code></pre>
  <p><strong>2) Group Policy?</strong></p>
  <p>Group Policy could perhaps be a way to enforce settings for an application like Microsoft Edge but I do not know how to configure that. Any feedback welcome.</p>
  <p><strong>3) Maybe edge://policy would work?</strong></p>
  <p>Edge has a lot of different policies/settings you can configure according to this
  <a href="https://docs.microsoft.com/en-us/DeployEdge/microsoft-edge-policies#printing" rel="nofollow noreferrer">https://docs.microsoft.com/en-us/DeployEdge/microsoft-edge-policies#printing</a> but there are no policy for silent printing.</p>
  <p><strong>4) Is it possible to run a bat file instead?</strong></p>
  <p>If Kiosk mode would allow for a custom app to run like a .bat file I could simply call that file and my problems would be solved. However, it seems you cannot even run a .bat file via Kiosk mode (correct me if I am wrong).</p>