Close Menu
    Facebook X (Twitter) Instagram
    Sunday, October 12
    X (Twitter) LinkedIn Reddit RSS
    All about Endpoint Management
    • Home
    All about Endpoint Management
    Home»OS Deployment»WindowsXP to Windows7 64bit Migration in WinPE offline

    WindowsXP to Windows7 64bit Migration in WinPE offline

    Eswar KonetiBy Eswar KonetiJuly 22, 9:57 pm2 Mins Read OS Deployment 345 Views
    Share
    Facebook Twitter LinkedIn Reddit

    Though the original post is avilable in windows-noob , having utilised the original task seqeunce, there are slight modifications done to carryout this task which are simple to upgrade WinXP to win7.

    To use the existing Task sequence in 64 Bit OS , you will have to create additional packages like USMT and Micrisoft runscanstate pacakges which are used to in exisitng TS.

    1. Create a New package"USMT x64 Only" which will point to source directory c:\program files\WAIK\tools\USMT\amd64. Do not create any program for this. MAke it avialble on to DP.

    2.Open notepad ,paste the below code and name it as like runscanstate-offlinewindirx64.bat

    @set USMT_WORKING_DIR=%~2%\USMTbits\amd64

    "%~2\USMTbits\amd64\scanstate.exe" "%~1" /c /o /hardlink /efs:hardlink /nocompress /offlinewindir:c:\windows /v:5 /l:%~2\windows\TEMP\SMSTSLog\scanstate.log /progress:%~2\windows\TEMP\SMSTSLog\scanstateprogress.log /i:%~2\USMTbits\amd64\miguser.xml /i:%~2\USMTbits\amd64\migapp.xml

    Now Create package called "runscanstate-offlinewindirx64"  with program command line "runscanstate-offlinewindirx64.bat" with default avilable options.Make it avialable to DP also.

    It assumes that ,u have already created another USMT package which will point to USMT folder (x86,amd64) in c:\program files\WAIK\tools\USMT.

    once the above packages are ready , you can import the avilable Task Sequence . Edit the TS to ensure the correct packages are referenced like USMTx64 only,USMT Both version( USMT folder) and scanstate package.

    You will also need to make some command line changes in xcopy x64 usmt to usmtbits\amd64 step since i have used the default TS from noob and it tries to copy all the DP pakcages to usmtbits folder so i modified the commands like below as it works fine for me.

    The command prompt which i use looks like xcopy %_SMSTSC01000D0%* %systemdrive%\USMTbits\amd64 /herciy Where C01000D0 is package ID of  USMT x64 only.

    and another task xcopy runscanstate.bat to usmtbits command looks like xcopy %_SMSTSC0100047%* %systemdrive%\USMTbits /herciy where C0100047 is package ID of runscanstate-offlinewindirx64.

    Rest of the process is same,you need to Advertise the above tasksequence to the respective collection and do a WINPE to carryout the task.

    Task Sequence is given below with snap shot:

    Migration WinPE Migration Offiline WinXP to Windows 7 Offline Migration WinPE
    Share. Twitter LinkedIn Email Facebook Reddit

    Related Posts

    How to detect the source of registry key modifications on windows devices – Intune

    November 21, 8:49 pm

    Identifying devices managed by Intune but not reporting to WUfB using KQL

    November 09, 10:28 am

    Application Deployment with Hybrid Joined Requirement Rules in Intune

    October 06, 8:59 pm

    12 Comments

    1. saritha on April 21, 2015 10:33 PM

      hi,

      As part my OSD, i need to install Operating System only in C drive and keep the remaining drives as it is, how can i set this in Winpe

      Thanks in advance
      Saritha

      Reply
      • Eswar Koneti on April 23, 2015 2:43 PM

        just use the task sequence action to install OS on C drive without format task. Installation of Image on C drive do not format/touch other drives.

        Reply
    2. Sam on March 5, 2013 2:41 AM

      Is it possible to go from 32Bit XP to 64Bit Win 7? I can get it to Scan the XP 32Bit, but it is not loading in Win7 64bit. Iam using a 32bit USMT package to scan, and using USMT 4.0 for both x86 and x64 package for loadstate.

      Reply
      • Eswar Koneti on March 8, 2013 11:58 AM

        you can upgrade from 32Bit of Win7 to 64Bit But you'll need to back up your files and choose the Custom option during Windows 7 installation. Then, you'll need to restore your files and reinstall your programs. For more information about performing a custom installation.
        did you check logs ? what do they say ?

        Reply
    3. Joey on March 26, 2011 12:50 AM

      Quick question. Is this for 32 bit xp to 64 bit win 7? Or 64 bit xp to 64 bit win 7?

      Reply
      • Eswar Koneti on March 31, 2011 11:57 AM

        This is for Win XP X64 to Win 7 X64 ,32bit upgradation is already avilable from windows-noob.com

        Reply
    4. panos on November 12, 2010 3:12 PM

      A final question for you.When i run it from pe or runnng the bat i get error.And i think it cannot recognize th paameters %~2 and %~1.So i believe i must chang them!Any advise?Thank you

      Reply
      • Eswar Koneti on November 16, 2010 7:08 PM

        can you recheck the command line syntaxes once,since there might be double quotes typo errors when doing copy and paste.
        can you post the syntax query from your bat file ?

        Reply
    5. panos on November 10, 2010 7:19 PM

      Hello.Please tell me how can i create a package with that bat file?
      Thank you

      Reply
      • Eswar Koneti on November 11, 2010 2:25 PM

        Place the Bat file in a Folder .Go to packages,right click and select create a new package with data source as "bat file folder", once done,create a program by giving the bat fine name and make it avialable to Distribution point.
        It is same as normal package creation if you have any exe or msi files (not package from definition).

        For more infomation about package creation http://technet.microsoft.com/en-us/library/cc180950.aspx

        Reply
    6. eskonr on August 30, 2010 1:14 PM

      Hi,
      Alex,Thsi should work in similar way as it works in SCCM with little modifications required..May be you can post the question on windows-noob for more inputs on this.
      http://www.windows-noob.com/forums/index.php?/topic/1735-using-offline-mode-in-windows-pe-using-usmt-4-via-a-task-sequence-in-sccm-2007-sp2

      Reply
    7. Alexander Grau on August 27, 2010 7:23 PM

      Hello Rawse,

      I have followed your directions here but I am using MDT 2010 without the ConfigMgr. So my work around for the packages is to include the Usmt bits in the WinPE image and I xcopy them over to my new folder on the system drive. My problem is that I do not operate in ConfigMgr so if you could show me what the Install Operating System steps through the end are I can have an automated solution instead of LiteTouch.

      Thanks,

      Alex

      Reply

    Leave a ReplyCancel reply

    This site uses Akismet to reduce spam. Learn how your comment data is processed.

    Sign Up

    Get email notifications for new posts.

    Author

    I’m Eswar Koneti ,a tech enthusiast, security advocate, and your guide to Microsoft Intune and Modern Device Management. My goal? To turn complex tech into actionable insights for a streamlined management experience. Let’s navigate this journey together!

    Support

    Awards

    Archives

    © Copyright 2009-2025 Eswar Koneti, All rights reserved.

    Type above and press Enter to search. Press Esc to cancel.

     

    Loading Comments...