Silent Install of Chrome - Configure on first run from command line with NO user input

4,743 views
Skip to first unread message

Ron

unread,
Feb 25, 2015, 4:22:32 PM2/25/15
to chromium...@chromium.org
Chrome 40.0.2214.115

I have a scripted a process to install various apps and perform configuration on Windows machines (various OS's from 2008 Server through Windows 8.1). As part of that I am installing Chrome via 'ChromeStandaloneSetup.exe /SILENT /INSTALL' and would like to set the home page and perform initial Chrome configuration for each user programmatically. I am currently doing an auto logon for each user to get their Windows profile initialized along with other configuration items. Along with that I would like to be able to start Chrome.exe and pass parameters to set the home page and perform whatever initial setup is required by Chrome WITHOUT any user input.  I have found an impressive list of parameters that can be passed to Chrome.exe, but nothing to do what I want. I do not want a GUI or any operator input. Does anyone know what the CMD line parameters would be to do this?

I can do something like
Chrome.exe --homepage http://localhost:8080/
But that requires that the user click next, etc., which I want to avoid.

Thanks!

Pedro Muñoz

unread,
Feb 25, 2015, 8:59:27 PM2/25/15
to rfgugg...@gmail.com, chromium...@chromium.org
Have you considered using the ADM templates? 

--
--
Chromium Discussion mailing list: chromium...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-discuss

To unsubscribe from this group and stop receiving emails from it, send an email to chromium-discu...@chromium.org.

Ron

unread,
Feb 25, 2015, 10:14:20 PM2/25/15
to chromium...@chromium.org, rfgugg...@gmail.com
Thanks for the reply.
I don't know anything about ADM templates. Don't they need to be applied via Group Policy?
I was hoping to find a way to do this from with my batch script on the local machine. For IE I can set the home page via a registry key.
I can launch Chrome.exe to let it go through all of its initial configuration, but I would like to be able to pass it parameters so that it does not post a GUI and require operator action. I have been playing around with a few of the hundreds of parameters for Chrome.exe like --homepage and --no-startup-window. But I don't have the right combination yet.

Pedro Muñoz

unread,
Feb 25, 2015, 10:29:43 PM2/25/15
to rfgugg...@gmail.com, chromium...@chromium.org
Yes, they are applied via Group Policy but you can add registry keys manually to configure all your settings in Chrome. You will need to the .MSI installer though and you computers in need to be in a work group or else Chrome will consider the registry keys malware. 

Bartosz Fabianowski

unread,
Feb 25, 2015, 11:28:09 PM2/25/15
to muno...@gmail.com, rfgugg...@gmail.com, chromium...@chromium.org
On 25 February 2015 at 19:28, Pedro Muñoz <muno...@gmail.com> wrote:
Yes, they are applied via Group Policy but you can add registry keys manually to configure all your settings in Chrome. You will need to the .MSI installer though

All versions of Chrome honor policies. You can use the MSI installer, but you do not have to.
 
and you computers in need to be in a work group or else Chrome will consider the registry keys malware. 

Ron

unread,
Feb 25, 2015, 11:48:59 PM2/25/15
to chromium...@chromium.org, muno...@gmail.com, rfgugg...@gmail.com
Wow! Seems like a long way to go for something so simple. All I wanted was to have Chrome available on the machine... not even the default browser. Just wanted it set up and available for those users that prefer Chrome. I may download the MSI and play with that... but I suspect I won't get far because I am currently doing all of this before putting the machine on a domain.

Pedro Muñoz

unread,
Feb 26, 2015, 12:33:21 AM2/26/15
to Ron, chromium...@chromium.org
We did the same thing at our company. We're stuck with IE 9 but our CTO said he wants Chrome as a secondary browser. We had to configure it so that end users don't treat it like Chrome at home. 
Reply all
Reply to author
Forward
0 new messages