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!

SOLVED Applications failed to install in task sequence

Status
Not open for further replies.

igorzg

New Member
Messages
2
Solutions
1
Reaction score
0
Points
1
I am trying to deploy some workstations. I am using a task sequence, and the deployment type of the application is through a script.
This problem only occurs on HP 650G3 and HP 840G8 workstations; other laptops pass successfully.
The deployment problem on the mentioned workstations occurs 90% of the time, but sometimes it passes successfully.

The problem is:
'Install Static Applications' failed, hr=0x80004005.

Here are some logs:

Dana transfer service.log
Error processing DTS job. Code 0x80070057

Smsts.log
Waiting for job status notification...
Retrying: 3 attempt
nRetryVal != 0, HRESULT=80004005 (K:\dbs\sh\cmgm\0405_083130\cmd\1n\src\client\OsDeployment\InstallApplication\installapplication.cpp,1492)
Exhausted retry attempts. Giving up.
Install application action cannot continue. ContinueOnErrorFlag is set to false.
Install Static Applications failed, hr=0x80004005

CAS.LOG
CacheManager: There are currently 0 bytes used for cached content items (0 total, 0 active, 0 tombstoned(inactive), 0 expired).

CAS.LOG on successfuly deployed workstation
CacheManager: There are currently 2983149568 bytes used for cached content items (15 total, 15 active, 0 tombstoned(inactive), 0 expired).

AppDiscovery.log
Script Execution Returned :1, Error Message: & : File C:\WINDOWS\CCM\SystemTemp\ef44697b-0fc5-4ac8-8b2c-88e3e25bea08.ps1 cannot be loaded. The file C:\WINDOWS\CCM\S

systemTemp\ef44697b-0fc5-4ac8-8b2c-88e3e25bea08.ps1 is not digitally signed. You cannot run this script on the current s
system. For more information about running scripts and setting execution policy, see about_Execution_Policies at https:/go.microsoft.com/fwlink/?LinkID=135170.
+ & 'C:\WINDOWS\CCM\SystemTemp\ef44697b-0fc5-4ac8-8b2c-88e3e25bea08.ps1 ...

CScriptHandler::DiscoverApp failed (0x87d00327).
Deployment type detection failed with error 0x87d00327.

Failed to perform detection of app deployment type Google Chrome Enterprise 112.0.5615.121(Google Chrome Enterprise 112.0.5615.121, revision 7) for system. Error 0x87d00327

AppDiscovery.log - another unsucsesfull workstation
+++ Application not discovered with script detection. [AppDT Id: ScopeId_DFED254A-C82C-4C9F-B561-15F8B9BA7F53/DeploymentType_0b47110a-aac8-489d-bac2-6ff05bdef8ca, Revision: 7]
+++ Did not detect app deployment type Google Chrome Enterprise
112.0.5615.121(ScopeId_DFED254A-C82C-4C9F-B561-15F8B9BA7F53/DeploymentType_0b47110a-aac8-489d-bac2-6ff05bdef8ca, revision 7) for system.

DataTransferService.log
DTSJob({4FDD302C-83FC-4E78-BECA-21D4CF236858}):CDTSJob::HandleErrors - BITS Job '{BEED40B1-F289-480A-9AF9-6B8810A95C87}' under user 'S-1-5-18', ErrorCount=0, ErrorCode=0x80200010, ErrorText='BITS error: 'There are currently no active network connections. Background Intelligent Transfer Service (BITS) will try again when an adapter is connected.
' Context: 'The error occurred in the Background Intelligent Transfer Service (BITS) queue manager.

I have been researching for a long time and have tried several things that I found on the internet:

  1. I added SMSTS COUNT, DELAY, and TIMEOUT variables in the sequence.
  2. I added a step to restart the workstation after 'Setup Windows and ConfigMgr' in the sequence.
  3. I uploaded new drivers.
  4. I refreshed the policy.
  5. I reset BITS and performed a HARD reset of BITS.
  6. I paused the script before app installation.
  7. I checked the network configuration, and the workstation is within the correct boundary.
  8. I tried to recreate the sequence.
Nothing seems to work for now. We have the newest version of SCCM 2303, and we suspect that the problems started to occur after the upgrade.

Thank you in advance, I'll appreciate your help
 
Last edited:
Solution
I managed to solve problem!
Hyper-V Virutal Ethernet Adapter was making problem.
I added powershell script in task sequence which disabled adapter, before installing application.

Disable-NetAdapter -Name "vEthernet (Default Switch)" -Confirm:$false
I managed to solve problem!
Hyper-V Virutal Ethernet Adapter was making problem.
I added powershell script in task sequence which disabled adapter, before installing application.

Disable-NetAdapter -Name "vEthernet (Default Switch)" -Confirm:$false
 
Solution
Status
Not open for further replies.
Back
Top