InstallAppXPackages not working (Microsoft Store, MSEdge Apps, AppX)

Copper Contributor

Running FSLogix version:

2210 hotfix 3 (2.9.8784.63912)

 

The problem:

Microsoft Edge "Apps" and apps installed through Microsoft Store (such as "TypeClipboard") do not persist after logoff on dedicated machines (assigned user always logs into same machine).

Workaround:

User must reinstall Microsoft Edge "Apps" and apps from Microsoft Store every time they sign-in with a new Windows session.

Attempted solution #1:

InstallAppXPackages=1

The outcome of attempted solution:

Seems to be 100% ineffective, problem remains unresolved. I do confirm the `AppData\Roaming\FSLogix\AppxPackages.xml` file is being correctly written within the Profile Container.

Attempted solution #2:

Exclude `AppData\Local\Packages` with Copy=0

Attempted solution #3:

Exclude `AppData\Local\Packages` with Copy=3

Outcome of attempted solutions 2 and 3:

Ineffective, problem remains unresolved. Solutions 2 and 3 reversed. Solution 1 still in effect at time of writing.

 

 

 

Machines OS:

Windows 10 22H2

ADMX configuration is as follows:

  • Logging\Log Keeping Period = 3
  • Profile Containers\Container and Directory Naming\Flip Flop Profile Directory Name = 1
  • Profile Containers\Container and Directory Naming\Volume Type = VHDX
  • Profile Containers\Enabled = 1
  • Profile Containers\Install Appx Packages = 1
  • Profile Containers\Is Dynamic = 1
  • Profile Containers\Locked Retry Count = 3
  • Profile Containers\Locked Retry Interval = 15
  • Profile Containers\Reattach Count = 3
  • Profile Containers\Reattach Interval = 15
  • Profile Containers\Size In MBs = 76800 # 75 GB
  • Profile Containers\VHD Locations = \\contoso.lan\FSLData # DFS share used
  • Profile Containers\Roam Identity = 1 # Workaround for Microsoft 365 re-auth issue, environment lacks true SSO configuration
  • Profile Containers\Keep Local Directory (after logoff) = 1 # Applicable to assigned dedicated machines only
  • Profile Containers\Redirection XML Source Folder = \\contoso.lan\FSLCfgDedi # Applicable to assigned dedicated machines only
  • Profile Containers\Reboot On User Logoff = Reboot only on any FSLogix Profile logoff (3) # Applied only to test machine for time savings during troubleshooting

Redirection XML being used here:

 

 

 

<?xml version="1.0" encoding="UTF-8"?>
<FrxProfileFolderRedirection ExcludeCommonFolders="33">
	<Excludes>
		<Exclude Copy="0">AppData\Local\Packages\MSTeams_8wekyb3d8bbwe\LocalCache\Microsoft\MSTeams\Logs</Exclude>
		<Exclude Copy="0">AppData\Local\Packages\MSTeams_8wekyb3d8bbwe\LocalCache\Microsoft\MSTeams\PerfLogs</Exclude>
		<Exclude Copy="0">AppData\Local\Packages\MSTeams_8wekyb3d8bbwe\LocalCache\Microsoft\MSTeams\EBWebView\WV2Profile_tfw\WebStorage</Exclude>
		<Exclude Copy="0">AppData\Local\Publishers\8wekyb3d8bbwe\TeamsSharedConfig\meeting-addin</Exclude>
	</Excludes>
	<Includes>
		<Include>AppData\Roaming\Microsoft</Include>
		<Include>AppData\Local\Microsoft\Office</Include>
		<Include>AppData\Local\Microsoft\Credentials</Include>
	</Includes>
</FrxProfileFolderRedirection>

 

 

 

 

Things that DO work:

  • Profile Container in general (creates in SMB repo if not exists, mounts, stores user data, dismounts on logoff)
  • Persistence of Microsoft 365 authentication and user customizations (OneDrive, new MSTeams, Office apps, Outlook)
  • Persistence of general application customizations
  • Persistence of pinned Taskbar and Start Menu items
  • Redirection XML setting ExcludeCommonFolders=33
  • Redirection XML excludes and includes

 

Writing this post feels like preaching to the choir / beating a horse vibe after having done a lot of Googling on this.

0 Replies