{"id":433,"date":"2017-12-09T12:39:03","date_gmt":"2017-12-09T11:39:03","guid":{"rendered":"http:\/\/kolbi.cz\/blog\/?p=433"},"modified":"2018-08-23T15:46:03","modified_gmt":"2018-08-23T14:46:03","slug":"getuserfta-display-user-file-type-associations-on-windows-10-and-server-2016","status":"publish","type":"post","link":"https:\/\/kolbi.cz\/blog\/2017\/12\/09\/getuserfta-display-user-file-type-associations-on-windows-10-and-server-2016\/","title":{"rendered":"GetUserFTA &#8211; Display User File Type Associations on Windows 8\/10 and Server 2012\/2016"},"content":{"rendered":"<p>ever since i have created <a href=\"\/blog\/2017\/10\/25\/setuserfta-userchoice-hash-defeated-set-file-type-associations-per-user\/\" target=\"_blank\" rel=\"noopener\">SetUserFTA<\/a>, i missed a command to display the filetypes (extension and ProgId) that are associated for the current user. using assoc.exe we can only query the local machine, but we don&#8217;t have any command to list the &#8220;protected&#8221; associations under the HKCU (or maybe i just dont know about it). we can export some of those with dism, but the list seems not to be complete &#8211; it will only export the ones, that were changed manually with the settings app.<\/p>\n<p>this is where\u00a0<strong>GetUserFTA<\/strong> jumps in.<\/p>\n<p><strong>UPDATE 23.08.2018<\/strong> &#8211; GetUserFTA is now obsolete. you can achieve the same using &#8220;<a href=\"http:\/\/kolbi.cz\/blog\/2017\/10\/25\/setuserfta-userchoice-hash-defeated-set-file-type-associations-per-user\/\" target=\"_blank\" rel=\"noopener\">SetUserFTA<\/a>.exe get&#8221;<\/p>\n<p>this little utility will crawl the current user&#8217;s registry and list every file extension that has a UserChoice Hash associated. It will ONLY list those with a Hash.<\/p>\n<p>and here is a bonus: <strong>you can create a config file for SetUserFTA with it!<\/strong><\/p>\n<p><strong>Example Screenshot<\/strong>:<\/p>\n<p><a href=\"http:\/\/kolbi.cz\/blog\/wp-content\/uploads\/2017\/12\/GetUserFTA.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-434\" src=\"http:\/\/kolbi.cz\/blog\/wp-content\/uploads\/2017\/12\/GetUserFTA.png\" alt=\"\" width=\"906\" height=\"834\" srcset=\"https:\/\/kolbi.cz\/blog\/wp-content\/uploads\/2017\/12\/GetUserFTA.png 906w, https:\/\/kolbi.cz\/blog\/wp-content\/uploads\/2017\/12\/GetUserFTA-300x276.png 300w, https:\/\/kolbi.cz\/blog\/wp-content\/uploads\/2017\/12\/GetUserFTA-768x707.png 768w\" sizes=\"auto, (max-width: 906px) 100vw, 906px\" \/><\/a><\/p>\n<p>pretty simple. just run it without any parameter and it will display all &#8211; with a hash protected &#8211; filetypes. if you wonder what these long ProgId&#8217;s are &#8211; those are universal apps. you can find a list of them in:\u00a0<strong><em>C:\\Windows\\System32\\OEMDefaultAssociations.xml<\/em><\/strong> &#8211; i didn&#8217;t find an easy way to display these applications. if you know one, please let me know.<\/p>\n<blockquote><p><strong>GetUserFTA.exe &gt;SetUserFTA.config<\/strong><\/p><\/blockquote>\n<p>this will create a config file that you can use with SetUserFTA! now you can configure an example user on a machine (set all the associations how they should be), export all the associations and import them with SetUserFTA &#8211; for any user you want!<\/p>\n<p>of course you can filter the output with the find command:<\/p>\n<blockquote><p><strong>GetUserFTA.exe | find &#8220;pdf&#8221;<\/strong><\/p><\/blockquote>\n<p><a href=\"http:\/\/kolbi.cz\/blog\/wp-content\/uploads\/2017\/12\/findpdf.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-435\" src=\"http:\/\/kolbi.cz\/blog\/wp-content\/uploads\/2017\/12\/findpdf.png\" alt=\"\" width=\"532\" height=\"78\" srcset=\"https:\/\/kolbi.cz\/blog\/wp-content\/uploads\/2017\/12\/findpdf.png 532w, https:\/\/kolbi.cz\/blog\/wp-content\/uploads\/2017\/12\/findpdf-300x44.png 300w\" sizes=\"auto, (max-width: 532px) 100vw, 532px\" \/><\/a><\/p>\n<p>this will list the ProgId for the .pdf extension associated for the current user. you can redirect the output to a file &#8211; just like showed in the example above.<\/p>\n<p>no more magic &#8211; thats all that this utility does. simple, but effective!<\/p>\n<h1>Download<\/h1>\n<p>you can download <a href=\"..\/..\/..\/..\/..\/GetUserFTA.zip\" target=\"_blank\" rel=\"noopener\">GetUserFTA<\/a> here. SHA256 hashes below.<\/p>\n<p><strong>Version 1.1 &#8211; adds support for protocols (mailto, http, https, etc).<br \/>\nVersion 1.2 &#8211; eliminates Visual C runtimes dependency<br \/>\nVersion 1.3 &#8211;\u00a0reduced size, additional error handling, unicode support, EULA added<\/strong><\/p>\n<pre>GetUserFTA.zip:64290B4CAABD1E595DE10151F4205EAA66665A6C9D63ECA4AB815EDA6A5718A6\r\nGetUserFTA.exe:3FEE0677547BA1CC396BD4AD2C84A7D2C7DD3D741C3B9411EBE796F3A9FDF5C4<\/pre>\n<blockquote><p>help to keep this project and this blog alive &#8211; consider donating:<br \/>\n<a href=\"https:\/\/www.paypal.me\/Kolbicz\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" src=\"..\/..\/..\/..\/..\/paypal.png\" \/><\/a><br \/>\nif you prefer cryptocurrencies, please contact me for the details.<\/p>\n<p>Thank you!<\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<div class=\"mh-excerpt\"><p>ever since i have created SetUserFTA, i missed a command to display the filetypes (extension and ProgId) that are associated for the current user. using <a class=\"mh-excerpt-more\" href=\"https:\/\/kolbi.cz\/blog\/2017\/12\/09\/getuserfta-display-user-file-type-associations-on-windows-10-and-server-2016\/\" title=\"GetUserFTA &#8211; Display User File Type Associations on Windows 8\/10 and Server 2012\/2016\">[&#8230;]<\/a><\/p>\n<\/div>","protected":false},"author":1,"featured_media":434,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8,6,5],"tags":[],"class_list":["post-433","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-citrix","category-windows","category-xenapp"],"_links":{"self":[{"href":"https:\/\/kolbi.cz\/blog\/wp-json\/wp\/v2\/posts\/433","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kolbi.cz\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kolbi.cz\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kolbi.cz\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kolbi.cz\/blog\/wp-json\/wp\/v2\/comments?post=433"}],"version-history":[{"count":16,"href":"https:\/\/kolbi.cz\/blog\/wp-json\/wp\/v2\/posts\/433\/revisions"}],"predecessor-version":[{"id":539,"href":"https:\/\/kolbi.cz\/blog\/wp-json\/wp\/v2\/posts\/433\/revisions\/539"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/kolbi.cz\/blog\/wp-json\/wp\/v2\/media\/434"}],"wp:attachment":[{"href":"https:\/\/kolbi.cz\/blog\/wp-json\/wp\/v2\/media?parent=433"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kolbi.cz\/blog\/wp-json\/wp\/v2\/categories?post=433"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kolbi.cz\/blog\/wp-json\/wp\/v2\/tags?post=433"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}