Cool Solutions

Pinning Programs to Taskbar & Startmenu using ZENworks Bundle



By:

July 26, 2012 10:58 am

Reads: 4692

Comments:1

Score:0

Overview:

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

Pre-requisites:

- 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: http://blogs.technet.com/b/deploymentguys/archive/2009/04/08/pin-items-to-the-start-menu-or-windows-7-taskbar-via-script.aspx?PageIndex=2

or use the pinitem.zip 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”

    or

    /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.

VN:F [1.9.22_1171]
Rating: 0.0/5 (0 votes cast)

Tags: ,
Categories: Technical, ZENworks Configuration Management

Disclaimer: This content is not supported by Novell. 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

    Hi,

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

    Regards,
    Patrick

    VN:F [1.9.22_1171]
    Rating: 0.0/5 (0 votes cast)

Comment

RSS