JSON Example Code for Chrome’s Managed Bookmarks

Google has created Chrome ADMX files for administering Chrome via Active Directory. One of the features you might want to add in your environment are your companies websites to the bookmark bar in Chrome. Below is how you can add your own bookmarks via a Group Policy(GPO) to the end users browsers.

You’ll want to start by creating a GPO for your Managed Bookmarks.

Navigate to User Configuration > Policies > Administrative Templates > Google Chrome

Search for “Managed Bookmarks”

Enable this setting and add your JSON code to the Options text box. Keep in mind, if you don’t create a toplevel_name, the GPO will default the folder name to “Managed bookmarks” in the Chrome browser. Additional child folders can be created as well.

Example Code:

[
{"toplevel_name": "Company Links"}, 
	{"name": "Folder 1", "children": 
		[
		{"name": "Website 1", "url": "https://website1.com/"}, 
		{"name": "Website 2", "url": "https://website2.com/"}, 
		{"name": "Website 3", "url": "https://website3.com/"}, 
		{"name": "Website 4", "url": "https://website4.com/"}, 
		{"name": "Website 5", "url": "https://website5.com/"}, 
		{"name": "Website 6", "url": "https://website6.com/"}
		]
	},
   {"name": "Folder 2", "children": 
      [
	   {"name": "Website 7", "url": "https://website7.com/"}, 
	   {"name": "Website 8", "url": "https://website8.com/"}, 
	   {"name": "Website 9", "url": "https://website9.com/"}, 
	   {"name": "Website 10", "url": "https://website10.com/"}, 
	   {"name": "Website 11", "url": "https://website11.com/"}, 
	   {"name": "Website 12", "url": "https://website12.com/"}
      ]
   }
]

 

2 comments on “JSON Example Code for Chrome’s Managed Bookmarks”

  1. Paul Trimby Reply

    Very useful script. Worth noting that it can’t be directly copied into the field in the Google ADMX setting. I had to copy it into a text document, remove all the returns and then paste that. The settings field seems to not like carriage returms!!

Leave A Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.