Solved

Pin a shortcut to the Start Menu

Posted on 2013-11-11
6
568 Views
Last Modified: 2013-11-21
Is there a code (bat file) to get a shortcut to be pinned to the Start Menu?
0
Comment
Question by:WellingtonIS
  • 3
6 Comments
 
LVL 27

Expert Comment

by:Jason Watkins
ID: 39639963
0
 

Author Comment

by:WellingtonIS
ID: 39641450
The reason for the question is because my users do not have access to right Clicking on  the machines.  They are extremely locked down so any and all shorts have to be dealt with by us (IT) installing them by using bat files along with PSexec.  I'm asking for a solution to be able to do this basically remotely so that my users can find something easily.  Perhaps I should have explained that in my initial question.  I didn't think about that.
0
 
LVL 37

Accepted Solution

by:
Gerwin Jansen, EE MVE earned 500 total points
ID: 39644270
There is (not an easy) way to do this using powershell, you need a PS module found on technet here and then this is your commandline to pin notepad.exe to the taskbar:
powershell -executionpolicy unrestricted -command "import-module c:\temp\pinnedapplication.psm1 ; Set-PinnedApplication -Action UnpinFromTaskBar -FilePath c:\windows\notepad.exe"

Open in new window

To unpin, use the UnpinFromTaskBar action instead. I've put the module in c:\temp

The script works for me, if you're considering powershell solution you can give it a try.
0
 

Author Comment

by:WellingtonIS
ID: 39644466
thanks will try...
0
 

Author Closing Comment

by:WellingtonIS
ID: 39666708
Thanks!
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
This Micro Tutorial will go in depth within Systems and Security in Windows 7 and will go into detail regarding Action Center, Windows Firewall, System, etc. This will be demonstrated using Windows 7 operating system.

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question