question

GinoVincenzini-4455 avatar image
0 Votes"
GinoVincenzini-4455 asked ·

How to Pin a shortcut to Start as a Tile Programmatically

So I've searched all over the internet for help on this and nobody seems to have a good working answer that's system portable. I'm trying to write an extension to Firefox that allows the user to pin the current site to their start menu (as well as All Programs, and Taskbar).

I have a way to create shortcuts and such but the only methods I could find work from powershell using lots of ugly Pinvoke to internal libraries (and even then I don't know it will work) or in powershell to get the'&Pin to Start' verb and then invoke it but trying it on my system either with an admin or user level powershell causes an Access Denied.

I've been at it for hours trying to figure out where the database is stored in the most recent release build of Windows 10, I've monitored the FS in the AppData folder and made changes to pins to no avail. I've saved the registry, pinned a shortcut, and then saved another copy and diffed them and found no differences. This is really leaving me scratching my head since it's definitely a function I want (especially for web apps like Repl.it, or sites like Youtube or Facebook) and I'm sure I'm not the only one. I know that Edge can do it but how do I do that?

I'm really at wits end with it.

Thanks in advance

not-supported
· 3
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Could you please tell me what kind of app you are developing? Is it a UWP app, WPF app or other kind of app?

0 Votes 0 · ·

Any updates about your issue?

0 Votes 0 · ·

It's a firefox extension and python runner that issues the commands for the extension. So far I figured out where it is and that if I update that key, and then restart explorer, it will show up. But it's a big blob of binary data so I have to see yet what format it's in.

I'll say more when I find more.

0 Votes 0 · ·

1 Answer

RoyLi-MSFT avatar image
0 Votes"
RoyLi-MSFT answered ·

Hello,

Welcome to Microsoft Q&A!

Currently, Microsoft Q&A is under a public preview. Not all topics are supported. All the supported topics are listed on the right top. I suggest that you could ask your question in Microsoft Answers.

Thank you.

· Share
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.