Link to home
Start Free TrialLog in
Avatar of leonardrogan
leonardrogan

asked on

Windows 7 RC1 - USMT Batch file requested

Hello folks,

Installed RC1 of Windows 7 and yes lost all settings etc as you'd expect.

Old files and settings in the windows.old file.  I've had a look at the USMT from the IAK and when looking at the .wmv file from microsoft with regards to migrating files and settings back from the windows.old file they used a batch file to call and to implement hard-links.

The WMV file is here:
http://www.microsoft.com/downloads/details.aspx?FamilyID=2274C6C3-BC26-45D5-A32C-F6F44F980518&displaylang=en

for your viewing.

I'd like to know if anyone knows where I can obtain such a batch file.  I've located one but it doesn't transfer all the programs and settings (just the profile).  In the video it looked seamless with all of the applications working as well.

Any advise would be appreciated.  OR even better, if you have that batch file or something similar that would be tops.

For the x86 platform.

Regards,
Leonard
Avatar of tenaj-207
tenaj-207
Flag of United States of America image

Have you downloaded Windows AIK 7 RC? http://www.microsoft.com/downloads/details.aspx?familyid=60A07E71-0ACB-453A-8035-D30EAD27EF72&displaylang=en.

If so then after you install it, then it'll put the programs you need in your C:\Program Files\Windows AIK\Tools\USMT\x86 directory.  The two tools you need are Scanstate and Loadstate.  The first one extracts your old settings and the second puts them where they're supposed to go.  Unfortunately it doesn't move applications, just application settings, this is done with the /i:migapp.xml command.  Past the attached code into batch file and let me know if it works for you.
"C:\Program Files\Windows AIK\Tools\USMT\x86\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
"C:\Program Files\Windows AIK\Tools\USMT\x86\loadstate.exe" /c /lac /hardlink /nocompress

Open in new window

Did you have a chance to try this?
Avatar of leonardrogan
leonardrogan

ASKER

Hi tenaj,

To be honest I've had a bucket load of trouble with the whole thing ... namely Trend Micro OfficeScan BSODing the Windows7 install ... so any ways .. running the script seemed to bugger up a few things ... when reinstalling outlook, I couldn't activate it online (we've an action pack subscription) and I couldn't create new messages or reply to messages ... could view them fine ... couple of other glitches here and there with other apps so I bought a larger laptop hdd and just installed from scratch ... just have to remember to not install officescan and go av free for the moment ... So we need to close this but am not sure if you're solution worked. Apologies for that.

Regards,
Leonard
ASKER CERTIFIED SOLUTION
Avatar of tenaj-207
tenaj-207
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Your script was good and yes Trend BSODing was not a result of the script ... it does it on a new load of win7 too .. I'm thinking the firewall drivers within it or something ... I appreciate your time ...