esullivan

Windows 10 Pin to Taskbar

23 posts in this topic

I have searched and found some examples to pin to Windows 7 taskbar, but I have not gotten them to work in 10.  Anyone know how to pin to taskbar in 10?

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

They're just shortcuts AFAIK, so why not add as a shortcut to the relevant directory? Your searching skills should tell you which directory that is (as I have forgotten which one exactly). There is also a function in AutoIt that can grab the directory based on a GUID for that pinned directory. Again searching should bring it up too.

Edited by guinness

_AdapterConnections()_AlwaysRun()_AppMon()_AppMonEx()_BinaryBin()_CheckMsgBox()_CmdLineRaw()_ContextMenu()_ConvertLHWebColor()/_ConvertSHWebColor()_DesktopDimensions()_DisplayPassword()_DotNet_Load()/_DotNet_Unload()_Fibonacci()_FileCompare()_FileCompareContents()_FileNameByHandle()_FilePrefix/SRE()_FindInFile()_GetBackgroundColor()/_SetBackgroundColor()_GetConrolID()_GetCtrlClass()_GetDirectoryFormat()_GetDriveMediaType()_GetFilename()/_GetFilenameExt()_GetHardwareID()_GetIP()_GetIP_Country()_GetOSLanguage()_GetSavedSource()_GetStringSize()_GetSystemPaths()_GetURLImage()_GIFImage()_GoogleWeather()_GUICtrlCreateGroup()_GUICtrlListBox_CreateArray()_GUICtrlListView_CreateArray()_GUICtrlListView_SaveCSV()_GUICtrlListView_SaveHTML()_GUICtrlListView_SaveTxt()_GUICtrlListView_SaveXML()_GUICtrlMenu_Recent()_GUICtrlMenu_SetItemImage()_GUICtrlTreeView_CreateArray()_GUIDisable()_GUIImageList_SetIconFromHandle()_GUIRegisterMsg()_GUISetIcon()_Icon_Clear()/_Icon_Set()_IdleTime()_InetGet()_InetGetGUI()_InetGetProgress()_IPDetails()_IsFileOlder()_IsGUID()_IsHex()_IsPalindrome()_IsRegKey()_IsStringRegExp()_IsSystemDrive()_IsUPX()_IsValidType()_IsWebColor()_Language()_Log()_MicrosoftInternetConnectivity()_MSDNDataType()_PathFull/GetRelative/Split()_PathSplitEx()_PrintFromArray()_ProgressSetMarquee()_ReDim()_RockPaperScissors()/_RockPaperScissorsLizardSpock()_ScrollingCredits_SelfDelete()_SelfRename()_SelfUpdate()_SendTo()_ShellAll()_ShellFile()_ShellFolder()_SingletonHWID()_SingletonPID()_Startup()_StringCompact()_StringIsValid()_StringRegExpMetaCharacters()_StringReplaceWholeWord()_StringStripChars()_Temperature()_TrialPeriod()_UKToUSDate()/_USToUKDate()_WinAPI_Create_CTL_CODE()_WinAPI_CreateGUID()_WMIDateStringToDate()/_DateToWMIDateString()Au3 script parsingAutoIt SearchAutoIt3 PortableAutoIt3WrapperToPragmaAutoItWinGetTitle()/AutoItWinSetTitle()CodingDirToHTML5FileInstallrFileReadLastChars()GeoIP databaseGUI - Only Close ButtonGUI ExamplesGUICtrlDeleteImage()GUICtrlGetBkColor()GUICtrlGetStyle()GUIEventsGUIGetBkColor()Int_Parse() & Int_TryParse()IsISBN()LockFile()Mapping CtrlIDsOOP in AutoItParseHeadersToSciTE()PasswordValidPasteBinPosts Per DayPreExpandProtect GlobalsQueue()Resource UpdateResourcesExSciTE JumpSettings INISHELLHOOKShunting-YardSignature CreatorStack()Stopwatch()StringAddLF()/StringStripLF()StringEOLToCRLF()VSCROLLWM_COPYDATAMore Examples...

Updated: 04/09/2015

Share this post


Link to post
Share on other sites

Looks like they are stored here C:\Users\esullivan\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar

but I can't just add a shortcut to that folder, I have been trying.

Share this post


Link to post
Share on other sites

Might need admin or even system level privileges.

Look at the NTFS permissions for the folder and see if you have Write access. 

Share this post


Link to post
Share on other sites

I can put a shortcut in the folder.  It just doesn't appear in the taskbar

Share this post


Link to post
Share on other sites

#6 ·  Posted (edited)

Refresh/Update Explorer?

Edited by guinness

_AdapterConnections()_AlwaysRun()_AppMon()_AppMonEx()_BinaryBin()_CheckMsgBox()_CmdLineRaw()_ContextMenu()_ConvertLHWebColor()/_ConvertSHWebColor()_DesktopDimensions()_DisplayPassword()_DotNet_Load()/_DotNet_Unload()_Fibonacci()_FileCompare()_FileCompareContents()_FileNameByHandle()_FilePrefix/SRE()_FindInFile()_GetBackgroundColor()/_SetBackgroundColor()_GetConrolID()_GetCtrlClass()_GetDirectoryFormat()_GetDriveMediaType()_GetFilename()/_GetFilenameExt()_GetHardwareID()_GetIP()_GetIP_Country()_GetOSLanguage()_GetSavedSource()_GetStringSize()_GetSystemPaths()_GetURLImage()_GIFImage()_GoogleWeather()_GUICtrlCreateGroup()_GUICtrlListBox_CreateArray()_GUICtrlListView_CreateArray()_GUICtrlListView_SaveCSV()_GUICtrlListView_SaveHTML()_GUICtrlListView_SaveTxt()_GUICtrlListView_SaveXML()_GUICtrlMenu_Recent()_GUICtrlMenu_SetItemImage()_GUICtrlTreeView_CreateArray()_GUIDisable()_GUIImageList_SetIconFromHandle()_GUIRegisterMsg()_GUISetIcon()_Icon_Clear()/_Icon_Set()_IdleTime()_InetGet()_InetGetGUI()_InetGetProgress()_IPDetails()_IsFileOlder()_IsGUID()_IsHex()_IsPalindrome()_IsRegKey()_IsStringRegExp()_IsSystemDrive()_IsUPX()_IsValidType()_IsWebColor()_Language()_Log()_MicrosoftInternetConnectivity()_MSDNDataType()_PathFull/GetRelative/Split()_PathSplitEx()_PrintFromArray()_ProgressSetMarquee()_ReDim()_RockPaperScissors()/_RockPaperScissorsLizardSpock()_ScrollingCredits_SelfDelete()_SelfRename()_SelfUpdate()_SendTo()_ShellAll()_ShellFile()_ShellFolder()_SingletonHWID()_SingletonPID()_Startup()_StringCompact()_StringIsValid()_StringRegExpMetaCharacters()_StringReplaceWholeWord()_StringStripChars()_Temperature()_TrialPeriod()_UKToUSDate()/_USToUKDate()_WinAPI_Create_CTL_CODE()_WinAPI_CreateGUID()_WMIDateStringToDate()/_DateToWMIDateString()Au3 script parsingAutoIt SearchAutoIt3 PortableAutoIt3WrapperToPragmaAutoItWinGetTitle()/AutoItWinSetTitle()CodingDirToHTML5FileInstallrFileReadLastChars()GeoIP databaseGUI - Only Close ButtonGUI ExamplesGUICtrlDeleteImage()GUICtrlGetBkColor()GUICtrlGetStyle()GUIEventsGUIGetBkColor()Int_Parse() & Int_TryParse()IsISBN()LockFile()Mapping CtrlIDsOOP in AutoItParseHeadersToSciTE()PasswordValidPasteBinPosts Per DayPreExpandProtect GlobalsQueue()Resource UpdateResourcesExSciTE JumpSettings INISHELLHOOKShunting-YardSignature CreatorStack()Stopwatch()StringAddLF()/StringStripLF()StringEOLToCRLF()VSCROLLWM_COPYDATAMore Examples...

Updated: 04/09/2015

Share this post


Link to post
Share on other sites

Sorry, yea tried that, even a full reboot.

Share this post


Link to post
Share on other sites

No other ideas to pin an app to the taskbar in 10?

Share this post


Link to post
Share on other sites

I researched it a bit more after your original post, I even tried it.

There seems to be some cryptic registry changes and a few events that run in doing this.  What I found out if that even the com method that used to work just fine does not work in windows 10.  Like they have removed a programmatic way of doing it.

A bit of info: https://connect.microsoft.com/PowerShell/feedback/details/1609288/pin-to-taskbar-no-longer-working-in-windows-10

All the cryptic changes happen here:

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Taskband

If you can make sense of the registry changes you can probably do it, but its not clean cut.

 

Share this post


Link to post
Share on other sites

Thanks Vicious.  I saw that too, the one key that that changes and you can't understand.  Was hoping someone found a way :(

Yes Mugen, it's changed from Windows 7

Share this post


Link to post
Share on other sites

I use this:

$objShell = ObjCreate("Shell.Application")
$objFSO = ObjCreate("Scripting.FileSystemObject")
$strlPath = "C:\Users\RAZIEL\Desktop\WampServer.lnk"
$strFolder = $objFSO.GetParentFolderName($strlPath)
$strFile = $objFSO.GetFileName($strlPath)
$objFolder = $objShell.Namespace($strFolder)
$objFolderItem = $objFolder.ParseName($strFile)
$colVerbs = $objFolderItem.Verbs
For $itemverb in $objFolderItem.verbs
    If StringReplace($itemverb.name, "&", "") = "Anclar a la barra de tareas" Then $itemverb.DoIt
Next

But is not dinamically. this one work for Spanish OS.

 

Saludos

Share this post


Link to post
Share on other sites

I am just emulating what you did one step at a time in Powershell.

When I get down to $objfolderitem if I list the verbs I get.

Open
Open file location
Run as administrator
Troubleshoot compatability
Pin to Start
Restore Previous Versions
Cut
Copy
Create Shortcut
Delete
Rename
Properties

No "Pin To Taskbar" and even if I invoke the verb "Pin to Start" I am not seeing any changes to the start or taskbar area.

Share this post


Link to post
Share on other sites

create a .lnk first then use the code with the .lnk

 

Saludos

Share this post


Link to post
Share on other sites

Danyfirex your code will only work with no updates.  Once you fully patch windows 10, it will not work any more.

Share this post


Link to post
Share on other sites

Yes I did create a .lnk first

create a .lnk first then use the code with the .lnk

 

Saludos

Share this post


Link to post
Share on other sites

Does manual right click works? 

uamike I'm sure is that. I've never updated my windows...

 

Saludos

Share this post


Link to post
Share on other sites

Yeah the manual method works, that is what is so crazy about it.  I think its a "bug" that MS will patch out at some point. 

Share this post


Link to post
Share on other sites

Stupid Microsoft and their dumb face.

Share this post


Link to post
Share on other sites

debug how explorer does it. (I would do it but I have not so much time.)

 

Saludos

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now