Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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.

share|improve this question
    
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 Jan 19 '10 at 18:42
add comment

1 Answer 1

up vote 1 down vote accepted

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.

share|improve this answer
    
I also found the following post that uses powershell: blog.crayon.no/blogs/ragnar/archive/2009/04/17/… –  Doltknuckle Jan 19 '10 at 21:08
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.