VMware DEM – Files and Folders

Release date: September 9th 2022

Welcome to my VMware Dynamic Environment Manager series. In certain cases it is necessary to create folders and/or files in the user’s profile folder, mostly inside AppData. Often applications needs license-files put in specific places, in order to work. VMware Dem has a neat solution to this under User Environment, called Files and Folders.

Below I will show how this is done by first clicking “Create

I provide a name and click Create…

An explorer-window opens with a number of folders. In this example I will put a txt-file directly under the user’s profile folder.

The result is that the file is created in the correct location when I log in on my Horizon Desktop.

Although the above example isn’t very useful, it shows that it is quite possible to manipulate the user’s profile folder to solve issues with applications vs. for example licensing etc. But, knowing what these VMware DEM Profile Archive Setting folders refer to inside the file system in the Horizon desktop, isn’t quite obvious. Therefore, to help others that also wonder, I have created the table below that shows the connection between DEM and OS File System folders.

VMware DEM Profile Archive settings folderFile System folder
NetHoodC:\Users\%Username%\AppData\Roaming\Microsoft\Windows\Network Shortcuts
PrintHoodC:\Users\%Username%\AppData\Roaming\Microsoft\Windows\Printer Shortcuts
ProgramsMenuC:\Users\%Username%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs
StartMenuC:\Users\%Username%\AppData\Roaming\Microsoft\Windows\Start Menu
StartupMenuC:\Users\%Username%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup

However, sometimes it’s necessary to create files and/or folders in the file system, outside the user’s profile folder. I don’t know if this is the supported method or not, but I will show how it’s done below. I begin by creating a new Files and Folder setting, provide a name and click Create…

I create a folder named “C-Drive“, which is a token for the filesystem’s C:\. Inside this folder, I create a new folder, Test-Folder, and place a txt-file inside this. Once done, I close and save this new setting. This is a typical setting that should have a condition that moderates it, but I wont go into that in this example. Note, this wont work if the users don’t have the necessary NTFS permissions inside the file system of the Horizon Desktop.

Next, I log in on the Horizon desktop and open Windows Explorer. I can now verify that a folder has been created with a test-file inside it, in the correct location.

I hope the examples above was informative and that the functionality of Files and Folders in DEM is a little easier to comprehend after this.

Official VMware Dynamic Environment Manager Documentation

Disclaimer: Every tips/tricks/posting I have published here, is tried and tested in different it-solutions. It is not guaranteed to work everywhere, but is meant as a tip for other users out there. Remember, Google is your friend and don’t be afraid to steal with pride! Feel free to comment below as needed.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: