title: Group policy to make Chrome open files automatically after download
body: <p>I am in the process of updating our currently existing Chrome distribution so that when a user downloads a .pdf file, the file is opened automatically.</p>
  <p>As a first step, I was able to prevent Chrome from opening the pdf in its internal pdf viewer and could do a registry entry by using <code>AlwaysOpenPdfExternally</code>. This way it was downloading the file immediately and not opening it in the Chrome viewer.</p>
  <p>I'd like to use Adobe to view the file automatically after download.
  Unfortunately I was not able to find a registry entry. Nor was I able to find a GPO entry to be changed for Chrome.</p>
  <p>I had found the following PowerShell script to be started upon logon of the user. However, testing it did not give me the result I was looking for.
  The given entry <code>extensions_to_open</code> was not existing even after starting the script.</p>
  <p>The current version of Chrome used is 66.255.</p>
  <p>I would be happy for any help.</p>
  <p><strong>Edit</strong>: I am able to get the file to be opened automatically by inserting the given line here:
  <a href="https://stackoverflow.com/questions/20144948/is-there-any-way-to-programatically-force-always-open-files-of-this-type-for-a">Is there any way to programatically force &quot;Always open files of this type&quot; for a specific file type in Chrome?</a>
  however, I am unsure of how to distribute the line of code into every PC in my network.</p>
  <p><strong>Edit</strong>: Chrome offers Group Policy Templates which should be importet into the active directory of your Windows Server. Once imported into your GPO, Chrome offers the setting: &quot;Always open Pdf files externally&quot;. Once you check this feature, file should not automatically open in the internal PDF viewer.</p>