none
how to Move Registry Keys with USMT 4.0

    Question

  •  

    hi !

    we are moving all users to Windows 7 . the migration works just fine .

    i have a problem with application names "Call Pilot for Outlook" that saves settings in the registry and %APPDA% .

    This application has a new version that we use in the New Windows 7 Image and the Registry path and the %APPDATA% path  to the user settings has been changed .

    Old location :

    HKCU\Software\Nortel\*

    New Location :

    HKCU\Software\Avaya\*

    same for the %APPDAT% path ( Old - Nortel New - Avaya)

    i created custom XML for that migration and i'm trying to use the MigXmlHelper.RelativeMove function to change between this  locations and it is work only for the APPDATA folder . the registry keys does not change.

    i also try to use the MigXmlHelper.Move and MigXmlHelper.ExcactMove but it is not move the registry Keys .

    above is my Custom XML :

    <?xml version="1.0" encoding="UTF-8"?>

    <migration urlid="http://www.microsoft.com/migration/1.0/migxmlext/Nortel">

                <component type="Application" context="User">

                            <displayName>Callpilot-AppData</displayName>

    - <role role="Data">

    - <detection>

    - <conditions>

                                                                <condition>MigXmlHelper.DoesObjectExist("Registry","HKCU\Software")</condition>

                                                    </conditions>

                                        </detection>

    - <rules context="User">

    - <include>

    - <objectSet>

                                                                            <pattern type="File">%CSIDL_APPDATA%\Nortel\* [*]</pattern>

                                                                            <pattern type="File">%CSIDL_APPDATA%\Avaya\* [*]</pattern>

                                                                </objectSet>

                                                    </include>

                                                    <locationModify script="MigXmlHelper.RelativeMove('%CSIDL_APPDATA%\Nortel\','%CSIDL_APPDATA%\Avaya\')">

                                                                <objectSet>

                                                                            <pattern type="File">%CSIDL_APPDATA%\Nortel\* [*]</pattern>

                                                                </objectSet>

                                                    </locationModify>

                                        </rules>

                            </role>

                </component>

               

                <component type="Application" context="User">

                            <displayName>Callpilot-Registry</displayName>

                            <role role="Data">

                            - <detection>

    - <conditions>

                                                                <condition>MigXmlHelper.DoesObjectExist("Registry","HKCU\Software")</condition>

                                                    </conditions>

                                        </detection>

                                        <rules>

                                                    <include>

                                                                <objectSet>

                                                                            <pattern type="Registry">HKCU\Software\Nortel\* [*]</pattern>

                                                                            <pattern type="Registry">HKCU\Software\Avaya\* [*]</pattern>

                                                                </objectSet>

                                                    </include>

                                                    <locationModify script="MigXmlHelper.RelativeMove('HKCU\Software\Nortel\','HKCU\Software\Avaya\')">

                                                                <objectSet>

                                                                            <pattern type="Registry">HKCU\Software\Nortel\* [*]</pattern>

                                                                           

                                                                </objectSet>

                                                    </locationModify>

                                        </rules>

                            </role>

                </component>

               

    </migration>

     

    Tuesday, February 14, 2012 11:32 AM

All replies

  • Have you specified the XML in CS.ini?

    Paste the usmtcapture.log and usmtrestore.log from c:\minint\smsosd\osdlogs or c:\windows\temp\deploymentlogs on some site.

    Note: Please dont paste the log on this thread.


    regards, Vik Singh

    Wednesday, February 15, 2012 6:10 AM
  • hi . thanks for reply !

    what is the CS.ini ?

    note that i'm using SCCM OSD.

    here is link to the log files

    Scanstate :

    http://dl.dropbox.com/u/19995480/scanstate.log

    Loadstate :

    http://dl.dropbox.com/u/19995480/loadstate.log


    Wednesday, February 15, 2012 7:27 AM
  • This Forum is MDT specific. However, USMT 4.0 works the same way. I will have a look at the logs in a while as Websense @ work does not allow me to access the logs on Personal Storage Site.

    CS.ini is CustomSettings.ini used in Microsoft Deployment Toolkit.

    For SCCM OSD post questions here


    regards, Vik Singh

    Wednesday, February 15, 2012 7:36 AM