Forum Discussion

Sergeb83's avatar
Sergeb83
Copper Contributor
Feb 17, 2021

KioskDeleteDownloadsOnExit doesn't work

Can't get this policy to work... 

 

Description

This policy only applies to Microsoft Edge kiosk mode.

If you enable this policy, files downloaded as part of the kiosk session are deleted each time Microsoft Edge closes.

If you disable this policy or don't configure it, files downloaded as part of the kiosk session are not deleted when Microsoft Edge closes.

https://docs.microsoft.com/en-us/deployedge/microsoft-edge-policies#kioskdeletedownloadsonexit

----------------------------------------------------------------------------------------------------------------

 

Kiosk mode already starts in in-private mode, so whatever shows up in edge://downloads is cleared anyway with this policy enabled or not. I want it to remove files from the Download folder. 

Would like to know what this policy actually do exactly. Thanks.

 

 

Here is my environment:

 

Edition Windows 10 Enterprise
Version 20H2
Installed on ‎6/‎4/‎2020
OS build 19042.804
Experience Windows Feature Experience Pack 120.2212.551.0

Examining edge://policy shows the policy is enabled.

I set downloads folder to just users Downloads folder with the following

Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Edge 

DownloadDirectory REG_SZ . 

 

Starting edge in kiosk mode like so " msedge.exe --kiosk www.contoso.com --edge-kiosk-type=public-browsing " 

 

It's not actually deleting the files I download during the session, not emptying the folder when I close Edge kiosk mode. 

 

Microsoft Edge Version 88.0.705.68 (Official build) (64-bit) 

 

 

    • Sergeb83's avatar
      Sergeb83
      Copper Contributor

      Kelly_Y 

      I saw that also, so I downloaded the beta 89 edge and the result is the same.

      This new addition is also part of their release notes for Edge version 87.

       

      From policy explanation site it says:

      KioskDeleteDownloadsOnExit Delete files downloaded as part of kiosk session when Microsoft Edge closes Supported versions:

      • On Windows since 87 or later

       

      • Kelly_Y's avatar
        Kelly_Y
        Icon for Microsoft rankMicrosoft

        Sergeb83 Hello!  Thanks for following up!  I'll connect with the Kiosk Mode team and double check.  I'll follow up with any information/insights.  

         

        -Kelly 

Resources