Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Issue: We have a number of bookmarks that we need to publish to our users computers that are bound to active directory. We can easily accomplish this with group policy for Internet Explorer. At the present time, I am not able to locate a way in which to publish these same set of bookmarks to our staff user's computers for FireFox. Each computer in our organization has FireFox installed on it and we need to keep the core set of bookmarks the same for both browsers. I was curious if there was a way to send these out to FireFox through group policy in case we needed to edit them again in the future.

UPDATE: We have many versions of FireFox that are greater than v3.6. We also are wanting to append these bookmarks to all users even for users with existing profiles.

share|improve this question
1  
Which version of FF? –  squillman Sep 15 '11 at 21:12
3  
@squillman These days, it probably changes weekly. –  Shane Madden Sep 15 '11 at 21:14
    
At the present, it does not matter to me. We have many different versions installed on our computers. –  John Sep 15 '11 at 21:15
    
Are you ok with completely over-writing all of their bookmarks? Or do you want to simply append/replace/delete some? –  Zoredache Sep 15 '11 at 21:16
    
@Shane Yes. I was thinking, though, that they'd switched bookmarks over into a sqlite db but that doesn't seem to be the case. –  squillman Sep 15 '11 at 21:18

1 Answer 1

up vote 4 down vote accepted
+50

The simple way to do this is to create a batch script that copies the bookmarks from a network share to the user's profile. The assign the script to run at login time using GPO.

EDIT: Sorry for the previous answer. Apparently Firefox bookmarks have been in a sqlite database since v3.

You have work to do. According to this page you can use sqlite to query the places.sqlite database and retrieve records. The Mozilla developer page is here. The sqlite executables are available for download here:

And you can use the SQLite manager Add-on for firefox to learn the database layout so you can script the adds.

share|improve this answer
2  
It sure seems like a simple copy is almost certainly a bad idea. Since it will over-write the users bookmarks and history. You will also have to deal with the fact that the Firefox Profiles, by default, use a randomly generated directory per profile. –  Zoredache Sep 15 '11 at 21:18
    
Can this be done without destroying the user's existing bookmarks? What about machines that have more than one use, how do you update all of the local user's FireFox profiles with the new bookmarks - again without destroying their existing bookmarks? –  John Sep 15 '11 at 21:18
    
@John Firefox >3.5 uses sqlite DBs for just about everything these days, so it should be possible to modify the bookmarks programmatically. –  Andrew Sep 16 '11 at 6:40
    
I believe this answer should be accepted unless you are looking to have someone write the script for you. –  sinping Oct 5 '11 at 15:05
    
The questions remain - Is there an alternate way to do this? Perhaps, an easier way to do this? –  John Oct 5 '11 at 15:53

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.