Article

whenz's picture
article
Reads:

4238

Score:
3
3
4
 
Comments:

1

Pinning Programs to Taskbar & Startmenu using ZENworks Bundle

Author Info

26 July 2012 - 9:58am
Submitted by: whenz

(View Disclaimer)

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.

AttachmentSize
pinitem.zip3.18 KB

Disclaimer: As with everything else at Cool Solutions, this content is definitely not supported by Novell (so don't even think of calling Support if you try something and it blows up).

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, test, test before you do anything drastic with it.




User Comments

petjez's picture

Dutch version?

Submitted by petjez on 23 October 2012 - 6:13am.

Hi,

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

Regards,
Patrick

© 2013 Novell