Problem:
Default application file associations do not persist when running versions of ProfileUnity client tools below 6.8.3
Symptoms:
Users logon and set file associations, logoff/logon, and associations previously present in 'Default Apps' of Windows Settings have reverted.
Possible Resolution(s):
Configurations and client tools from earlier versions of ProfileUnity can be retrofitted to utilize the file association retention process leveraged in ProfileUnity 6.8.3 by performing the following steps:
- Disable the 'Application Launcher' rules shown below in any configurations actively using them.
- Disable the 'User Defined Script' rules shown below in any configurations actively using them.
- Disable any 'Windows File Associations' portability rulesets in any configurations actively using them.
- Create an 'Application Launcher' rule as outlined below:
Filespec:
%systemroot%\system32\cmd.exe
Arguments:
/c "C:\Program Files\ProfileUnity\FlexApp\lw_assoc_mgr64.exe" -i "\\Server\Share\Profiles\%USERNAME%\fta.json"
Timing:
After Configuration Execution
*Note* - Substitute with 'lw_assoc_mgr.exe' if using x86 OS and '\\Server\Share\Profiles' with a network path respective to your environment. - Create a 'User Defined Script' rule as outlined below:
Execute:
Before ProfileUnity At Logoff (Pre-Logoff)
Type:
Executable
File:
%SystemRoot%\System32\cmd.exe /c "C:\Program Files\ProfileUnity\FlexApp\lw_assoc_mgr64.exe" -o "\\Server\Share\Profiles\%USERNAME%\fta.json"
*Note* - Substitute with 'lw_assoc_mgr.exe' if using x86 OS and '\\Server\Share\Profiles' with a network path respective to your environment. - (Optional) If running version 6.8.3GAB2 and utilizing persistent/physical desktops, create a 'User Defined Script' as outlined below:
Execute:
After ProfileUnity At Logoff (Post-Logoff)
Type:
Executable
File:
%SystemRoot%\System32\cmd.exe /c "del /f /q %USERPROFILE%\LwlAssoc.txt" - Add the 'lw_assoc_mgr' and 'lw_assoc_mgr64' executables contained in the .zip file linked at the bottom of this KB to the 'flexapp.zip' archive present in the deployment location of the client tools - NETLOGON\ProfileUnity by default - and, if the client tools are installed in a base image, stage the executables in the 'C:\Program Files\ProfileUnity\FlexApp' directory, create a new snapshot, and rebuild all desktops.
Product: ProfileUnity
Product Version: 6.8.2 and earlier or 6.8.3GAB2