Quantcast
Channel: LANDESK User Community : All Content - Software Distribution
Viewing all articles
Browse latest Browse all 766

How to resolve "Task Queued at Client for Execution"

$
0
0

Problem:

A software deployment task is created an run, but hangs with a result in the Console of "Task Queued at Client for Execution". Any task pushed to the machine gives this result.

 

Cause:

There are two possible causes for this issue.

 

1- The first is that a Vulscan (Patch Manager) is currently running on the client machine, which will not allow SDClient (Software Distribution) to run concurrently.

 

2- The more common reason, is a Software Deployment task is hung on the machine, often due to a misconfigured Distribution Package.

Resolution:

 

There are multiple steps that can be taken to resolve this issue, and depending on what type of task is hung will determine the steps that will have effect. The first thing that will need to be done is to determine what task is hung. If you open up Windows Task Manager on an affected client look to see which process is running. It will be either Vulscan.exe or SDClient.exe. If it is Vulscan.exe then you should just have to wait till the scan and\or repair task completes to run your Software Distribution task. If it is an SDClient.exe process that is running that means a Software Distribution task is hung on the client machine.

 

  • On an affected client machine open the SDClient.log located at C:\Program Files (x86)\LANDesk\Data\ jump to the end and look for a message similar to the following excerpt.

 

 

Thu, 29 Mar 2012 10:06:30 2584 2216 FlushClientTaskQueue: successfully done
Thu, 29 Mar 2012 10:06:40 4628 3420 ExpandEnvironmentVariables Result: /S
Thu, 29 Mar 2012 10:06:40 4628 3420 Cannot start sdclient for task 143, the task 142 is being processed on the client
Thu, 29 Mar 2012 10:06:40 4628 3420 ExpandEnvironmentVariables Result: /S
Thu, 29 Mar 2012 10:06:40 4628 3420 Cannot start sdclient for task 143, the task 142 is being processed on the client

 

In this case Task ID 142 is hung on the client machine, and Task ID 143 is unable to run and is the task that is giving the "Task Queued at Client for Execution" message back in the console. Also in this log you will be able to see which tasks are currently queued for execution. Looking back through the log, you will see the same lines as above with different tasks numers in place of Task 143 from this example.

 

 

Now we know the Task ID that is hung on the client(s). In the Management Console go to Scheduled Tasks, click on All Tasks. In the window to the right it should list all of the tasks on the core. Scroll to the right, until you see the column labled "Task ID" click on the column title to sort the tasks by that column, and locate the task ID. Now you can trace from the task back to the package and find out what ins being installed, and find out what process it would identify with in the Windows Task Manager.

 

 

  • To resolve the message and get tasks flowing again, it may require only one, or a combination of the steps below.

 

  1. Reboot the client computer.
  2. Stop the installer process in Task Manager. This can be done in mass with a Custom Script. The installer process is commonly either msiexec.exe in the case of an MSI Package, or setup.exe In the case of an Exectable Package. However, the actual process name can and will vary from on package to the next. A good rule of thumb is what ever the primary file is on the Distribution Package the process will be named similarly.
  3. Stop the SDClient.exe process in the Task Manager, this alone however will leave the installer running on the machine and just allow the next task to run. Either stopping the install process, or rebooting the computer will be required to clear the install process out.

 

   An common and important point on this issue is that many times it is usually not until after multiple tasks have been sent to the client machine(s) that the "Task Queued at Client for Execution" message is coming from. This can be seen in the SDClient.log file listing the queued tasks on the client machine. If there are multiple tasks queued on a client the suggestions above will result in SDClient.exe processing the next task in line, if you need to clear the client task queue completely and start fresh you will either need to allow all the tasks to run, repeat the steps above for each task, or contact LANDesk support for other options.


Viewing all articles
Browse latest Browse all 766

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>