Windows 7 - Setting up the default taskbar items

3

I've been working on building windows 7 deployments and I've run into an interesting issue. I want to customize the pinned taskbar items after I finish the deployment. We have a number of different teams that use different programs. The "one size fits all" method of copying a user profile specified by Microsoft does not fit our needs.

I've done a few google searches and I run across a ton of pages detailing how to customize the taskbar once a user has logged in but that's it. I basically need a way to modify the taskbar remotely or from a powershell script.

Doltknuckle

Posted 2010-01-19T18:25:17.167

Reputation: 5 813

Update: I tried adding a shortcut to the following location (C:\Users<username>\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar). After a restart, there was no change to the taskbar. – Doltknuckle – 2010-01-19T18:42:20.827

Answers

1

This is the only solution I ever found, and it requires a a program to be run on the first user logon, which will do the taskbar changes that you want. So programming is required.

For a .Net solution, see the article
Pin and Un-pin items to/from the Windows 7 taskbar
where a .cs file is attached that contains a class that can:

  1. Figure out if a given executable is pinned to the taskbar
  2. Un-pin it from the taskbar
  3. Pin it back to the taskbar

The above article is based on another :
Pin Items to the Start Menu or Windows 7 Taskbar via Script
where a similar approach is described using vbs scripts.

harrymc

Posted 2010-01-19T18:25:17.167

Reputation: 306 093

I also found the following post that uses powershell: http://blog.crayon.no/blogs/ragnar/archive/2009/04/17/pin-applications-to-windows-7-taskbar.aspx

– Doltknuckle – 2010-01-19T21:08:03.393