Applications configured to use DirectFlex can sometimes cause conflicts with other programs, which can cause the application to stop unexpectedly.
Problem
An application was configured to launch using DirectFlex, and the program stopped unexpectedly.
Cause
DirectFlex uses "hooks" to be notified of processes launching and exiting, and this technique sometimes conflicts with other software, particularly security and antimalware products.
Solution
- VMware Dynamic Environment Manager provides advanced policy settings to resolve conflicts with specific third-party applications. Check Knowledge Base article 2145286 for the policies you can use with specific vendors.
- Or, you can blacklist one or more executables, so that they are not affected by the hooking mechanism by creating a
Blacklist.xmlfile (this file does not exist by default).- Create a new folder called DirectFlex within the \\Server\FlexConfigShare\General\FlexRepository folder.
- Create a new
Blacklist.xmlfile with the following lines.<?xml version="1.0" encoding="utf-8"?> <userEnvironmentSettings> <setting type="blacklist" list="" /> </userEnvironmentSettings>
- Add the executables you want to exclude in the field,
list.For example,list="notepad.exe|calc.exe|regedit.exe".Note: Use|to specify more than one executable. - Save the
Blacklist.xmlfile with UTF8 encoding.
Solution
Depending on the solution you chose, the conflicts are resolved, or the hooking mechanism is disabled for specific applications. If you chose to blacklist the application hooking, you will need to configure the VMware Dynamic Environment Manager configuration file for the application to import and export at login and logout.