Troubleshooting empty program lists in a Configuration Manager 2007 Task Sequence

Troubleshooting empty program lists in a Configuration Manager 2007 Task Sequence

  • Comments 3
  • Likes

imageWhen attempting to add an Install Software item in a System Center Configuration Manager 2007 Task Sequence, the Program drop-down list under Install a single application may be empty.  Clicking Apply results in a Task Sequence Editor Please select a program dialog and the item cannot be saved.

This behavior may occur if Allow users to interact with this program is selected on the Environment tab of the program's properties dialog.  Since the Task Sequence always executes in the system context, it is not possible to use this option.  In some rare cases, there may be problems with the objects properties in WMI that may need to be modified directly as well.  The resolution section below covers both cases.

Resolution

In most cases, unchecking Allow users to interact with this program from the program's properties dialog will resolve this issue.  This setting is located in the Configuration Manager Console under Site Database\Computer Management\Software Distribution\Packages\<Package Name>\Programs\<Program Name>\Properties.  Once the selection has been unchecked, return to the Task Sequence editor and click on Browse... to re-select the package.

If unchecking the Allow users to interact with this program option does not resolve the issue, or if the setting is already unchecked, you may need to manually edit the object for the package in WMI.  Use these steps to resolve this issue:

  1. Click Start, Run, then type wbemtest.
  2. Click Connect and type root\sms\site_<SITECODE> in the Namespace field (where <SITECODE> is the 3-letter site code of your site).  Click Connect.
  3. Click on Query... and type select * from SMS_Program.  Click Apply.
  4. In the Query Result dialog, double-click the entry for the package you are trying to add.
  5. In the Properties list, locate ProgramFlags  and double-click on it to bring up the editor.
  6. Record the current value and then replace it with 135307264.
  7. Click on Save Property.  This will close the dialog.
  8. Click on Save Object to close the package entry.
  9. In the Task Sequence editor, click on the Browse... button, select any other package, click OK, then click Browse... again and navigate to the package you wish to deploy.

Mark Stanfill | System Center Senior Support Escalation Engineer

clip_image001 clip_image002

Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment
  • Hmmmm, just because the "Allow users to interact with this program" option is checked, doesn't mean it's trying to run in user context. Yes, task sequences always run under the local system context, but the whole purpose of the checkbox is to make programs interactive (while still running under the local system context).

    If showing a program interactively during a task sequence is required, I believe that the Microsoft Deployment Toolkit (MDT) 2010 Update 1 includes a tool that will help with this. I don't know what the tool's name is off-hand.

    Is this considered a bug, or expected behavior?

    Cheers,

    Trevor Sullivan

    Consultant | 1E Inc.

  • Also if Only When a User is logged in is selected, the program will not appear in the TS.  Has to be set to Whether or not a user is logged in or only when no user is logged in.

  • I have a program that is set to use a required drive letter and works fine when pushing the program on its own.  But as part of the TS, the drive is not mapped and still uses an UNC.  Do you know if this is a known issue and if there is a fix or something for it?