Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Migrating from XP to 7 using USMT

20 Jun 2009   #1
yancho

Windows 7
 
 
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 System SpecsSystem Spec
.
25 Jun 2009   #2
yancho

Windows 7
 
 

any one has any idea on this please?
My System SpecsSystem Spec
Reply

 Migrating from XP to 7 using USMT




Thread Tools




Similar help and support threads
Thread Forum
Migrating users from Windows.old with USMT after re-install
Hi all, I had to reinstall Windows 7 Pro SP1 after moving the hard drive to a new computer where it wouldn't wake up. I used MS' User State Migration Tool (USMT) with the expectation that I could migrate all the users from Windows.old to the current install. After reading the docs and a few...
Installation & Setup
Help on migrating Win 7 Pro to SSD
Congratulations to all the geeks and responders that make this forum so valuable! I have been trying to absorb a lot of the postings about moving the OS to SSD, to the extent that may brain is overloaded with 'how tos' and 'gotchas'. I am still confused with moving/relocating user profiles/user...
Installation & Setup
Migrating to x64 CPU. What all things should I do ?
My existing Intel Core 2 Duo is having probs.. so I planned to build a new CPU at low cost. Specs: AMD Athlon X2 260 Biostar N68S3B Motherboard 8GB DDR3 RAM Liteon DVD writer ASUS EAH 5450 1GB Gfx card 500GB HDD - Seagate
General Discussion
Migrating to x64 from x32
Hi there. I'm currently running Win 7 Ultimate 32 bit. I bought the genuine key from eB*y. The seller said that the key can activate both 32 bit or 64 bit. And i'm already activate it for 32 bit version. I'm planning moving to 64 bit. Can i use that key, that already activated for 32 bit,...
Windows Updates & Activation
Having problems using USMT for vhd sysprep!
Hey there. I sysprep'ed my VHD, it booted fine BUT it FORCED me to make a new account, which I do not want to do. I had a custom named administrator as the only admin/user on the box before I made the image etc.. It's fine for it to boot with that custom named administrator, it's what I...
Virtualization
Migrating from XP to Win 7 possible~
Migrating from Windows XP to Windows 7 Beta with Microsoft Deployment Toolkit 2010 Beta | Media | TechNet Edge fyi.. chris
Installation & Setup


Our Sites

Site Links

About Us

Find 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 02:34.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App