<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.technet.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Pin Items to the Start Menu or Windows 7 Taskbar via Script</title><link>http://blogs.technet.com/deploymentguys/archive/2009/04/08/pin-items-to-the-start-menu-or-windows-7-taskbar-via-script.aspx</link><description>Update 28 April 2009 – This post originally had the sample scripts pinning the executable (calc.exe) directly. A colleague of mine pointed out that it would be better to pin the Start Menu shortcuts for items instead of directly pinning the executable.</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: Pin Items to the Start Menu or Windows 7 Taskbar via Script</title><link>http://blogs.technet.com/deploymentguys/archive/2009/04/08/pin-items-to-the-start-menu-or-windows-7-taskbar-via-script.aspx#3240186</link><pubDate>Wed, 13 May 2009 13:16:40 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3240186</guid><dc:creator>Ananth B.</dc:creator><description>&lt;p&gt;Hi, I'm writing an MP3 player (free, to be released soon) that has no UI, and takes advantage of Win7 taskbar features to handle all user input.&lt;/p&gt;
&lt;p&gt;For one, I dynamically set the main form icon to the song's album art. This presents a problem because when I pin the program, it uses the application icon from the resource file.&lt;/p&gt;
&lt;p&gt;So my questions are:&lt;/p&gt;
&lt;p&gt;1. Can I find out if my application is pinned to the taskbar(are these pinned items stored anywhere)? - My application is single-instance anyway, so it doesn't matter if its run from other places.&lt;/p&gt;
&lt;p&gt;2. I can execute the vbs you've put up here to pin programs to the taskbar, but what about removing it from the taskbar? I didn't find a verb that does this. - I ask this because I can un-pin the application at startup and pin it back on when I'm closed.&lt;/p&gt;
&lt;p&gt;Thanks in advance, your responses will be most appreciated!&lt;/p&gt;
&lt;p&gt;email: ananth _at_ ananthonline.net&lt;/p&gt;
&lt;p&gt;-Ananth&lt;/p&gt;</description></item><item><title>re: Pin Items to the Start Menu or Windows 7 Taskbar via Script</title><link>http://blogs.technet.com/deploymentguys/archive/2009/04/08/pin-items-to-the-start-menu-or-windows-7-taskbar-via-script.aspx#3262293</link><pubDate>Wed, 08 Jul 2009 22:02:56 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3262293</guid><dc:creator>Ananth B.</dc:creator><description>&lt;p&gt;Got it! This for people who stumble across this thread looking for information on (un)pinning item from/to the Windows 7 taskbar using .NET.&lt;/p&gt;
&lt;p&gt;I've written a blog entry on this with some code to boot at &lt;a rel="nofollow" target="_new" href="http://blog.ananthonline.net/?p=37"&gt;http://blog.ananthonline.net/?p=37&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Hope it helps!&lt;/p&gt;</description></item><item><title>re: Pin Items to the Start Menu or Windows 7 Taskbar via Script</title><link>http://blogs.technet.com/deploymentguys/archive/2009/04/08/pin-items-to-the-start-menu-or-windows-7-taskbar-via-script.aspx#3289833</link><pubDate>Wed, 28 Oct 2009 15:26:44 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3289833</guid><dc:creator>konieckropka</dc:creator><description>&lt;p&gt;Hi. Cool scripts... but...What about&lt;/p&gt;
&lt;p&gt;when your &amp;quot;pinn to taskabr&amp;quot; and &amp;quot;Pin to start menu&amp;quot; disappeared accidentaly?&lt;/p&gt;
&lt;p&gt;How to reverse windows registry settings to get them back as asked on this technet forum&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://social.technet.microsoft.com/Forums/en-US/w7itproui/thread/7c0a568b-b960-4a08-a1d2-cf76021cc570"&gt;http://social.technet.microsoft.com/Forums/en-US/w7itproui/thread/7c0a568b-b960-4a08-a1d2-cf76021cc570&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Any ideas?&lt;/p&gt;</description></item><item><title>re: Pin Items to the Start Menu or Windows 7 Taskbar via Script</title><link>http://blogs.technet.com/deploymentguys/archive/2009/04/08/pin-items-to-the-start-menu-or-windows-7-taskbar-via-script.aspx#3293441</link><pubDate>Thu, 12 Nov 2009 17:14:04 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3293441</guid><dc:creator>bascaro</dc:creator><description>&lt;p&gt;its nice to pin and unpin those icons. &lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;
&lt;p&gt;, but...&lt;/p&gt;
&lt;p&gt;it would be even cooler if it is possible to re-arrange the items.&lt;/p&gt;
&lt;p&gt;F.e.: if i pin up the Thunderbird icon to the Taskmenu, it should automatically be ordered next to the Internet Explorer.&lt;/p&gt;
&lt;p&gt;Is this possible?&lt;/p&gt;
&lt;p&gt;If it is, how?&lt;/p&gt;</description></item><item><title>re: Pin Items to the Start Menu or Windows 7 Taskbar via Script</title><link>http://blogs.technet.com/deploymentguys/archive/2009/04/08/pin-items-to-the-start-menu-or-windows-7-taskbar-via-script.aspx#3297791</link><pubDate>Wed, 02 Dec 2009 13:32:56 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3297791</guid><dc:creator>Michael</dc:creator><description>&lt;p&gt;How do you use the ZTI-SpecialFolderLib.vbs? I suppose, I should modify it in some way before calling it from MDT?&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;</description></item><item><title>re: Pin Items to the Start Menu or Windows 7 Taskbar via Script</title><link>http://blogs.technet.com/deploymentguys/archive/2009/04/08/pin-items-to-the-start-menu-or-windows-7-taskbar-via-script.aspx#3298522</link><pubDate>Sat, 05 Dec 2009 00:38:12 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3298522</guid><dc:creator>murgolom</dc:creator><description>&lt;p&gt;Michael,&lt;/p&gt;
&lt;p&gt;ZTI-SpecialFolderLib.vbs is a function library used by PinItem.wsf. &amp;nbsp;It needs to be in the same folder as PinItem.wsf.&lt;/p&gt;
&lt;p&gt;Michael Murgolo&lt;/p&gt;
</description></item></channel></rss>