Windows Server comes with default “Enhanced Security Configuration” protections for Internet Explorer that block websites that aren’t trusted. The problem? This blocks you from installing a proper browser like Chrome and getting on with the rest of your job.

Disabling IE Protections

The way to properly disable IE Enhanced Security Configuration is to open up the Server Manager app, and then click “Configure this local server.”

Next, under “Properties,” find IE Enhanced Security Configuration and turn it off.

From there, you can open up IE, download the Chrome/Firefox installer, and get on with your day.

If that doesn’t work, you can try manually enabling file downloads under Internet Options > Security > Custom Level > Downloads.

The Easy Way (with PowerShell)

Of course, there’s a quicker way to do this using a PowerShell script.

The following script will download the Chrome installer and run it, and Chrome will be auto-installed. You can then launch it from the desktop icon or the start menu.

If you’re using Windows Server 2012, you can use this script instead:

Auto-Installing on AWS

If you’re on AWS, then you’re in luck, because you can automatically run commands on server creation using EC2 User Data.

When you create the server, you can upload a text file or just paste in the command. You can also automate this process if you’re launching from the CLI.

Then, all you need to do is paste the Powershell script within a  block, like so: