- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Hoodsie2018,
Those ViewClient_ env vars are set a little while after logon, too late for DEM's logon processing. We will be offering a solution for this in the future, but maybe you can consider the following workaround in the meantime.
The workaround entails refreshing the information once File Explorer has launched. As there's no "-UemRefreshFilesAndFolders" option, we first need to turn your Files and Folders setting into a Fully Enforced Predefined Setting:
- Create a new Personalization config file, switch to the Predefined Settings tab, click Add..., set Type to Fully Enforced Settings, click Install..., browse to the \\Server\ConfigShare\General\FlexRepository\Settings\File folder, and import the .zip corresponding with your existing Files and Folders setting.
- Save the config file.
- Disable or delete your existing Files and Folders setting.
By itself, this is not an improvement, as importing the predefined settings during logon will also happen before the ViewClient_ vars are available. However, if we create a shortcut in File Explorer's Startup folder to import this config file again, that (hopefully...) happens once the vars have been set:
Make sure to update the -i path in Arguments so it points to the fully-qualified path of the config file you created for this. As this is a config file with fully enforced settings, the profile archive name is irrelevant, so that dummy.zip from the screenshot suffices.
Also: Leaving Run asynchronously unchecked is required. Otherwise, DEM might create the shortcut too late, i.e. after File Explorer has scanned the Startup folder.
A few other notes:
- CSIDL_ env vars are not a standard Windows feature, so I guess they're provided by some other tool in your environment. If that tool runs before the "refresh", DEM might pick up those vars as well. If you can control when that tool runs, you might want to tie the launch of the refresh to that as well, to ensure the CSIDL_ vars are available as well.
- Minor typo: Connection Protocol [Flex#ViewClient_Protocol%] is missing its leading %.
- The version of the Horizon client is made available through %ViewClient_Client_Version% (in my tests, at least), so the var reference in Client Version [Flex#%ViewClient_Version%] needs an additional _Client in there.