VMware Horizon Community
JonAmadori
Enthusiast
Enthusiast

Downloads folder redirection error on Win 10 20H2 using DEM 2009

Hello,

I have ran into a strange issue and thus far VMware support has been unable to resolve this issue.

We recent migrated all of our users to a new Horizon cluster using Win 10 20H2 Enterprise for our base image and running DEM 2009.  We use the DEM Folder Redirection setting to redirect the following folders/locations to a file share: Documents, Downloads, Music, Pictures, Videos, Desktop, and Favorites.  On first login to this environment, or first login after the user had their profile reset all of the folders will map properly except for the Downloads folder which logs the following error: [ERROR] Folder redirection: error 0x80070002 getting current path for 'Downloads' folder.  On subsequent logins the Downloads folder maps properly via DEM.  All other folders map properly all the time.

I found one forum post referencing this error (https://communities.vmware.com/t5/Dynamic-Environment-Manager/VMware-View-Persona-6-2-to-UEM-9-1-Mig...) but it looks like that was caused due to an issue with migrating from Persona to DEM.  We have only used DEM to redirect our folders and these specific settings worked in our previous Horizon cluster that used Windows 10 1909 and ran DEM 9.11.

VMware support has only suggested reinstalling the Horizon agents which has already been done a few times for various issues and has not resolved the issue.

Does anyone have any idea what I can look at or something I can try to resolve this issue? 

Reply
0 Kudos
4 Replies
DEMdev
VMware Employee
VMware Employee

Hi @JonAmadori,

What type of Windows profile is being used, and how was that created? Any image optimization that might have been a bit too, umm, enthusiastic?

Reply
0 Kudos
JonAmadori
Enthusiast
Enthusiast

@DEMdev we are using a local profiles for our users which are created from the default profile on the master image.  We then roam the profile with FSLogix, but did so in our previous Horizon environment as well.

I did run the VMware OSOT on the master image and it could very well could have been something in there which is causing the mapping problem, but I have only found this KB: Folder redirection configured by UEM does not show the redirected location (2150264) (vmware.com) talking about a setting in the OSOT which can cause redirection issues but that settings was not optimized in the base image and I have verified the registry key exists.

Reply
0 Kudos
JonAmadori
Enthusiast
Enthusiast

Thanks to the suggestion about the overzealous image optimization I took a look at our master image and found that our cleanup script we run before sealing the image had a typo which ended up deleting the Downloads folder for all accounts instead of just clearing their contents.  This caused the default profile to not have a Downloads folder and when a user profile was spun up from the Default profile it also had no Downloads folder at the time DEM processed.

Recreating the folder in the base image, modifying our script to not delete this folder, and recomposing the pool resolved the issue for our test users and will be pushed to production.

Thank you for the help in finding what I overlooked.

DEMdev
VMware Employee
VMware Employee

Hi @JonAmadori,

Thank you for reporting back, and happy to hear you found the issue. 

Reply
0 Kudos