How to associate magnet links with Windows 10

Windows specific questions, problems.
magnetlinks

How to associate magnet links with Windows 10

Post by magnetlinks »

Windows would not update. It was two major updates behind. I used the upgrade utility to finally upgrade. Now, magnet links will not open. All browsers, they do not open. Latest version of Windows and qBittorrent.
User avatar
Nemo
Administrator
Administrator
Posts: 1730
Joined: Sat Jul 24, 2010 6:24 pm

Re: How to associate magnet links with Windows 10

Post by Nemo »

Go to settings and check .torrent and .magnet associations within qBittorrent.
magnetlinks

Re: How to associate magnet links with Windows 10

Post by magnetlinks »

And then?
mike20021969

Re: How to associate magnet links with Windows 10

Post by mike20021969 »

[quote="magnetlinks"]And then?[/quote]
And then tick both boxes.
And then click Apply:

Image

And then click OK.
And then check if it worked or not.
And then scream if it didn't.
magnetlinks

Re: How to associate magnet links with Windows 10

Post by magnetlinks »

All steps completed. Now what?
mike20021969

Re: How to associate magnet links with Windows 10

Post by mike20021969 »

[quote="magnetlinks"] Now what?[/quote]
I don't hear screaming, so maybe take things easy & put your feet up. Relax with a cup of tea and a chocolate digestive or two.
Last edited by mike20021969 on Wed Jun 12, 2019 5:13 pm, edited 1 time in total.
magnetlinks

Re: How to associate magnet links with Windows 10

Post by magnetlinks »

What is the reccomended amount of decibels?
mike20021969

Re: How to associate magnet links with Windows 10

Post by mike20021969 »

[quote="magnetlinks"]What is the reccomended amount of decibels?[/quote]
140dB normally does the trick. So it didn't work, huh? That's a pain.
Until you get a solution, here's a workaround...
Right-click>Copy (on a magnet link).
Click qBittorrent's Add Torrent Link Icon.
Then right-click>Paste (it into the dialog box).
Click Download.
Last edited by mike20021969 on Thu Jun 13, 2019 10:23 am, edited 1 time in total.
magnetlinks

Re: How to associate magnet links with Windows 10

Post by magnetlinks »

I've been doing that, but it defeats the purpose of a hyperlink.

As for the decibels I have no way of measuring, so I need to buy some sort of device on Amazon to measure.

Any recommendations?
mike20021969

Re: How to associate magnet links with Windows 10

Post by mike20021969 »

[quote="magnetlinks"]I've been doing that, but it defeats the purpose of a hyperlink.[/quote]
Have you tried re-installing qBittorrent?
If the option is available, try associating with magnet & torrent files that way to see if that solves the problem.
magnetlinks

Re: How to associate magnet links with Windows 10

Post by magnetlinks »

Yes, I reinstalled it. A few times. One time I did not check the association box at install, then a message came up asking me if I wanted to associate the links when I started qBittorent up. Clicking it that way still did not associate them.

In Chrome, no error message is displayed.

In Firefox, it says there is no associated application for the link, and asks me to associate one. If I remember correctly, it then sends me to the Windows default application settings, but there is no magnet tab or qBittorrent tab.
mike20021969

Re: How to associate magnet links with Windows 10

Post by mike20021969 »

[quote="magnetlinks"]In Firefox, it says there is no associated application for the link, and asks me to associate one. If I remember correctly, it then sends me to the Windows default application settings, but there is no magnet tab or qBittorrent tab.[/quote]
In Firefox, although I'm using 52.9.0 ESR, under Options>Applications you would only find magnet & TORRENT file listed in relation to Torrent clients. There won't be a qBittorrent tab.
But if there is a TORRENT file option, you could try clicking on that to select a default application

If you're still making no headway: do you have any other torrent clients on you system that have taken over magnet or torrent associations?
magnetlinks

Re: How to associate magnet links with Windows 10

Post by magnetlinks »

I didn't know that was a thing in Firefox. I clicked to change it and it said there were no apps. Then I clicked something else I don't remember and I manually searched for qBittorrent and it worked.

Still didn't work in Chrome.

So, I went to the registry, searched for magnet, and deleted a whole bunch of keys with the word magnet in it.

Now, it works!

Thanks for pointing out the Firefox thing, that led me to searching the registry for some reason. Which I did before, but just didn't delete anything.
mike20021969

Re: How to associate magnet links with Windows 10

Post by mike20021969 »

[quote="magnetlinks"]Now, it works![/quote]
That's great 8)
throwaway

Re: How to associate magnet links with Windows 10

Post by throwaway »

Hey, I had the same problem and saw this thread, but
So, I went to the registry, searched for magnet, and deleted a whole bunch of keys with the word magnet in it.
wasn't really specific enough for me to solve the issue

What worked for me is https://github.com/qbittorrent/qBittorrent/issues/2517

In case that issue is not available in the future, I will paste the text here, just note that all further text isn't from me, but from github
add qBittorrent to windows PC Settings/Search and apps/Defaults https://www.dropbox.com/s/hty3h2yyt4gtm ... 1.png?dl=0 with these values. notice that magnet use the app icon 0. torrent use the file icon 1

Code: Select all

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\SOFTWARE]

[HKEY_CURRENT_USER\SOFTWARE\Classes]

[HKEY_CURRENT_USER\SOFTWARE\Classes\qBittorrent.magnet]
@="URL:magnet"
"Content Type"="application/x-magnet"
"URL Protocol"=""

[HKEY_CURRENT_USER\SOFTWARE\Classes\qBittorrent.magnet\DefaultIcon]
@="\"C:\\Program Files\\qBittorrent\\qbittorrent.exe\",0"

[HKEY_CURRENT_USER\SOFTWARE\Classes\qBittorrent.magnet\shell]
@="open"

[HKEY_CURRENT_USER\SOFTWARE\Classes\qBittorrent.magnet\shell\open]

[HKEY_CURRENT_USER\SOFTWARE\Classes\qBittorrent.magnet\shell\open\command]
@="\"C:\\Program Files\\qBittorrent\\qbittorrent.exe\" \"%1\""

[HKEY_CURRENT_USER\SOFTWARE\Classes\qBittorrent.torrent]
"Content Type"="application/x-bittorrent"
@="Torrent file"

[HKEY_CURRENT_USER\SOFTWARE\Classes\qBittorrent.torrent\DefaultIcon]
@="\"C:\\Program Files\\qBittorrent\\qbittorrent.exe\",1"

[HKEY_CURRENT_USER\SOFTWARE\Classes\qBittorrent.torrent\shell]
@="open"

[HKEY_CURRENT_USER\SOFTWARE\Classes\qBittorrent.torrent\shell\open]

[HKEY_CURRENT_USER\SOFTWARE\Classes\qBittorrent.torrent\shell\open\command]
@="\"C:\\Program Files\\qBittorrent\\qbittorrent.exe\" \"%1\""

[HKEY_CURRENT_USER\SOFTWARE\RegisteredApplications]
"qBittorrent"="Software\\qBittorrent\\Capabilities"

[HKEY_CURRENT_USER\SOFTWARE\qBittorrent]

[HKEY_CURRENT_USER\SOFTWARE\qBittorrent\Capabilities]
"ApplicationIcon"="C:\\Program Files\\qBittorrent\\qbittorrent.exe,1"
"ApplicationName"="qBittorrent"
"ApplicationDescription"="Torrent downloader"

[HKEY_CURRENT_USER\SOFTWARE\qBittorrent\Capabilities\URLAssociations]
"magnet"="qBittorrent.magnet"

[HKEY_CURRENT_USER\SOFTWARE\qBittorrent\Capabilities\FileAssociations]
".torrent"="qBittorrent.torrent"

[HKEY_CURRENT_USER\SOFTWARE\qBittorrent\shell]

[HKEY_CURRENT_USER\SOFTWARE\qBittorrent\shell\open]

[HKEY_CURRENT_USER\SOFTWARE\qBittorrent\shell\open\command]
@="\"C:\\Program Files\\qBittorrent\\qbittorrent.exe\""
workaround is uninstall capable apps

the workaround to open magnets with qBittorrent until we fix this is to uninstall the magnet capable apps because HKEY_CURRENT_USER\Software\Classes\magnet is ignored if there's a HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\Associations\UrlAssociations\magnet key
Post Reply