/build/static/layout/Breadcrumb_cap_w.png

USMT XML Script to Google Chrome Bookmarks capture

Hi Guys i have spend lot of time working to capture google chrome bookmarks can someone plz help by posting google chrome bookmark xml code so that i can capture google chrome bookmarks plzzz

 

Thanks


3 Comments   [ + ] Show comments
  • @jegolf, I'm not an expert at writing USMT templates so correct me if I'm wrong, but your xml seems to be messed up. I tried to use it and I'm getting errors. Upon review of the logs it says xml is not properly formated when it gets to the line for <environment name="GlobalEnv">. I looked up the environment tag and it's supposed to be for declaring environment variables. I don't see you declaring them properly and you never close the tag in the XML. Am I off the mark or do these actually work for you?

    reference here: https://technet.microsoft.com/en-us/library/hh824899.aspx#BKMK_environment - Zouleous 9 years ago
  • I deleted these two lines and it works fine now. Not sure if there was a purpose to them. As far as I can tell they just aren't necessary the way you wrote it.

    <environment name="GlobalEnv"/>
    <environment name="GlobalEnvX64"/> - Zouleous 9 years ago
  • Also, I just found out your XML is not valid. Your destination cleanup must be moved to the rules section to make it valid. Once you do then the XML correctly validates to the XML schema file for USMT (MigXML.xsd). - Zouleous 9 years ago

Answers (1)

Posted by: jegolf 10 years ago
Red Belt
0

Here's what we use:

 <!-- Google Chrome -->
    <component context="UserAndSystem" type="Application">
        <displayName _locID="migapp.chrome1">Google Chrome</displayName>
        <environment name="GlobalEnv"/>
        <environment name="GlobalEnvX64"/>
        <role role="Settings">
            <destinationCleanup>
                <objectSet>
                    <pattern type="File">%CSIDL_LOCAL_APPDATA%\Google\Chrome\User Data\*\Cache\* [*]</pattern>
                </objectSet>
            </destinationCleanup>
            <detection>
                <conditions>
                    <condition>MigXmlHelper.DoesObjectExist("Registry","%HklmWowSoftware%\Google\Chrome\")</condition>
                </conditions>
            </detection>
            <rules context="User">
                <include>
                    <objectSet>
                        <pattern type="File">%CSIDL_LOCAL_APPDATA%\Google\Chrome\User Data\* [*]</pattern>
                    </objectSet>
                </include>
                <exclude>
                    <objectSet>
                        <pattern type="File">%CSIDL_LOCAL_APPDATA%\Google\Chrome\User Data\*\Cache\* [*]</pattern>
                    </objectSet>
                </exclude>
                <merge script="MigXmlHelper.SourcePriority()">
                    <objectSet>
                        <pattern type="File">%CSIDL_LOCAL_APPDATA%\Google\Chrome\User Data\* [*]</pattern>
                    </objectSet>
                </merge>
            </rules>
        </role>
    </component>

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ