Jump to content

Recommended Posts

Posted (edited)

Just in case anyone else gets this issue.

 

We have 14 RDS Hosts. This issue has been intermittent. It seemed to be resolved pre spectre patches and then returned. I beleive its when a user changes which host they are on. User profile disks also contribute to this issue. It occured with 1 user with administrator rights logged on so I dont believe its a performance/load issue.

 

When it does happen %localappdata%\Packages only has 1 or 2 folders present. It should have 15.

 

I wrote this script

 

 

 

$packages = Get-ChildItem -Path "$env:USERPROFILE\AppData\Local\Packages"

 

if($packages.count -lt 14){

 

$apps = Get-ChildItem -Recurse -Path "C:\Windows\SystemApps","C:\Windows\ImmersiveControlPanel","C:\Windows\PrintDialog","C:\Windows\MiracastView" -Include "AppXManifest.xml"

 

Foreach($app in $apps){

Add-AppxPackage -DisableDevelopmentMode -Register "$app" -Verbose}

}

Else{

$null}

 

This should correct he issue it needs to run in the user context.

 

Please reply/thank if this resolves the issue for you.

 

I seem to remember roaming profiles on 1607 suffered the same issue.

Edited by free780

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...