Migrating from XP to 7 using USMT


  1. Posts : 2
    Windows 7
       #1

    Migrating from XP to 7 using USMT


    Hi,

    I wanted to migrate from my XP SP3 to 7 (7100). I followed the web tutorial ( Windows XP Migration | Migrate User Profiles | Windows 7 ) and copied the same batch file. I only changed some details as you can see below:

    Code:
     
    @ECHO OFF
    If exist C:\USMT\*.* xcopy C:\USMT\*.* /e /v /y C:\Windows\USMT\
    If exist D:\USMT\*.* xcopy D:\USMT\*.* /e /v /y C:\Windows\USMT\
    If exist E:\USMT\*.* xcopy E:\USMT\*.* /e /v /y C:\Windows\USMT\
    If exist F:\USMT\*.* xcopy F:\USMT\*.* /e /v /y C:\Windows\USMT\
    If exist G:\USMT\*.* xcopy G:\USMT\*.* /e /v /y C:\Windows\USMT\
    If exist I:\USMT\*.* xcopy I:\USMT\*.* /e /v /y C:\Windows\USMT\
     
    If exist C:\Windows\System32\DriverStore\FileRepository\acpi.inf_x86_neutral_99ab58497138c23a\acpi.inf cd C:\Windows\usmt\x86
    If exist C:\Windows\System32\DriverStore\FileRepository\acpi.inf_x86_neutral_99ab58497138c23a\acpi.inf scanstate.exe C:\store /v:13 /o /c /hardlink /nocompress /efs:hardlink /i:MigApp.xml /i:MigDocs.xml /offlineWinDir:c:\windows.old\windows /l:%windir%\usmt\scanstate.log /progress:%windir%\usmt\progress_scanstate.log
    If exist C:\Windows\System32\DriverStore\FileRepository\acpi.inf_x86_neutral_99ab58497138c23a\acpi.inf loadstate.exe C:\store /c /lac /hardlink /nocompress
    If exist C:\Windows\System32\DriverStore\FileRepository\acpi.inf_x86_neutral_99ab58497138c23a\acpi.inf :EOF
    However, when I run the batch file from my pen drive (I:\) I get all the files copied to C:\Windows\USMT\ but then it fails after some seconds. This is the full log I am having:

    Code:
    2009-06-20 13:08:39, Info                  [0x000000] USMT Started at 2009/06/20:13:08:39.043
    2009-06-20 13:08:39, Info                  [0x000000] Command line: scanstate.exe C:\store /v:13 /o /c /hardlink /nocompress /efs:hardlink /i:MigApp.xml /i:MigDocs.xml /offlineWinDir:c:\windows.old\windows /l:C:\Windows\usmt\scanstate.log /progress:C:\Windows\usmt\progress_scanstate.log
    2009-06-20 13:08:39, Status                [0x000000] Activity: 'MIGACTIVITY_COMMAND_LINE_PROCESSING'
    2009-06-20 13:08:39, Status                [0x000000] Activity: 'MIGACTIVITY_AUTO_GENERATE_OFFLINE_VERSION'
    2009-06-20 13:08:39, Warning               [0x000000] Get offline OS version: Unable to load software hive - c:\windows.old\windows\System32\config\Software (GLE: 32)
    2009-06-20 13:08:39, Info                  [0x000000] Script file specified: C:\Windows\USMT\x86\MigApp.xml[gle=0x00000002]
    2009-06-20 13:08:39, Info                  [0x000000] Script file specified: C:\Windows\USMT\x86\MigDocs.xml[gle=0x00000002]
    2009-06-20 13:08:39, Info                  [0x000000] Replacement Manifests are processed because this OS version has built-in component manifests
    2009-06-20 13:08:39, Info                  [0x000000] A ReplacementManifests folder was found. Manifests will be processed from there before using the manifests installed onto the system. The path is: C:\Windows\USMT\x86\ReplacementManifests
    2009-06-20 13:08:39, Info                  [0x000000] Starting the migration process[gle=0x000000cb]
    2009-06-20 13:08:39, Status                [0x000000] Activity: 'MIGACTIVITY_MIGRATION_START'
    2009-06-20 13:08:39, Info                  [0x000000] Excluding path: C:\Windows\USMT\x86
    2009-06-20 13:08:39, Info                  [0x000000] Excluding path: %SystemDrive%\store
    2009-06-20 13:08:39, Info                  [0x000000] Excluding path: C:\store
    2009-06-20 13:08:39, Info                  [0x000000] Excluding path: D:\store
    2009-06-20 13:08:39, Info                  [0x000000] Excluding path: F:\store
    2009-06-20 13:08:39, Info                  [0x000000] Excluding path: G:\store
    2009-06-20 13:08:39, Info                  [0x000000] Excluding path: H:\store
    2009-06-20 13:08:39, Info                  [0x000000] Excluding path: J:\store
    2009-06-20 13:08:39, Info                  [0x000000] Excluding path: C:\Windows\usmt\scanstate.log
    2009-06-20 13:08:39, Info                  [0x000000] Excluding path: C:\Windows\usmt\progress_scanstate.log
    2009-06-20 13:08:39, Info                  [0x000000] Excluding path: C:\Windows\USMT\x86\MigApp.xml
    2009-06-20 13:08:39, Info                  [0x000000] Excluding path: C:\Windows\USMT\x86\MigDocs.xml
    2009-06-20 13:08:39, Info                  [0x000000] Excluding path: %SystemDrive%\Boot
    2009-06-20 13:08:39, Info                  [0x000000] Excluding path: C:\Boot
    2009-06-20 13:08:39, Info                  [0x000000] Excluding path: D:\Boot
    2009-06-20 13:08:39, Info                  [0x000000] Excluding path: F:\Boot
    2009-06-20 13:08:39, Info                  [0x000000] Excluding path: G:\Boot
    2009-06-20 13:08:39, Info                  [0x000000] Excluding path: H:\Boot
    2009-06-20 13:08:39, Info                  [0x000000] Excluding path: J:\Boot
    2009-06-20 13:08:39, Info                  [0x000000] Excluding path: %SystemDrive%\Build
    2009-06-20 13:08:39, Info                  [0x000000] Excluding path: C:\Build
    2009-06-20 13:08:39, Info                  [0x000000] Excluding path: D:\Build
    2009-06-20 13:08:39, Info                  [0x000000] Excluding path: F:\Build
    2009-06-20 13:08:39, Info                  [0x000000] Excluding path: G:\Build
    2009-06-20 13:08:39, Info                  [0x000000] Excluding path: H:\Build
    2009-06-20 13:08:39, Info                  [0x000000] Excluding path: J:\Build
    2009-06-20 13:08:39, Info                  [0x000000] Excluding path: %SystemDrive%\InstalledRepository
    2009-06-20 13:08:39, Info                  [0x000000] Excluding path: C:\InstalledRepository
    2009-06-20 13:08:39, Info                  [0x000000] Excluding path: D:\InstalledRepository
    2009-06-20 13:08:39, Info                  [0x000000] Excluding path: F:\InstalledRepository
    2009-06-20 13:08:39, Info                  [0x000000] Excluding path: G:\InstalledRepository
    2009-06-20 13:08:39, Info                  [0x000000] Excluding path: H:\InstalledRepository
    2009-06-20 13:08:39, Info                  [0x000000] Excluding path: J:\InstalledRepository
    2009-06-20 13:08:39, Info                  [0x000000] Excluding path: %SystemDrive%\$RECYCLE.BIN
    2009-06-20 13:08:39, Info                  [0x000000] Excluding path: C:\$RECYCLE.BIN
    2009-06-20 13:08:39, Info                  [0x000000] Excluding path: D:\$RECYCLE.BIN
    2009-06-20 13:08:39, Info                  [0x000000] Excluding path: F:\$RECYCLE.BIN
    2009-06-20 13:08:39, Info                  [0x000000] Excluding path: G:\$RECYCLE.BIN
    2009-06-20 13:08:39, Info                  [0x000000] Excluding path: H:\$RECYCLE.BIN
    2009-06-20 13:08:39, Info                  [0x000000] Excluding path: J:\$RECYCLE.BIN
    2009-06-20 13:08:39, Info                  [0x000000] Excluding path: %SystemDrive%\RECYCLER
    2009-06-20 13:08:39, Info                  [0x000000] Excluding path: C:\RECYCLER
    2009-06-20 13:08:39, Info                  [0x000000] Excluding path: D:\RECYCLER
    2009-06-20 13:08:39, Info                  [0x000000] Excluding path: F:\RECYCLER
    2009-06-20 13:08:39, Info                  [0x000000] Excluding path: G:\RECYCLER
    2009-06-20 13:08:39, Info                  [0x000000] Excluding path: H:\RECYCLER
    2009-06-20 13:08:39, Info                  [0x000000] Excluding path: J:\RECYCLER
    2009-06-20 13:08:39, Info                  [0x000000] Excluding path: %SystemDrive%\Recycled
    2009-06-20 13:08:39, Info                  [0x000000] Excluding path: C:\Recycled
    2009-06-20 13:08:39, Info                  [0x000000] Excluding path: D:\Recycled
    2009-06-20 13:08:39, Info                  [0x000000] Excluding path: F:\Recycled
    2009-06-20 13:08:39, Info                  [0x000000] Excluding path: G:\Recycled
    2009-06-20 13:08:39, Info                  [0x000000] Excluding path: H:\Recycled
    2009-06-20 13:08:39, Info                  [0x000000] Excluding path: J:\Recycled
    2009-06-20 13:08:39, Info                  [0x000000] Excluding path: %SystemDrive%\System Volume Information
    2009-06-20 13:08:39, Info                  [0x000000] Excluding path: C:\System Volume Information
    2009-06-20 13:08:39, Info                  [0x000000] Excluding path: D:\System Volume Information
    2009-06-20 13:08:39, Info                  [0x000000] Excluding path: F:\System Volume Information
    2009-06-20 13:08:39, Info                  [0x000000] Excluding path: G:\System Volume Information
    2009-06-20 13:08:39, Info                  [0x000000] Excluding path: H:\System Volume Information
    2009-06-20 13:08:39, Info                  [0x000000] Excluding path: J:\System Volume Information
    2009-06-20 13:08:39, Info                  [0x000000] Excluding path: %SystemDrive%\$UPGRADE.~OS
    2009-06-20 13:08:39, Info                  [0x000000] Excluding path: C:\$UPGRADE.~OS
    2009-06-20 13:08:39, Info                  [0x000000] Excluding path: D:\$UPGRADE.~OS
    2009-06-20 13:08:39, Info                  [0x000000] Excluding path: F:\$UPGRADE.~OS
    2009-06-20 13:08:39, Info                  [0x000000] Excluding path: G:\$UPGRADE.~OS
    2009-06-20 13:08:39, Info                  [0x000000] Excluding path: H:\$UPGRADE.~OS
    2009-06-20 13:08:39, Info                  [0x000000] Excluding path: J:\$UPGRADE.~OS
    2009-06-20 13:08:39, Info                  [0x000000] Offline engine startup from WinDir - c:\windows.old\windows
    2009-06-20 13:08:39, Info                  [0x000000] Entering MigStartupOffline method
    2009-06-20 13:08:39, Info                  [0x0803c0] Initializing offline WinNT platform (Read/Write)
    2009-06-20 13:08:39, Info                  [0x080000] Platform is using admin privileges
    2009-06-20 13:08:39, Info                  [0x0803e2] Adding indirect mapping from HKLM\SAM to <C:\Windows.old\Windows\system32\config\sam> loaded at HKEY_LOCAL_MACHINE\$DEST$SAM (R/W)
    2009-06-20 13:08:39, Info                  [0x0803e4] Successfully mapped HKLM\SAM
    2009-06-20 13:08:39, Info                  [0x0803e2] Adding indirect mapping from HKLM\SECURITY to <C:\Windows.old\Windows\system32\config\security> loaded at HKEY_LOCAL_MACHINE\$DEST$SECURITY (R/W)
    2009-06-20 13:08:39, Info                  [0x0803e4] Successfully mapped HKLM\SECURITY
    2009-06-20 13:08:39, Info                  [0x0803e2] Adding indirect mapping from HKLM\SOFTWARE to <C:\Windows.old\Windows\system32\config\software> loaded at HKEY_LOCAL_MACHINE\$DEST$SOFTWARE (R/W)
    2009-06-20 13:08:39, Info                  [0x0803e4] Successfully mapped HKLM\SOFTWARE
    2009-06-20 13:08:39, Info                  [0x0803e2] Adding indirect mapping from HKLM\COMPONENTS to <C:\Windows.old\Windows\system32\config\components> loaded at HKEY_LOCAL_MACHINE\$DEST$COMPONENTS (R/W)
    2009-06-20 13:08:39, Info                  [0x0803e4] Successfully mapped HKLM\COMPONENTS
    2009-06-20 13:08:39, Info                  [0x0803e2] Adding indirect mapping from HKLM\SYSTEM to <C:\Windows.old\Windows\system32\config\system> loaded at HKEY_LOCAL_MACHINE\$DEST$SYSTEM (R/W)
    2009-06-20 13:08:39, Info                  [0x0803e4] Successfully mapped HKLM\SYSTEM
    2009-06-20 13:08:39, Info                  [0x0803e2] Adding indirect mapping from HKU\.DEFAULT to <C:\Windows.old\Windows\system32\config\default> loaded at HKEY_LOCAL_MACHINE\$DEST$DEFAULT (R/W)
    2009-06-20 13:08:39, Info                  [0x0803e4] Successfully mapped HKU\.DEFAULT
    2009-06-20 13:08:39, Info                  [0x0803e2] Adding indirect mapping from HKR to <C:\Windows.old\Windows\system32\config\userdiff> loaded at HKEY_LOCAL_MACHINE\$DEST$USERDIFF (R/W)
    2009-06-20 13:08:39, Info                  [0x0803e4] Successfully mapped HKR
    2009-06-20 13:08:39, Info                  [0x080000] COfflineWinNTPlatform::MapCurrentControlSet, current control set number is 1.
    2009-06-20 13:08:39, Info                  [0x0803df] Adding direct mapping from HKLM\SYSTEM\CurrentControlSet to <unknown registry key>\ControlSet001 (R/W)
    2009-06-20 13:08:39, Info                  [0x0803e1] Successfully mapped HKLM\SYSTEM\CurrentControlSet
    2009-06-20 13:08:39, Info                  [0x080000] Offline Platform Architechture - 32 bit (auto detect)
    2009-06-20 13:08:39, Info                  [0x080000] COfflineWinNTPlatform::GetMachineSid:  Offline MachineSID - S-1-5-21-1085031214-1364589140-725345543
    2009-06-20 13:08:39, Info                  [0x080000] COfflineWinNTPlatform::GetMachineGuid - return value -> {747f65de-5375-457e-b40e-bf7934bf326b}
    2009-06-20 13:08:39, Warning               [0x0803de] Failed to unload hive at HKEY_LOCAL_MACHINE\$DEST$COMPONENTS (error 1314)
    2009-06-20 13:08:39, Warning               [0x0809d4] Failed to close keymapper 'COMPONENTS': error 1314
    2009-06-20 13:08:39, Warning               [0x0803de] Failed to unload hive at HKEY_LOCAL_MACHINE\$DEST$COMPONENTS (error 1314)
    2009-06-20 13:08:39, Warning               [0x0803de] Failed to unload hive at HKEY_LOCAL_MACHINE\$DEST$SAM (error 1314)
    2009-06-20 13:08:39, Warning               [0x0809d4] Failed to close keymapper 'SAM': error 1314
    2009-06-20 13:08:39, Warning               [0x0803de] Failed to unload hive at HKEY_LOCAL_MACHINE\$DEST$SAM (error 1314)
    2009-06-20 13:08:39, Warning               [0x0803de] Failed to unload hive at HKEY_LOCAL_MACHINE\$DEST$SECURITY (error 1314)
    2009-06-20 13:08:39, Warning               [0x0809d4] Failed to close keymapper 'SECURITY': error 1314
    2009-06-20 13:08:39, Warning               [0x0803de] Failed to unload hive at HKEY_LOCAL_MACHINE\$DEST$SECURITY (error 1314)
    2009-06-20 13:08:39, Warning               [0x0803de] Failed to unload hive at HKEY_LOCAL_MACHINE\$DEST$SOFTWARE (error 1314)
    2009-06-20 13:08:39, Warning               [0x0809d4] Failed to close keymapper 'SOFTWARE': error 1314
    2009-06-20 13:08:39, Warning               [0x0803de] Failed to unload hive at HKEY_LOCAL_MACHINE\$DEST$SOFTWARE (error 1314)
    2009-06-20 13:08:39, Warning               [0x0803de] Failed to unload hive at HKEY_LOCAL_MACHINE\$DEST$SYSTEM (error 1314)
    2009-06-20 13:08:39, Warning               [0x0809d4] Failed to close keymapper 'SYSTEM': error 1314
    2009-06-20 13:08:39, Warning               [0x0803de] Failed to unload hive at HKEY_LOCAL_MACHINE\$DEST$SYSTEM (error 1314)
    2009-06-20 13:08:39, Warning               [0x0803de] Failed to unload hive at HKEY_LOCAL_MACHINE\$DEST$USERDIFF (error 1314)
    2009-06-20 13:08:39, Warning               [0x0809d4] Failed to close keymapper 'HKR': error 1314
    2009-06-20 13:08:39, Warning               [0x0803de] Failed to unload hive at HKEY_LOCAL_MACHINE\$DEST$USERDIFF (error 1314)
    2009-06-20 13:08:39, Warning               [0x0803de] Failed to unload hive at HKEY_LOCAL_MACHINE\$DEST$DEFAULT (error 1314)
    2009-06-20 13:08:39, Warning               [0x0809d4] Failed to close keymapper '.DEFAULT': error 1314
    2009-06-20 13:08:39, Warning               [0x0803de] Failed to unload hive at HKEY_LOCAL_MACHINE\$DEST$DEFAULT (error 1314)
    2009-06-20 13:08:39, Error                 [0x000000] MigStartupOffline caught exception: Win32Exception: Could not find PROGRAMFILES registry value. This is a critical error.: The system cannot find the file specified. [0x00000002] void __thiscall Mig::CPlatform::BuildSystemEnvironment_NT(class Mig::IDataStore *,class Mig::CEnvironment *,const class UnBCL::Version &)
    2009-06-20 13:08:39, Info                  [0x000000] Leaving MigStartupOffline method
    2009-06-20 13:08:39, Error                 [0x000000] Error while trying to start the migration process
    2009-06-20 13:08:39, Warning               [0x000000] Internal error 4 was translated to a generic error
    2009-06-20 13:08:39, Info                  [0x000000] Failed.
    2009-06-20 13:08:39, Info                  [0x000000]   Software malfunction or Unknown exception
    2009-06-20 13:08:39, Info                  [0x000000] USMT Completed at 2009/06/20:13:08:39.106
    2009-06-20 13:08:39, Info                  [0x000000] Entering MigShutdown method
    2009-06-20 13:08:39, Info                  [0x000000] Leaving MigShutdown method
    Any idea what I can do please? I changed to 7 on the sole idea that I can migrate. Have many stuff which I need working.

    Hope to hear from you soon


    Thanks
      My Computer


  2. Posts : 2
    Windows 7
    Thread Starter
       #2

    any one has any idea on this please?
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 05:29.
Find Us