![]() Which is also used only if it's not overridden by: Moreover, in case of mailto they are mandatory and so rendering the Classes values for mailto useless. There were changes in recent Windows versions and now, there are more places in registry which will further override shell associations from Classes. Registry entries for mailto protocol are under HKLM\SOFTWARE\Classes\mailto and as it is with other Classes, they could be overridden by entries for CURRENT_USER, under HKCU\SOFTWARE\Classes\mailto Quoting the relevant paragraph for your question, from papo's answer: I would most appreciate if anyone would share reliable information or documentation that explains this topic! Maybe there is a Win32 API function that returns the correct value?įor Windows 10, this seems to be different - see the discussion here: So when did this change? Has the wrong value on machine B any meaning? If not, why does it get written there in the first place? Does the mix of 64bit and 32bit email clients on the same computer change anything? When looking at the plethora of information that points to HKLM\Software\Clients\Mail, it seems obvious that previous versions of Windows handled this differently and always wrote to that location. It makes kinda sense, that Win7 now seems to hold a separate default mail client for each user, but it appears rather inconsistent. I want my application to handle this correctly for all cases. On B, both those keys contain Microsoft Outlook as the default string value, which is clearly wrong.įurther investigation revealed that the correct value seems to be written to HKCU\Software\Clients\Mail on both machines. ![]() On machine A, both HKLM\Software\Clients\Mail and HKLM\Software\Wow6432Node\Clients\Mail have an empty string as the default string value. However, the state of the registry is not as I expected it: I have two machines running Win7 64bit, let's call them A and B.Ī has Outlook 2010 64bit and Thunderbird 3 32bit installed.ī has Outlook 2007 32bit and Thunderbird 3 32bit installed.īoth A and B have Thunderbird set as their default mail client. However, this seems not to be true for all OSs and/or situations: Put the command line into the login script and you are all set.In order to find out what the default email client is, I found the same information over and over again: Look at the default string in HKLM\Software\Clients\Mail. If Group Policy is out of the question, this command line should be the next option to try. The default app association will take place next time when the user signs in again. Then, open Group Policy Editor, go to the following Computer Configuration > Administrative Templates > Windows Components > File ExplorerĪnd double-click the Set a default associations configuration file policy and set it to Enable, with the path to the app association XML file you just exported. To make sure that Outlook is the default mail app for opening mail-to links, check and see if you can find a line like below in the XML file you exported. DISM /Online /Export-DefaultAppAssociations:"d:\AppAssociations.xml" Run the following command in an elevated command prompt window. ![]() A Group Policy implementation would be much easier.įirst, export the current app associations to an XML file. It could be annoying and tedious if you manage hundreds of computers. Then, you will need to do it all over again. It stays this way until the next time your Windows 10 gets another big feature update. ![]() Click Start and the gear icon to open the Settings app, go to Apps and Default apps, and set Outlook as the Email default app there. But if you are using Microsoft Outlook, you do want to change that default mail app to Outlook, instead of the Mail app that is never configured for your email account. Out of the box, the default mail app is the Mail app that comes with Windows 10. What does the default mail app do? It opens the mail app whenever you click on a mail-to email link on the web page.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |