/build/static/layout/Breadcrumb_cap_w.png

How to create Start Menu Shortcut for executable ?

Hi,


we have a TeamviewerQS.exe located in a tools folder on each User's Desktop. We now want to pin this as a shortcut to the startmenu.

Like you can do it manually by clicking on this shortcut and choose "add to Start"


If we use DesktopAuthority to do this we get an error message "Could not find action on shortcut to Pin or Unpin"

I have added a screenshot from our settings. Maybe someone can tell me what we need to change to get it to work.

O8WgcBAAAAAGG0qAAAAACIHBIVAAAAAJFDogIAAAAgckhUAAAAAEQOiQoAAACAyCFRAQAAABA5JCoAAAAAIodEBQAAAEDkkKgAAAAAiBwSFQAAAACRQ6ICAAAAIHJIVAAAAABEDokKAAAAgMghUQEAAAAQOSQqAAAAACKHRAUAAABA5JCoAAAAAIgcEhUAAAAAkUOiAgAAACBySFQAAAAARA6JCgAAAIDIIVEBAAAAEDkkKgAAAAAih0QFAAAAQOSQqAAAAACIHBIVAAAAAJFDogIAAAAgckhUAAAAAEQOiQoAAACAyCFRAQAAABA5JCoAAAAAIodEBQAAAEDkkKgAAAAAiBwSFQAAAACRQ6ICAAAAIHL+P7Kkl5RUUoxTAAAAAElFTkSuQmCC


Thank you


Christian



0 Comments   [ + ] Show comments

Answers (1)

Posted by: james2526 3 weeks ago
White Belt
0

To solve your issue with pinning TeamViewerQS.exe to the Start menu using Desktop Authority, consider the following steps:

1. Verify Shortcut Location

Ensure the TeamViewerQS.exe is correctly located on the user's desktop and is accessible. The path should be accurate in your Desktop Authority configuration.

2. Modify Desktop Authority Settings

Desktop Authority may need additional settings for shortcuts:

  • Action: Confirm that the action is set to Pin to Start or equivalent.
  • Shortcut Type: If it references a file, ensure the target file exists before running the action.

3. Script-Based Solution

If Desktop Authority does not support the direct "Pin to Start" action for a shortcut, you can use PowerShell to achieve the pinning. Here's an example script:

powershellCopy code# Define the path to the shortcut$shortcutPath = "C:\Users\Public\Desktop\TeamViewerQS.lnk"# Pin to Start$Shell = New-Object -ComObject Shell.Application$Folder = $Shell.Namespace((Get-Item $shortcutPath).DirectoryName)$Item = $Folder.ParseName((Get-Item $shortcutPath).Name)$Item.InvokeVerb("Pin to Start")

Deploy this script using Desktop Authority to all users' machines.

4. Permissions Check

Ensure that the users have sufficient permissions to modify Start menu settings and that the shortcut is not being blocked by group policy.

5. Troubleshoot Errors

If errors persist:

  • Check Desktop Authority's logs for more information on why the action fails.
  • Test the pinning process manually to confirm the shortcut works correctly.

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

View more:

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ