Forum Discussion
Sergeb83
Feb 17, 2021Copper Contributor
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 ti...
Sergeb83
Feb 18, 2021Copper Contributor
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
Raj_GS
Microsoft
Mar 02, 2021Sergeb83 ,
Our documentation currently focuses on the Windows Assigned Access Single app kiosk experience as specified in https://docs.microsoft.com/en-us/DeployEdge/microsoft-edge-configure-kiosk-mode#single-app-kiosk.
Also, the documentation is a work in progress - as you've noticed 🙂
For cases outside of Assigned Access single app mode, Edge kiosk tries deleting the files from the user's "AppData\Local\Microsoft\Edge\KioskDownloads" folder. If its convenient, please set the "DownloadDirectory" mandatory policy to "${local_app_data}\Microsoft\Edge\KioskDownloads" - this would ensure that the files get downloaded to this directory always, and then, the kiosk session will delete all the files downloaded to this directory when the browser is closed or the kiosk session times out.
Let us know if this helps
- Sergeb83Mar 02, 2021Copper ContributorI tested this an it works fine. thanks for the clarification.
However, in the multi-app kiosk environment I can only allow removable drives and user's Downloads folder for now.
So it would be great if this cleanup feature for enterprise would work on other directories set with the DownloadDirectory policy where permissions permit.
Otherwise, we have no use for a multi app kiosk that cannot cleanup after itself. This policy was giving me hopes.- kccajrNov 29, 2022Copper Contributor
Sergeb83 you caused me to double-take when I read your post! How did you manage to allow external drives to be read when using multi-app kiosk mode? It's driving me crazy.
I'd like to also have the downloads folder clear out at the end of each kiosk session, if you ever managed to find this out?
- Sergeb83Nov 29, 2022Copper Contributor
kccajr
Haven't done anything with the multi app kiosk since this post, but check this. GL
Assigned Access configuration kiosk XML reference (Windows 10/11) - Configure Windows | Microsoft Learn
search for AllowRemovableDrives- When AllowRemovableDrives is used, user will be to access removable drives.
Set up a multi-app kiosk on Windows 10 - Configure Windows | Microsoft Learn
- When AllowRemovableDrives is used, user will be to access removable drives.
- Raj_GSMar 02, 2021
Microsoft
Sergeb83 ,
Are you expecting to use Edge's cleanup facility to clean the directory in an environment where you'll also be configuring other apps to run (as part of the multi-app kiosk setup)? If so, there will be stability issues in the kiosk setup, as there's no guarantee that the files in that folder are not in use when Edge kiosk session is ending and it wants to clean up the files. Hence, we restricted the deletion to an Edge-specific folder, which is not configurable.
If you are not using other apps in the multi-app setup, any reason why you wouldn't be able to use the single app assigned access setup? That is programmed to look at the kiosk user's Downloads folder as Edge will be the only app allowed to run and so it can safely delete the files in that common folder. In this setup, the downloaded files will always be deleted so you do not need to set the policy. Also, in this setup, the end user has access to only the Downloads folder and will not be able to change it to other paths either (unlike multi-app or other scenarios where you might have to add additional Windows policies to lock down the end user from accessing other folders) - making "deletion of downloaded content at session end" easily enforceable.
- Sergeb83Mar 02, 2021Copper ContributorYeah that's a valid point.
Think I can potentially lock the files in KioskDownloads also with multi-app mode. That mode needs an End Session button.
Thanks for taking time to reply to me again.