Cool Solutions

Pinning Programs to Taskbar & Startmenu using ZENworks Bundle


July 26, 2012 10:58 am






The purpose of this howto is to provide detailed steps for creating a ZCM bundle to pin programs to the taskbar and/or startmenu.


– ZCM infrastructure up and running, agent installed on Win7 device (this has been tested with ZCM 11.2, but should work with any version).

– Download PinItem.vbs from:

or use the attached to this article.

Create a bundle to distribute PinItem.vbs:

  1. Login to your ZCC console
  2. Create a new Windows Bundle
  3. (Empty Bundle)
  4. Enter Bundle name e.g. Copy PinItem.vbs
  5. Navigate to Actions / Install
  6. Add Action – Install File(s)
  7. Upload PinItem.vbs to the ContentRepo and select %WinDir% as destination directory
  8. Assign this Bundle to all your workstations or where needed (I am distributing it as part of the machine setup, so that every workstation has the PinItem.vbs)

Create a bundle to Pin Excel 2010 to the Taskbar and Startmenu:

IMPORTANT: you can only pin locally installed programs, this does not work for executables located on network shares.

  1. Create a new Windows Bundle
  2. (Empty Bundle)
  3. Enter Bundle name e.g.Pin Excel 2010
  4. Navigate to Actions / Install
  5. Add Action – Run Script
  6. In Script to Run – select “Specify a file on managed device” and %windir%\PinItem.vbs
  7. Script Parameters – use one the following parameters:

    /taskbar /item:”%ProgramData%\Microsoft\Windows\Start Menu\Programs\Microsoft Office\Microsoft Excel 2010.lnk”


    /item:”%ProgramData%\Microsoft\Windows\Start Menu\Programs\Microsoft Office\Microsoft Excel 2010.lnk”

    the first example pins Excel 2010 to the taskbar, the second to the startmenu.

  8. Path to Script Engine – specify C:\Windows\System32\cscript.exe
  9. Under Advanced – select “Run as logged in user”
  10. Save changes and publish the Bundle
  11. Assign Bundle to Users

    I usually specify Schedule Type: Event / User Login under the Bundle Distribution Schedule and select “Install Immediately after Distribution” so that the bundle is active when the user login.

1 vote, average: 5.00 out of 51 vote, average: 5.00 out of 51 vote, average: 5.00 out of 51 vote, average: 5.00 out of 51 vote, average: 5.00 out of 5 (1 votes, average: 5.00 out of 5)
You need to be a registered member to rate this post.

Tags: ,
Categories: Technical, ZENworks Configuration Management


Disclaimer: This content is not supported by Micro Focus. It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test it thoroughly before using it in a production environment.

1 Comment

  1. By:petjez


    anyone got this one working on the Dutch version of Windows 7 Pro?