PSM - How to make Chrome prompt for download after PSM server has been hardened
Objective
|
How to make Chrome prompt for download after PSM server has been hardened?
|
Environment
10.1;10.2;10.3;10.4;10.5;10.6;10.7;10.10;11.1;11;11.2;11.3;11.4;11.5;11.6;11.7;12.0;12.1;12.2;11.9;11.8;14.0;14.2;14.6
Procedure
|
After PSM hardening script had been applied, Chrome hardening policies would be applied. As part of the policy, DownloadDirectory, is set to the following:
${profile}\Downloads
As such when the user attempts to download a file in Web application session in PSM, it would download to the PSM shadow user profiles's download folder. This is because PSM shadow user account is used to start the session.
Example:
|
If the changes above do not persist through a reboot or gpupdate /force, here is an alternative method to update them:
a. Download the “policy_templates.zip” file from Google and copy it to the PSM server.
https://dl.google.com/dl/edgedl/chrome/policy/policy_templates.zip
b. Extract the zipped file containing the Google Chrome templates
c. Go to policy_templates\windows\admx folder
d. Copy Chrome.admx file to C:\Windows\PolicyDefinitions
e. Return to \policy_templates\windows\admx\en-US
f. Copy Chrome. adml to C:\Windows\PolicyDefinitions\en-US
g. Run gpedit.msc command from commandline
h. Navigate to Computer Configuration | Administrative Templates | Google Chrome
i. Set “Set download directory” to “Disabled” and it will be removed from the registry.
j. Set “Ask where to save each file before downloading” to EnabledNote: Setting names in step
i and j may vary depending on the installed version of Chrome.
Note: Setting names in step i and j may vary depending on the installed version of Chrome.
Additional Information
Details
Q:
If the DownloadDirectory key returns or the PromptForDownloadLocation key does not retain the correct setting after reboot or when running gpupdate /force, there is an alternative way to update them:
a. Download the attached file "chrome.adm" and copy it to the PSM server.
b. Open gpedit.msc
c. Navigate to Computer Configuration | Administrative Templates
d. Right click Administrative Templates and choose "Add/Remove Templates"
e. Click the Add button
f. Navigate to the "chrome.adm" file and click Open.
g. Click close on the window
h. Navigate to Computer Configuration | Administrative Templates | Classic Administrative Templates (ADM) | Google | Google Chrome
i. Depending on which version of Chrome you have installed, the setting may be named differently:
Ask where to save each file before downloading (PromptForDownloadLocation key)
Set download directory (DownloadDirectory key)
i. Set "Ask where to save each file before downloading" to Enabled