Sccm Deployment Waiting For Another Program

Posted on  by 

  1. Apr 08, 2019 With SCCM, you can use more than one deployment type to configure different content and installation program for the same application. We will see deployment types in next section. Requirements – While you plan to deploy applications, you may specify requirements to ensure you target the application to right devices.
  2. SCCM User Application Deployment Before deploying the application to the user collection, ensure that the deployment type is configured for user. You can follow the below steps. Go to Software Library Application Management Applications.

Waiting for Orchestration – SCCM Application Deployment Status. So if you see application deployment status showing as waiting for orchestration, this post will help you. In my lab setup, i changed a setting under Client Settings Default Client Settings Computer Agent. There is a setting called “Additional software manages the.

-->

Important

This version of Orchestrator has reached the end of support, we recommend you to upgrade to Orchestrator 2019.

The Get Deployment Status activity is used to retrieve the status of anapplication, program, task sequence, or software update deploymentassigned to a computer or collection to determine if a softwaredeployment action has completed.

To deploy an application (using the new Configuration Managerapplication model), use the Deploy Application activity. To deploy atask sequence, use the Deploy Task Sequence activity. To deploysoftware updates in an update group, use the Deploy Software Updateactivity. To deploy a legacy application, use the Deploy Programactivity

Get Deployment Status properties

  • Deployment Type: The type of deployment for which you want to retrieve information. Options are:
    • Application
    • Program
    • Task Sequence
    • Software Update
  • Filters: Filters available are dependent on the type of deployment selected. Filters modify the query sent to Configuration Manager so that the data returned to Orchestrator is already limited to desired results. This improves performance over returning all data and filtering at the Orchestrator server.

To add new filter criteria:

  1. Click Add and select the property on which to filter.

  2. Select a Relation and then enter a value for the filter.

    The type of relation value available will depend on the data type of the property selected.

Get Deployment Status published data

The following values are published in addition to the input valuesabove:

ElementDescription
ConnectionSpecifies the name of the connection to the Configuration Manager server
Result CountThe number of values returned by the query
Sccm Deployment Waiting For Another Program

The following list describes the Published Data for the availableDeployment Types.

Program or task sequence

Sccm Deployment Waiting For Another Program For Pc

  • AdvertisementID ID of the advertisement (deployment)
  • LastAcceptanceMessageID Last acceptance status message ID
  • LastAcceptanceMessageIDName Short description of the last acceptance status message
  • LastAcceptanceMessageIDSeverity
    • Error: 3221225472
    • Warning: 2147483648
    • Informational: 1073741824
  • LastAcceptanceState Numeric category of the last acceptance status message
  • LastAcceptanceStateName Short description of the acceptance category
  • LastAcceptanceStatusTime Date and time, in Universal Coordinated Time (UTC), when the last acceptance message was generated
  • LastExecutionContext User context (account) under which the program ran
  • LastExecutionResult Last string returned by a status Management Information Format (MIF) file (messages 10007 and 10009) or an error return code (10006)
  • LastState Numeric category of the last delivery status message
  • LastStateName Short description of the delivery category, including:
    • Accepted – No Further Status
    • Succeeded
    • Failed
    • Waiting
    • No Status
  • LastStatusMessageID Last delivery status message ID
  • LastStatusMessageIDName Short description of the last delivery status message.
  • LastStatusMessageIDSeverity
    • Error: 3221225472
    • Warning: 2147483648
    • Informational: 1073741824
  • LastStatusTime Date and time, in Universal Coordinated Time (UTC), when the last delivery message was generated
  • ResourceID Resource ID of the device

Application

  • AppCI Application CI
  • AppName The name of the application
  • AppStatusType App status type
  • AssignmentID ID of the advertisement (deployment)
  • AssignmentUniqueID GUID of the application
  • CollectionID ID of the collection this resource belongs to
  • CollectionName The name of the collection
  • ComplianceState The compliance state for the configuration item.
  • DTCI The ID of the Deployment Type used in this deployment
  • DTModelID The ID of the Deployment Type Model
  • DTName The name of the Deployment Type used for this deployment
  • DTResultID Deployment Type Result ID
  • DeploymentIntent 0 = Required, 1 = Available
  • EnforcementState The enforcement state. Possible values are:
    • Enforcement State Unknown
    • Enforcement Started
    • Enforcement waiting for content
    • Waiting for another installation to complete
    • Waiting for maintenance window before installing
    • Restart required before installing
    • General failure
    • Pending installation
    • Installing update
    • Pending system restart
    • Successfully installed update
    • Failed to install update
    • Downloading update
    • Downloaded update
    • Failed to download update
  • ExtendedInfoDescriptionID Extended information description ID
  • ExtendedInfoID Extended information ID
  • IsMachineAssignedToUser True or False. True if the machine is assigned to a user.
  • IsMachineChangesPersisted True or False. True if the virtual machine changes are persisted.
  • IsVM True or False. True if this is a virtual machine.
  • MachineID Resource ID of the device
  • MachineName Name of the device
  • PolicyModelID Policy model ID
  • Revision Revision number of the deployment
  • StartTime Deployment time
  • StatusType Status type:
    • Success
    • In Progress
    • Unknown
    • Error
  • Technology The deployment technology type, such as:
    • Windows Installer
    • App-V
    • Script
    • Nokia
  • UpdateState Update State
  • UserName User name
  • VMHostName If the device is a virtual machine, the name of the host for the VM

Software update

ElementDescription
AssignmentIDID of the advertisement (deployment)
AssignmentNameName of the advertisement (deployment)
AssignmentUniqueIDGUID of the application
CollectionIDID of the collection this resource belongs to
CollectionNameThe name of the collection
DeviceNameName of the device where the update is targeted
IsCompliantTrue or False
IsMachineAssignedToUserTrue or False. True if the machine is assigned to a user.
IsMachineChangesPersistedTrue or False. True if the virtual machine changes are persisted.
IsVMTrue or False. True if this is a virtual machine.
LastComplianceMessageDescLast Compliance Message Description
LastComplianceMessageIDLast Compliance Message ID
LastComplianceMessageTimeLast Compliance Message Time
LastEnforcementErrorCodeLast Enforcement Error Code
LastEnforcementErrorIDLast Enforcement Error ID
LastEnforcementErrorTimeLast Enforcement Error Time
LastEnforcementMessageDescLast Enforcement Message Description
LastEnforcementMessageIDLast Enforcement Message ID
LastEnforcementMessageTimeLast Enforcement Message Time
Resource IDResource ID of the device
StatusDescriptionStatus description
StatusEnforcementStateAdditional enforcement state for progress and error status (0 for others).
StatusErrorCodeAdditional error code for error status (0 for others)
StatusTimeStatus time
StatusTypeStatus type
UserIDUser ID
VMHostNameIf the device is a virtual machine, the name of the host for the VM

Configuring the Get Deployment Status activity

  1. From the Activities pane, drag a Get Deployment Statusactivity to the active runbook.
  2. Double-click the Get Deployment Status activity icon. TheProperties dialog box opens.
  3. Configuring the Details tab:
    1. In the Connection section, click the ellipsis button(...), and then select the Configuration Manager serverconnection that you want to use for this activity. Click OK.

    2. In the Fields section, enter a value for each of therequired properties. If the property is Lookup-enabled, you canclick the ellipsis (...) button next to the text box to browsefor a value.

      You can also use published data to automatically populate thevalue of the property from the data output by a previousactivity in the runbook.

  4. Click Finish.
-->

This article describes how to troubleshoot software update deployments that don't run successfully.

Original product version: Microsoft System Center 2012 Configuration Manager, Microsoft System Center 2012 R2 Configuration Manager
Original KB number: 3090264

Summary

When you deploy software updates in Configuration Manager (ConfigMgr 2012 or ConfigMgr 2012 R2), you typically add the updates to a software update group and then deploy the software update group to clients. When you create the deployment, the update policy is sent to client computers, and the update content files are downloaded from a distribution point to the local cache on the client computer. The updates are then available for installation on the client. Normally this process is completed successfully with little effort. However, issues may sometimes arise that cause update deployment to fail. We cover the two most common failure scenarios and provide troubleshooting suggestions for each.

For more information about software updates in Configuration Manager, see Software updates introduction.

When software update deployment fails, the problem generally falls into one of two categories:

  • Updates fail to download.
  • You experience unexpected reboots, or updates are installed outside a maintenance window.

Updates fail to download

  1. When updates don't get downloaded to the client, first check the CAS.log, ContentTransferManager.log, and DataTransferService.log files for errors. To learn about how updates are downloaded, see Track the software update deployment process in Configuration Manager

  2. Verify that the client is in the appropriate boundary associated with the boundary group for the distribution point. For more information about boundary groups, see Configuring boundaries and boundary groups in Configuration Manager.

  3. Check the Software Update Package status and verify that the updates are downloaded and installed on the distribution points. If the content is not installed on the distribution point that's associated with the client's boundary group, check whether fallback for content location must be enabled. For more information, see What is fallback and what does it mean?.

  4. If the client receives the download location but fails to download content, try to download the content manually by accessing the URL for the content. You can find the URL by reviewing DataTransferServices.log.

Installation, supersedence, or detection issues with specific updates

  1. Check to see whether the scan failed during the deployment evaluation. For more information about scan failures, see Troubleshoot software update scan failures in Configuration Manager.
  2. Review WUAHandler.log and WindowsUpdate.log to find the errors received during update installation.
  3. To rule out an installation issue with the update itself, try to manually install the update or install it from Microsoft Update (if possible) to see whether the update installation is successful.
  4. Most .NET Framework update failures are caused by corrupted .NET Framework installations. In these cases, try to manually install the update. If the installation process fails, see Fix Windows Update errors.

Sccm Deployment Waiting For Another Program Using

For more information, see Installation, supersedence, or detection issues with specific updates.

You experience unexpected reboots, or updates are installed outside a maintenance window

If possible, enable verbose and debug logging if the issue can be reproduced.

  1. Review the ServiceWindowManager.log file on the client, and identify the service windows that are available.

    ServiceWindowManager.log contains information about maintenance windows and their start and end time. This information can be very useful when you troubleshoot issues related to software update installation on clients.

    To find a list of available maintenance windows (service windows) on a client, open ServiceWindowManager.log, and search for the Refreshing Service Windows string. Immediately following this line, you will see a list of the applicable service windows on the computer, as in the following example:

    Refreshing Service Windows..... ServiceWindowManager
    Populating instance of ServiceWindow with ID=7cb56688-692f-4fae-b398-0e3ff4413adb, ScheduleString=02C159C0381A200002C159C0381B200002C159C0381C200002C159C0381D200002C159C0381E2000, Type=6 ServiceWindowManager
    This is a one shot Service Window that has already finished. ServiceWindowManager
    Duration for the Service Window is Total days: 0, hours: 00, mins: 00, secs: 00 ServiceWindowManager
    Populating instance of ServiceWindow with ID=90a5f436-364c-48c7-8dc7-c5014abcbea8, ScheduleString=00084AC028592000, Type=6 ServiceWindowManager
    StartTime is 02/09/14 00:00:00 ServiceWindowManager
    Duration for the Service Window is Total days: 1, hours: 05, mins: 00, secs: 00 ServiceWindowManager
    Populating instance of ServiceWindow with ID=45dca355-3249-4845-b8aa-72d0e604548e, ScheduleString=02C24AC0381C2000, Type=6 ServiceWindowManager
    StartTime is 02/12/14 22:00:00 ServiceWindowManager
    Duration for the Service Window is Total days: 0, hours: 07, mins: 00, secs: 00 ServiceWindowManager
    Populating instance of ServiceWindow with ID=87e4759c-2884-45e6-9261-c33ba53f596c, ScheduleString=02C24AC0381D2000, Type=6 ServiceWindowManager
    StartTime is 02/13/14 22:00:00 ServiceWindowManager
    Duration for the Service Window is Total days: 0, hours: 07, mins: 00, secs: 00 ServiceWindowManager
    Populating instance of ServiceWindow with ID={1E957DDD-0A26-434C-952A-586F3E31E319}, ScheduleString=00302B0018192000, Type=1 ServiceWindowManager
    StartTime is 02/16/14 01:00:00 ServiceWindowManager
    Duration for the Service Window is Total days: 0, hours: 03, mins: 00, secs: 00 ServiceWindowManager
    Populating instance of ServiceWindow with ID=36da6950-3d1e-4027-be0e-7b16a4daee7e, ScheduleString=02C24AC0101E2000, Type=6 ServiceWindowManager
    StartTime is 02/14/14 22:00:00 ServiceWindowManager
    Duration for the Service Window is Total days: 0, hours: 02, mins: 00, secs: 00 ServiceWindowManager
    Populating instance of ServiceWindow with ID=028bfbc0-7120-4081-a268-0e664a92ac4a, ScheduleString=00074AC0005F2000, Type=6 ServiceWindowManager
    StartTime is 02/15/14 00:00:00 ServiceWindowManager
    Duration for the Service Window is Total days: 1, hours: 00, mins: 00, secs: 00 ServiceWindowManager
    Populating instance of ServiceWindow with ID=49fd80be-ac4b-4877-974d-ecd09958926d, ScheduleString=02C24AC0381B2000, Type=6 ServiceWindowManager
    StartTime is 02/11/14 22:00:00 ServiceWindowManager
    Duration for the Service Window is Total days: 0, hours: 07, mins: 00, secs: 00 ServiceWindowManager
    Populating instance of ServiceWindow with ID=ad27b0ca-8c74-43c7-8200-1f601880bd75, ScheduleString=02C24AC0381A2000, Type=6 ServiceWindowManager
    StartTime is 02/10/14 22:00:00 ServiceWindowManager
    Duration for the Service Window is Total days: 0, hours: 07, mins: 00, secs: 00 ServiceWindowManager

    Generally, service windows with IDs containing all lowercase alpha-numeric characters are non-business hour (NBH) maintenance windows. These are based on business hours configured in Software Center. However, service windows with IDs containing all uppercase alpha-numeric characters are maintenance windows defined for the collection in the Configuration Manager console. In the example, all service windows are non-business hour windows except the one with ID 1E957DDD-0A26-434C-952A-586F3E31E319 (which is a maintenance window defined for the collection that holds the client).

  2. Review the UpdatesDeployment.log file, and locate the following line to check whether the deployment was set to ignore the maintenance window:

    Notify reboot with deadline = Sunday, Feb 09, 2014. - 21:30:17, Ignore reboot Window = True, NotifyUI = True

  3. Review the MaintenanceCoordinator.log file, and locate the following line to check whether the deployment was set to ignore the maintenance window. A value of 1 for swoverride means that the ignore maintenance window setting is enabled.

    RequestPersistence(id=Update download job, persist=1, swoverride=1, swType=4, pendingWFDisable=0, deadline=1)

  4. Review the SCNotify.log file, and look for the following lines to check whether the user clicked the restart notification to initiate a restart:

    ConfirmRestartDialog: User chose to restart/logoff. (Microsoft.SoftwareCenter.Client.Pages.ConfirmRestartDialog at ButtonRestart_Click)
    ConfirmRestartDialog: user is allowed to restart (Microsoft.SoftwareCenter.Client.Pages.ConfirmRestartDialog at ButtonRestart_Click)
    The user is allowed to restart the computer. Initiating restart. (Microsoft.SoftwareCenter.Client.Data.WmiDataConnector at RestartComputer)

  5. View the deployment properties in the Configuration Manager console to check whether the deployment is set to override maintenance windows. If the deployment isn't set to override maintenance windows, but the client logs suggest that the deployment did override maintenance windows, review the audit status messages to check whether the deployment was modified by someone.

    To review audit status messages, navigate to Configuration Manager console > Monitoring > System Status > Status Message Queries. Right-click All Status Messages, click Show Messages, select the timeframe, and then click OK.

    In the Configuration Manager Status Message Viewer window, navigate to View > Filter, and then filter for Message ID = 30197. If the deployment was modified, you'll see a status message that resembles the following:

    Severity Type Site code Date / Time System Component Message ID Description
    Information Audit PR1 2/9/2014 11:57:49 PM PR1SITE.CONTOSO.COM Microsoft.ConfigurationManagement.exe 30197 User 'DOMAINUser' modified updates assignment 4 ({BAFB1BDB-7A6C-4DCF-9866-6C22DF92346A}).

Coments are closed