Skip to main content
Question

Force Chrome Relaunch After Update

  • January 24, 2025
  • 9 replies
  • 53 views

Forum|alt.badge.img+6

I'm still fuzzy on how to force Chrome to restart after an update without having the user have to do it. I understand that I can use Mac Updates to automatically push updates, but I don't see how to force a relaunch. We run into this pretty often where there is an update, but the users don't relaunch their browser. Any suggestions? What am I missing? 

9 replies

Forum|alt.badge.img+8
  • Valued Contributor
  • January 24, 2025

You want  to set the action on startup key  to restore last session. Note this is a security concern in certain industries


Forum|alt.badge.img+6
  • Author
  • Contributor
  • January 24, 2025

You want  to set the action on startup key  to restore last session. Note this is a security concern in certain industries


I'm not seeing action on startup as an option. Where is that at? 


Forum|alt.badge.img+6
  • Author
  • Contributor
  • January 24, 2025

If forcing a restart isn't best practice is there an option to require a restart before being able to do anything else? 


Forum|alt.badge.img+1

Try "Files and Processes" pane to executed command.
open -a "/Applications/Google Chrome.app"


AJPinto
Forum|alt.badge.img+26
  • Legendary Contributor
  • January 25, 2025

If you are using Jamf Mac Apps, there is an option under End User Experience to set a post-update action, and you can tell Jamf to relaunch the application after it finishes updating. If you are using a policy, as @pacificusexpell said, you just need to use files and processes command to launch the app.

 

 


shrisivakumaran
Forum|alt.badge.img+8

You can add in post install script or files and process to run after installed the pkg file, also you can add notification in the script.

/usr/bin/open -a "Google Chrome" chrome://restart

Forum|alt.badge.img+6
  • Author
  • Contributor
  • January 25, 2025

I have already added the post update action in the end user experience, but my laptop didn't restart. The update was already installed but I haven't relaunched the browser yet. I wonder if Jamf needs to install the update (instead of Chrome doing it) for the relaunch to trigger. 


AJPinto
Forum|alt.badge.img+26
  • Legendary Contributor
  • January 25, 2025

I have already added the post update action in the end user experience, but my laptop didn't restart. The update was already installed but I haven't relaunched the browser yet. I wonder if Jamf needs to install the update (instead of Chrome doing it) for the relaunch to trigger. 


The post update action does not restart the computer, it restarts the application if it is already open. If the application is not opened, Jamf just updates the application and moves on.


You may need to call Jamf Customer support for an explanation of how this workflow functions. 


Forum|alt.badge.img+6
  • Author
  • Contributor
  • January 25, 2025

The post update action does not restart the computer, it restarts the application if it is already open. If the application is not opened, Jamf just updates the application and moves on.


You may need to call Jamf Customer support for an explanation of how this workflow functions. 


Right, I meant restart my browser not restart my laptop.