How to Perfom User Data Capture and Restore in USB instead of Network

Answered How to Perfom User Data Capture and Restore in USB instead of Network

  • Friday, September 28, 2012 8:23 AM
     
     

    Hi,

    I need help from someone to know how to capture and restore data to/from the USB drive instead of Network Share using MDT 2012.

    How to configure MDT 2012 or USMT to store the captured data(.mig) directly to external USB drive instead of Network share also need to do the restoring of user state from USB drive.

    Thanks in Advance!!

All Replies

  • Friday, September 28, 2012 9:00 AM
     
     

    Are you replacing the hardware? Is yes...

    It is possible with custom scripts. I did this long time back and might have a sample.

    The problem with USB is drive letter can be dynamic. If you tattoo MDT to restore to e:\ or f:\ - this might change on every computer.

    So this is what I did - Created a script with this logic:-
    - Tech goes to the PC and logs on as User with local admin rights and connects a removable drive
    - Launches a script which will enumerate all the volumes on the drive and prompts you to choose where you want to backup. - like c:\ - e:\
    - Once you enter the drive details and click on next - it will prompt for the SAP ID of that computer's primary User. This is done so that you can map the computer with the data on the USB. After you enter the SAP or UserID and click on Next
    - It will create a folder on the C drive and copy all the USMT files from MDT Share.
    - After copy it will execute scanstate with mig files etc...and use the parameters provided earlier - like c:\ and sap ID. Then capture all the data.

    The restore logic is similar once you build the New OS. There are other ways to do this as well. But a quick dirty method to get it done on a USB.


    Regards, Vik Singh "If this thread answered your question, please click on "Mark as Answer"

  • Friday, September 28, 2012 10:02 AM
     
     

    Hi Vik,

    Thanks for your reply,

    I have tried similar logic but no result, for both scanstate and loadstate execution i am getting the errors as below even when tried Scanstate and LoadState manually keeping E:\Store as Storepath (E: is USB drive path) .

    "Failed to select store. Path: E:\Store"

    "Unable to open store at E:\Store\USMT"

    "The store save location is read-only or does not support a requested storage option[gle=0x00000091]"

    Expecting your response

  • Friday, September 28, 2012 10:10 AM
     
     

    What is the OS source and destination versions?

    Source = ? (XP, Windows 7?)
    Destination = ? (XP, Windows 7?)

    If your destination is Windows 7 you will need USMT 4.0.  For Windows XP as destination you need USMT3.

    See matrix below.

    USMT version Source operating system Destination operating system
    USMT 2 Windows 98, Windows NT 4.0, Windows 2000 Professional, Windows XP, Windows XP Professional x64 Windows 2000 Professional, Windows XP
    USMT 3 Windows 2000 Professional, Windows XP, Windows XP Professional x64, Windows Vista (All 32-bit and 64-bit editions) Windows XP, Windows Vista (All 32-bit and 64-bit editions)
    USMT 4 Windows XP SP3, Windows XP Professional x64, Windows Vista SP1 and Windows 7 (All 32-bit and 64-bit editions) Windows Vista and Windows 7 (All 32-bit and 64-bit editions)

    Regards, Vik Singh "If this thread answered your question, please click on "Mark as Answer"

  • Friday, September 28, 2012 10:14 AM
     
     

    If you are using the right USMT versions - try adding /nocompress to scanstate and loadstate.


    Regards, Vik Singh "If this thread answered your question, please click on "Mark as Answer"

  • Friday, September 28, 2012 10:30 AM
     
     

    Hi Vik,

    Source = XP

    Destination = Windows 7

    USMT Version =USMT 4

    I have tried both "/hardlink /nocompress" and creating .MIG also but no hope..

  • Friday, September 28, 2012 11:06 AM
     
     Answered

    Why are you doing /hardlink? Hardlink means that the data will be stored locally on the machine and restored when Windows 7 is installed. We are storing data on the USB. This is the issue. Remove the hardlink switch.

    You are changing the hardware correct? If yes, please paste the complete scanstate and loadstate commands.


    Regards, Vik Singh "If this thread answered your question, please click on "Mark as Answer"

    • Marked As Answer by Silicon Valley Friday, September 28, 2012 12:08 PM
    •  
  • Friday, September 28, 2012 12:13 PM
     
     

    Hi Vik,

    Thanks for your suggestions, It works as expected ...

    This is the command i used (Working)

    Scanstate:"C:\USMTTools\scantate.exe" E:\Store /v:13 /c /o  /nocompress /i:"C:\USMTTools\MigApp.xml" /i:"C:\USMTTools\MigUser.xml"

    LoadState:"C:\USMTTools\loadstate.exe" E:\Store /v:13 /c /nocompress /i:"C:\USMTTools\MigApp.xml" /i:"C:\USMTTools\MigUser.xml"

    Once again Thanks for your help!!

  • Friday, September 28, 2012 12:17 PM
     
     

    Glad to know it works now!!

    BTW - you don't need to mention the complete path of the .xml file. You can just do /i:MigApp.xml - as far as the xml is in the same folder as the scanstate.


    Regards, Vik Singh "If this thread answered your question, please click on "Mark as Answer"

  • Friday, September 28, 2012 12:20 PM
     
     

    Ok, will change to /i:MigApp.xml

    Thanks!!