Automatically Pin Items to Windows 7 Taskbar for all users

Answered Automatically Pin Items to Windows 7 Taskbar for all users

  • Thursday, September 03, 2009 10:58 PM
     
     
    Hi,

    I'm in the final stages of deploying Windows 7 and would like to automate the pinning of taskbar items for all users.  I have located where the lnk files are stored under each user's roaming profile AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar, however simply copying precreated shortcuts to this location for all users does not work.

    Is there an automated way of doing this?

    Cheers

All Replies

  • Friday, September 04, 2009 3:11 AM
     
     
    I use a script that runs as each new user logs in. It works great!
    I will post the script tomorrow. I plan to use it in my production environment.

    It's a VB script and you can look for it in the meantime...
  • Thursday, October 01, 2009 7:59 PM
     
     

    Could you please copy the script over? We are just about in the deploying stage and this is one of the items on my punchlist of things to figure out.

    Thank you!

  • Thursday, October 01, 2009 9:05 PM
     
     
    Hi Jeradw,

    If you are using Windows System Image Manager to create your Answer Files for deployment you can use the following pass to pre-create your pinned taskbar items;

    TaskbarLinks in Microsoft-Windows-Shell-Setup using the 4specialize pass.

    An example of a path for Microsoft Outlook would be;

    %ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Microsoft Office\Microsoft Office Outlook 2007.lnk

    Worked a treat for me as all users that log onto the deployed machine will pick up the pre-created pinned taskbar.  You can only pre-create a maximum of 3 using this method.

    Hope this helps.
  • Thursday, October 01, 2009 11:57 PM
     
     Answered
    I'll post it tomorrow (Friday). The script is at work.
    BUT I will tell you I have no problems now using MDT 2010.

    I'm using an enterprise Windows 7.
    I import that to the MDT.

    I create a task and build up a clean machine.

    Add all apps, customize, etc.

    Image that.

    Import that image into MDT.

    The COPY PROFILE and the DO NOT CLEAN TASKBAR all work great! All icons are there.

    I was having the problem with BDD 2008. Are you using MDT 2010?
  • Friday, October 02, 2009 5:30 PM
     
     Proposed
    Set objShell = CreateObject("Shell.Application")
    Set objFolder = objShell.Namespace("C:\")
    Set objApp = objFolder.ParseName("Notepad.lnk")
    For Each verb in objApp.Verbs()
    If verb.Name = "Pin to Tas&kbar" Then verb.DoIt
    Next
    Set objShell = CreateObject("Shell.Application")
    Set objFolder = objShell.Namespace("C:\")
    Set objApp = objFolder.ParseName("Media Center.lnk")
    For Each verb in objApp.Verbs()
    If verb.Name = "Pin to Tas&kbar" Then verb.DoIt
    Next

    Add as many apps as you want. Just make a shortcut first.
    Then you will have to setup an "Active Setup" for each new user that logs on.
    • Proposed As Answer by PSKE Saturday, December 18, 2010 8:05 PM
    •  
  • Tuesday, February 23, 2010 5:58 AM
     
     
    Hi Netjim66,

    Im searching for a complete instruction of how to pin specific shortcuts to the taskbar for All Users.  Im still a bit confused of where to start.  Will you be able to post a detailed isntruction on this please?

    I am currently deploying MS Office 2010 Beta and would like the Word, Excel & Outlook shortcuts to pin on the taskbar for all users.

    Cheers!

    E'John
  • Wednesday, February 24, 2010 2:50 PM
     
     
    First, read about "Active Setup". It is executables that run when a new user logs into a machine, and the executables are located in the c:\windows\temp\Active Setup folder.

    So, you put the executable (.exe) with the code (or something similar) from my previous post in that folder.
    Then you edit the registry key:
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup\Installed Components]

    You need to go look at your machine and see what I mean.

    Then when a new user logs in they will run the "pin items to taskbar" executable.
  • Monday, March 01, 2010 5:32 AM
     
     
    Hi netjim66 Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals,

    Thanks for the advice.  I successfully implemented this function

    Regards,
    E'John
  • Friday, November 25, 2011 11:38 AM
     
     

    Hi.

    I´ve used your code and also created a working Active Setup.
    But when the script runs during logon it doesn´t pin the shortcut to the taskbar.

    Even if i run the .vbs file manually, it still doesn´t pin any link to the taskbar

    I really need some help here, to understand this concept.

  • Saturday, January 07, 2012 12:33 PM
     
     

    Hi,

    I am trying to pin office, adobe reader, teamviewer, firefox to all the users. Is it true that i cannot pin more than three items in windows 7.

    I am able to pin using during first logon.

    I know to put the script to the oem folder can some one please advice me how to call the vbs from setupcomplete.cmd.

  • Friday, May 04, 2012 11:03 PM
     
     

    If you delete the user profile and then login again the taskbar stuff gets populated.

  • Wednesday, April 03, 2013 12:55 PM
     
     
    Hi Jeradw,

    If you are using Windows System Image Manager to create your Answer Files for deployment you can use the following pass to pre-create your pinned taskbar items;

    TaskbarLinks in Microsoft-Windows-Shell-Setup using the 4specialize pass.

    An example of a path for Microsoft Outlook would be;

    %ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Microsoft Office\Microsoft Office Outlook 2007.lnk

    Worked a treat for me as all users that log onto the deployed machine will pick up the pre-created pinned taskbar.  You can only pre-create a maximum of 3 using this method.

    Hope this helps.
    This is very intresting, and would be suitable for us, but does this action require that the Office would be implemented inside .wim? Or can it be still deployed during Task Sequence?

    • Edited by yannara Wednesday, April 03, 2013 12:55 PM
    •