Solved

Pin a shortcut to the Start Menu

Posted on 2013-11-11
6
571 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 38

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

Forrester Webinar: xMatters Delivers 261% ROI

Guest speaker Dean Davison, Forrester Principal Consultant, explains how a Fortune 500 communication company using xMatters found these results: Achieved a 261% ROI, Experienced $753,280 in net present value benefits over 3 years and Reduced MTTR by 91% for tier 1 incidents.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Need help Creating PowerShell Script 4 46
Measure time after installing Antivirus 8 59
Understanding ping command in Ubuntu 5 33
Error when Running powershell script 6 31
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…
In threads here at EE, each comment has a unique Identifier (ID). It is easy to get the full path for an ID via the right-click context menu. However, we often want to post a short link within a thread rather than the full link. This article shows a…
This Micro Tutorial will give you a introduction in two parts how to utilize Windows Live Movie Maker to its maximum capability. This will be demonstrated using Windows Live Movie Maker on Windows 7 operating system.
This Micro Tutorial will give you a introduction in two parts how to utilize Windows Live Movie Maker to its maximum editing capability. This will be demonstrated using Windows Live Movie Maker on Windows 7 operating system.

726 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