Forums on Intune, SCCM, and Windows 11

Welcome to the forums. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your topics and posts, as well as connect with other members through your own private inbox!

PENDING Slow App-V package installation when using Software Center

  • Thread starter Thread starter ronvanloo
  • Start date Start date
  • Replies Replies 2
  • Views Views 4K

ronvanloo

Member
Messages
7
Reaction score
1
Points
3
Hello

We have a strange problem at our SCCM 2012 CB 1806 ( for Windows 10 clients) environment.
The SCCM server hosts a lot of App-V packages and a user can install these App-v packages using Software Center on a client device.
The problem is the delay before the installation is ready. Sometime I have to wait voor almost 4 minutes.
When we install the same package on our "older" SCCM 2012 R2 Sp1 (for Windows 8.1 clients) environment there is no delay. Within 5 secondes te installation is ready and application can start.

The steps I did to solve the problem so far:

  • Update the App-v anti malware exclusions.
  • Uninstall all software on the endpoint, like SAP, AppSense\Ivanti etc.
  • Move the device to an OU in AD so no policy is active.
  • Disable Windows defender.

None of these steps did solve the delay.

When Ik look at the AppEnforce.log I see the Powershel commands executing without any error but with a delay. The only command which has no delay is the Publish-Appvclientpackage.

I also used Powershell and entered the Powershell commands for installing and publish a App-V package. Then there is no delay at all. App-V packages install within 5 secondes.
But when I use Software Center to install the same App-v package I have to wait almost 4 minutes.
I tested this with several App-V packages. App-v packages created on a Windows 8.1 sequencer or App-v packages created on a Windows 10 sequencer. There is no difference.

Installing an MSI package within Software Center had no delay.

So at the moment I have no clue what is causing this problem.

Regards,

Ron
 
Same Problem here. 4 minutes would be nice. Mine take up to 60 min to finish "Publish-AppvClientPackage -PackageID"

I publish Appv on W2k12R2.
AppEnforce.log:
Executing Command line: "C:\\WINDOWS\\system32\\WindowsPowerShell\\v1.0\\PowerShell.exe" -ExecutionPolicy Bypass if((Get-ItemProperty 'HKLM:\SOFTWARE\Microsoft\AppV\Client' 'Enabled' -ErrorAction SilentlyContinue) -eq $null) {import-module 'C:\Program Files\Microsoft Application Virtualization\Client\AppvClient\AppvClient.psd1'}; Publish-AppvClientPackage -PackageID 882ed48b-d5b0-4e23-9405-0e8a9454XXXX -VersionID 981d24f4-07ac-4cb0-a3ac-e04d690XXXXX -Global -ev err; if(($err -ne $null) -and ($error[0].Exception.AppvWarningCode -eq 8589935887)) {$host.SetShouldExit(4736)} with system context

this took 44 minutes... and then exitcode 0

No Idea why...
 
We found the solution.
In SCCM 1806 CB there is a new feature you can adjust.
Go to Administration - Hierarchy Configuration - Boundary Groups
Open a boundary group and go to the tab Options
We unchecked the "allow peer......." checkbox
After this all App-v packages streamed very fast.

The explination of this is that we use the App-V packages in stream mode.
But when you enable this option a workspace will look for all other workspaces who installed the package. So it tries to install the package form another workspace instead of the SCCM DP.
Because we stream a App-v package there is no packages at de local cache to install. So there the waiting begins.
When you monitor the VirtualApp.log on the workspace you can see alle the other workspaces it tries to communicate with. I think this is a bug because if you are using App-v in streaming mode this option should be unmarked by default.
 

Forum statistics

Threads
7,165
Messages
27,965
Members
18,263
Latest member
markmumford

Trending content

Back
Top