{"id":99985,"date":"2018-10-16T07:00:00","date_gmt":"2018-10-16T21:00:00","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/oldnewthing\/?p=99985"},"modified":"2019-12-21T08:06:38","modified_gmt":"2019-12-21T16:06:38","slug":"20181016-00","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/oldnewthing\/20181016-00\/?p=99985","title":{"rendered":"Why does Windows ask me to pick a program with which to open a file, even when I already specified which program I want to use to open the file?"},"content":{"rendered":"<p>So you&#8217;re working at your computer, everything is humming along just fine, and then when you double-click a file, instead of launching the associated application, Windows asks you what program you want to use to launch the document. Why doesn&#8217;t it just follow the instructions you gave it already?<\/p>\n<p>A customer installed a new program that supports XYZ files, but was careful not to let that program take over as the XYZ file handler. But when they double-click a XYZ file, they still get the &#8220;How do you want to open this file?&#8221; dialog.<\/p>\n<div style=\"width: 25pc; border: solid 1px #e0e0e0; color: black; background-color: white; font-size: 11pt; font-family: Segoe UI, sans-serif;\">\n<div style=\"font-size: 15pt; margin: 1ex;\">How do you want to open this file?<\/div>\n<div style=\"font-size: 13pt; margin: 1ex;\">Keep using this app<\/div>\n<div style=\"background-color: #0c84db; padding: .5ex 1ex;\">\n<table style=\"color: white;\" border=\"0\">\n<tbody>\n<tr>\n<td style=\"height: 40px; width: 40px; text-align: center; background-color: #4aa02c;\" valign=\"top\"><span style=\"font-size: 20pt;\">\u22d0<\/span><\/td>\n<td style=\"padding-left: 1em; font-size: 11pt;\">Contoso Deluxe<br \/>\n<span style=\"font-size: 9pt;\">The industry leader in XYZ visualization<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<div style=\"font-size: 12pt; margin: 1ex;\">\n<div style=\"padding-bottom: 1ex; border-bottom: solid 1px #e0e0e0;\">Other options<\/div>\n<\/div>\n<div style=\"padding: .5ex 1ex;\">\n<table border=\"0\">\n<tbody>\n<tr>\n<td style=\"height: 40px; width: 40px; text-align: center; background-color: #add8e6;\" valign=\"top\"><span style=\"font-size: 20pt;\">\u2112<\/span><\/td>\n<td style=\"padding-left: 1em; font-size: 11pt;\">LitWare Light<br \/>\n<span style=\"font-size: 9pt; color: #808080;\">New<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<div style=\"padding: .5ex 1ex;\">\n<table border=\"0\">\n<tbody>\n<tr>\n<td style=\"height: 3em; width: 3em;\">\u00a0<\/td>\n<td style=\"padding-left: 1em; font-size: 11pt;\">Look for an app in the Store<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<div style=\"padding: .5ex 1ex; color: #0c84db;\">More apps \u2186<\/div>\n<div style=\"padding: 1ex;\">\u2610 Always use this app to open .xyz files<\/div>\n<div style=\"padding: 2ex; display: flex; justify-content: flex-end;\">\n<div style=\"background-color: #cccccc; padding-top: 1ex; text-align: center; width: 10pc; height: 2.5em;\">OK<\/div>\n<\/div>\n<\/div>\n<p>&#8220;Could you please confirm whether this is expected behavior? If so, what is it that changes when a new app is installed that triggers this prompt?&#8221;<\/p>\n<p>Yes, this is expected.<\/p>\n<p>If an app is installed that registers support for a file type, then the next time you launch a file of that type, Windows will confirm that you want to stay with the app you have, rather than switch to the new one.<\/p>\n<p>You should be prompted only once per file type, at least until you install another app that registers for that file type.<\/p>\n<p>Why does Windows prompt you one more time after installing a program that supports the file type?<\/p>\n<p>Well, you may have installed that program with the intention of making it the default handler. Or conversely, a recently-installed program may have forced itself as the default handler (possibly by nefarious means), and this gives you a chance to switch it back.<\/p>\n<p>In both cases, the dialog saves you a trip to the <i>Choose default apps by file type<\/i> settings page, which is important because most users don&#8217;t even realize that such a page even exists.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>It&#8217;s just double-checking after the situation has changed.<\/p>\n","protected":false},"author":1069,"featured_media":111744,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[104],"class_list":["post-99985","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-oldnewthing","tag-tipssupport"],"acf":[],"blog_post_summary":"<p>It&#8217;s just double-checking after the situation has changed.<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/posts\/99985","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/users\/1069"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/comments?post=99985"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/posts\/99985\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/media\/111744"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/media?parent=99985"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/categories?post=99985"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/tags?post=99985"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}