Since SCCM 1511, you can use the new upgrade task sequence to easily upgrade a Windows 7 computer to Windows 10. But what if you want to upgrade a computer from a 32-bits operating system to Windows 10 64-bits ? You can’t use the upgrade task sequence for this specific scenario. Another reason would be that your company decided to use the wipe and reload option in your Windows 10 migration project. In those cases you will need to use USMT to capture data and settings from the users profiles before applying the new operating system.

This post will describe how to upgrade a 32-bits computer to Windows 10 64-bits using USMT and SCCM. This post will be using hard-links without using a State Migration Point. Continue reading if you are not familiar with those terms, we will explain it later.

Since you’re at the step of deploying Windows 10, we assume that you already installed at least SCCM 1511 and the latest Windows ADK before reading this post. If not, read our related posts :

  1. SCCM 1511 Upgrade Guide
  2. Windows 10 Deployment | Prepare your environment

USMT Basics

Let’s start by giving a couple of facts about the User State Migration Tool :

  • Latest USMT version is 5.0
  • Latest Windows ADK 10 includes the latest version
  • Supports capturing data and settings from Windows Vista and later (including Windows 10)
  • Supports restoring the data and settings to Windows 7 and later (including Windows 10)
  • Supports migrating from a 32-bit operating system to a 64-bit operating system, but not the other way around

What gets Migrated

By default, USMT migrates many settings (user profile, Control Panel configurations, files, and more). The default configuration files that are used in Windows 10 deployments are MigUser.xml and MigApp.xml. These two configurations files migrates the following data and settings:

  • Folders from each profile (My Documents, My Video, My Music, My Pictures, desktop files, Start menu, Quick Launch settings, and Favorites folders)
  • USMT templates migrate the following file types: .accdb, .ch3, .csv, .dif, .doc*, .dot*, .dqy, .iqy, .mcw, .mdb*, .mpp, .one*, .oqy, .or6, .pot*, .ppa, .pps*, .ppt*, .pre, .pst, .pub, .qdf, .qel, .qph, .qsd, .rqy, .rtf, .scd, .sh3, .slk, .txt, .vl*, .vsd, .wk*, .wpd, .wps, .wq1, .wri, .xl*, .xla, .xlb, .xls*.
  • Operating system component settings
  • Application settings

If needed, you can create a custom configuration files to includes more files types or settings. See the following Technet post for detailed instructions.

For more details on what USMT migrates, see this Technet article. For more information on the USMT overall references, see this Technet article.

Where to Store the User Data and Settings

You can capture USMT data locally (Hard-links) or remotely using a State Migration Point in SCCM (File Copy).

  • Hard-link migration takes advantage of advanced features of the NTFS file system that allow files to physically remain in-place and intact even after the drive is wiped (not formatted). When restored, pointers to the files are restored, so the files never physically have to be copied or moved outside the machine. To use hard-linking, select the Capture locally by using links instead of copying files option in the Capture User State task
  • File copy: If hard-linking is not selected, the traditional file copy method for storing user state is used. This file copy method literally copies all identified user state data to an alternative location requiring extra disk space and extra time to complete the copy

[su_box title=”Warning” style=”glass” title_color=”#F0F0F0″]You cannot use a State Migration Point and use hard-links to store the user state data at the same time.[/su_box]

  • To store the user state data on a state migration point (File Copy), you must first Configure a state migration point to store the user state data
  • To store the user state data on the destination computer for update deployments (Hard-Link), you must :
    • Add Capture User State steps to your task sequence and configure it to use local folder using links
    • Add Restore User State steps to your task sequence and configure it to restores the user state using those links

[su_box title=”Warning” style=”glass” title_color=”#F0F0F0″]The user state data that the hard-links reference stays on the computer after the task sequence removes the old operating system. For that reason, you cannot format and partition a drive if you are using USMT. The disk is will be wiped during the Apply Operating System step of the task sequence. If you must format and partition but still want to use USMT, consider using user state migration points, which is network based.[/su_box]

This post will focus on the hard-links option and will not describe how to customize the task sequence to use the state migration point.

Verify SCCM Windows 10 USMT Package

To store the user state locally or on a state migration point, you must create a package that contains the USMT source files that you want to use. This package is used in the Capture User State step of the migration task sequence.

  • Open the SCCM Console
  • Go to Software Library / Application Management / Packages
  • Right-click the User State Migration Tool for Windows 10 package and select Properties
  • On the Data Source tab, ensure that the package is using the ADK 10 – Which is per default C:\Program Files\Windows Kits\10\Assessment and Deployment Kit\User State Migration Tool
  • Right-click the User State Migration Tool for Windows 10 package and select Distribute Content

SCCM Windows 10 deployment

  • If you have no User State Migration Tool for Windows 10 package, just create (without any programs) and distribute it

Creating the Capture and Restore User State Data Task Sequence

To capture and restore the user state, you must first create a new task sequence, but before, we’ll explain the different options in the User State Menu :

SCCM Windows 10 USMT

  • Request State Store : This step is needed only if you store the user state on the State Migration Point
  • Capture User State : This step captures the user state data and stores it on the State Migration Point or locally using hard-links
  • Restore User State : This step restores the user state data on the destination computer. It can retrieve the data from a user state migration point or from hard-links
  • Release State Store : This step is needed only if you store the user state on the State Migration Point. This step release this data from the State Migration Point

When you create a new task sequence from the latest SCCM version, the wizard takes care of the essential steps. Let’s create it and see what are the options :

  • Go to Software Library \ Operating Systems \ Task Sequences
  • Right-click Task Sequence and select Create Task Sequence
  • Select Install an existing image package

SCCM Windows 10 USMT

  • On the Task Sequence Information tab, enter your Task sequence name, Description and Boot Image

SCCM Windows 10 USMT

  • On the Install Windows tab, uncheck Partition and format the target computer and Configure task sequence for use with Bitlocker
    • If a format and partition of the disk is selected, it would wipe all data on the drive, including the USMT data. Instead, the Apply Operating System task will delete of all files and directories occurs on the drive minus protected USMT folders

SCCM Windows 10 USMT

  • On the Configure Network tab, select to join your domain and specify the account to use

SCCM Windows 10 USMT

  • On the Install Configuration Manager Client tab, select your client package

SCCM Windows 10 USMT

  • On the State Migration tab, check Capture user settings and files, select your USMT Package
  • Select Save user settings and files locally and check Capture locally by using links instead of by copying files

[su_note note_color=”#e56e6e” radius=”8″]This is the important part of the post[/su_note]

SCCM Windows 10 USMT

  • In the Include Update tab, select the desired update behavior

SCCM Windows 10 USMT

  • On the Install Applications tab, select any applications that you want to include in your task sequence

SCCM Windows 10 USMT

  • On the Summary tab, review your choices, click Next and complete the wizard

SCCM Windows 10 USMT

  • Now that the task sequence is created, we’ll edit it and review the steps
  • Right-click your newly created task sequence and click Edit
  • You’ll notice 3 USMT steps has been created :
    • Set Local State Location : This step specify the directory where the local state will be saved. We are using the builtin variable OSDStateStorePath and set the value to %_SMSTSUserStatePath% but you can use a specific location if needed

SCCM Windows 10 USMT

  • Capture User Files and Settings : This is the step when USMT will run the ScanState command. You will see this command in SMSTS.log when monitoring your task sequence. (By default : C:\_SMSTaskSequence\Packages\<YourPackageID>\amd64\scanstate.exe C:\_SMSTaskSequence\UserState /o /localonly /efs:copyraw /c /hardlink /nocompress /l:C:\Windows\CCM\Logs\SMSTSLog\scanstate.log /progress:C:\Windows\CCM\Logs\SMSTSLog\scanstateprogress.log /i:C:\_SMSTaskSequence\Packages\<ID>\amd64\migdocs.xml /i:C:\_SMSTaskSequence\Packages\<ID>\amd64\migapp.xml)

SCCM Windows 10 USMT

  • Restore User Files and Settings : This is the step when USMT will run the LoadState command. You will see this command in SMSTS.log when monitoring your task sequence (By default : C:\_SMSTaskSequence\Packages\<YourPackageID>\amd64\loadstate.exe C:\_SMSTaskSequence\UserState /ue:<computername>\* /c /hardlink /nocompress /l:C:\WINDOWS\CCM\Logs\SMSTSLog\loadstate.log /progress:C:\WINDOWS\CCM\Logs\SMSTSLog\loadstateprogress.log /i:C:\_SMSTaskSequence\Packages\<ID>\amd64\migdocs.xml /i:C:\_SMSTaskSequence\Packages\<ID>\amd64\migapp.xml)

SCCM Windows 10 USMT

Add Support for WinPE

Now that we created a basic task sequence for USMT, we suggest to add a step to support offline capture. If you start your task sequence from PXE, you will need this new step because the step we just created will fail in Windows PE. We will add a step and condition to run depending of the environment in which the task sequence is ran.

  • Right-click the task sequence you just created, select Edit
  • Select the Capture User Files and Settings step
  • Duplicate the task by doing CTRL-C, CTRL-V
  • A new Capture User Files and Settings step is created, select the Capture in Off-line mode (Windows PE only) check box and rename the step to add (WinPE) at the end
  • Rename the other Capture User Files and Settings step to (FullOS)
  • You’ll end up with 2 similar Capture User Files and Settings step. One for Online mode (FullOS) and one for Offline mode (WinPE)

SCCM Windows 10 USMT

SCCM Windows 10 USMT

  • Select the Capture User Files and Settings (Full OS) step and click on the Options tab
  • Select Add Condition, Task Sequence Variable
    • Variable : _SMSTSInWinPE
    • Condition : Equals
    • Value : False

SCCM Windows 10 USMT

  • Select the Capture User Files and Settings (WinPE) step and click on the Options tab
  • Select Add Condition, Task Sequence Variable
    • Variable : _SMSTSInWinPE
    • Condition : Equals
    • Value : True

SCCM Windows 10 USMT

  • Click Apply and Ok to close the task sequence

Deploy SCCM Windows 10 USMT Task Sequence

We are now ready to deploy our Windows 10 USMT task sequence to the Windows 7 computer we want to upgrade.

  • Go to Software Library \ Operating Systems \ Task Sequences
  • Right-click your USMT Task Sequence and select Deploy
  • On the General pane, select your collection. This is the collection that will receive the Windows 10 upgrade using USMT. For testing purposes, we recommend putting only 1 computer to start

SCCM Task Sequence Upgrade

  • On the Deployment Settings tab, select the Purpose of the deployment
    • Available will prompt the user to install at the desired time
    • Required will force the deployment at the deadline (see Scheduling)
  • You cannot change the Make available to the following drop-down since upgrade packages are available to client only

SCCM Task Sequence Upgrade

  • On the Scheduling tab, enter the desired available date and time. On the screenshot, we can’t create an Assignment schedule because we select Available in the previous screen

SCCM Task Sequence Upgrade

  • In the User Experience pane, select the desired options

SCCM Task Sequence Upgrade

  • In the Alerts tab, check Create a deployment alert when the threshold is higher than the following check-box if you want to create an alert on the failures

SCCM Task Sequence Upgrade

  • On the Distribution Point pane, select the desired Deployment options. We will leave the default options

SCCM Task Sequence Upgrade

  • Review the selected options and complete the wizard

SCCM Task Sequence Upgrade

Testing on the Target Computer

For the sake of this post we created a VM with Windows 7 32 bits. We will run our newly created task sequence to upgrade to Windows 10 64 bits.

I also created multiple files in the user profile to shows the USMT actions. We simply created text documents in the various libraries and on the desktop.

SCCM Windows 10 USMT

  • We open the Software Center, select our task sequence and click Install

SCCM Windows 10 USMT

  • The computer will launch the USMT action before rebooting in Windows PE and install Windows 10

SCCM Windows 10 USMT SCCM Windows 10 USMT

  • Once the process completed, we have a brand new Windows 10 migrated with my files where I left them. Even the psycho tortoise wallpaper has made the move.

SCCM Windows 10 USMT

We hope this post will ease your Windows 10 migrations. Leave a comment if you have any questions.

[ratings]

Comments (68)

homepage

10.10.2018 AT 11:45 PM
Excellent site you have here.. It's difficult to find good quality writing like yours nowadays. I truly appreciate individuals like you! Take care!!

poker remi

10.08.2018 AT 02:58 AM
You actually make it appear so easy with your presentation however I in finding this matter to be really something that I feel I would never understand. It kind of feels too complex and very huge for me. I'm having a look ahead to your next put up, I will try to get the grasp of it!

Margareta

09.23.2018 AT 05:51 PM
A fantastic education essay engages the viewer till the end, the largest key for writing education essay is that the recommendations should be logically structured by one just what exactly there is no frustration left for the audience in the teaching essay. Consequently, I will be providing some critical tips for producing coaching documents to you. Paul's cathedral created Old Unhappiness's household|the residence of Old Unhappiness was designed by Christopher Wren, who was the seventeenth century architect A schooling is still a fundamental prerequisite for getting a significant career, as well as a Master level remains the path to supervision that is raised. Job progress while in the nation's best forecasts suggest that the economy may proceed to prefer those with schooling's best years. Paul's cathedral|Wren, who had been the seventeenth century builder A composition is different from different documents. Writers are given the ability to think carefully and reveal themselves by it. Those that don't know how to write about themselves, it's advisable to make utilization of account illustrations for college essay. Paul's cathedral created Previous Unhappiness's property|the home of Previous Unhappiness was created by Christopher Wren, who was the seventeenth century architect A superb Dollar format is going to be fairly quick. It truly is helpful to have terms underlined or featured to make it more understandable. Distinct issues must each have their own specific set of items, the higher to compartmentalize the information in your head. Memorizing facts from distinct but comparable traces is challenging (I'd to achieve this for a current essay exam; three of the issues were very similar and that I got items from each puzzled with one another). Because of this, I would recommend sticking with it and discovering one format, only if because it makes the evaluation process simpler. Paul's cathedral|Christopher Wren, who was the seventeenth century architect An excellent copy-editor appreciates the English vocabulary and grammar rules out and inside. Your professional editing companies incorporate a broad familiarity with the peer review procedure. Reliability, pace, and focus on aspect are essential capabilities demonstrated by all copyeditors. Paul's cathedral created the residence of Aged Unhappiness|Christopher Wren, who was simply A King essay that asks for a critique or in-depth research may also need a background furnished in its launch. Nonetheless, you'll need-to present an important debate in-it. More fights within your King Lear essay's body will support this important argument. Paul's cathedral created the residence of Old Misery|Christopher Wren, who had been Distorting or ignoring facts to justify the arguments Must be scrupulously avoided as furthermore all axiomatic details about which further study would be futile. A dissertation that is good must communicate a concept that is doubtful or debatable or one which needs clarification that is further. An excellent thesis statement isn't simply boosting a few questions or the recording of an observation but it's about indicating a strong view and reasoning that is adequate to support it. Paul's cathedral|Wren, who had been the seventeenth-century builder A great IT help business will give you flawless company roundtheclock, at costs which might be simply amazing. With these organizations, you get support in your vocabulary, hence increasing level of comfort, while also making certain there is no info lost in translation. Decide on a reliable IT provider to back you in the event of trouble with your IT infrastructure. Paul's cathedral|Wren, who had been the seventeenth-century architect A in another historic interval, circumstance, era, or physical location.

Houston

09.21.2018 AT 04:26 AM
A fantastic education essay engages the reader till the end, the greatest secret for publishing teaching essay is the fact that the guidelines should be logically prepared by one just what exactly there's no frustration quit for your viewer in the teaching essay. Consequently, we will provide you with some critical tips for creating teaching essays. Paul's cathedral created Previous Misery's household|the house of Previous Misery was designed by Christopher Wren, who was the seventeenth-century architect This approach can be taken by a correspondent with some effort one-step further by establishing an individual website. That site may serve many functions: all of them involve some work. The site's big event depends, to varying degrees, on the period of time the surgeon is prepared to dedicate to it. A functional writer could also must negotiate choice to activate using the report or newspaper that uses him's editorial team in some online writing of their own. Paul's cathedral|Christopher Wren, who had been the seventeenth century builder Be sure that you report specific types of routines which you participated where are relevant to your targets. Although among your ambitions for writing your own personal statement would be to stick out from a large number of additional candidates, retain in Head that you're obtaining law-school rather than an innovative writing class. Be brief and retain the movement well and rational -prepared. Paul's cathedral designed Aged Unhappinessis residence|the home of Aged Unhappiness was created by Wren, who was the seventeenth century builder An obvious, brief, and identified thesis statement that develops inside the essay's first passage. Paul's cathedral|Wren, who was simply the seventeenth century builder Remove ineffective words, words that are extra, words that are subjective. This can be where you'll manage to limit the composition. Paul's cathedral created the house of Previous Agony|Christopher Wren, who was A clear realization which summarizes dissertation and your essay and restates your matter. Paul's cathedral designed the property of Outdated Misery|Christopher Wren, who was Distorting or dismissing facts to justify the reasons Must be scrupulously avoided as likewise all axiomatic details about which further study could be ineffective. A good dissertation must convey a concept that's dubious or doubtful or one that demands clarification that is further. An excellent thesis statement isn't this is increasing a couple of questions or the recording of a statement but it is about indicating ample reason and a firm impression to guide it. Paul's cathedral|Wren, who was the seventeenth century builder There isn't a brief history report necessarily just like an argumentative composition, though it may be. It certainly is determined by the method that you approach your topic. Read that proposed post nevertheless, it will help you to get started! Paul's cathedral|Wren, who was simply the seventeenth-century architect A limousine company may include matters including Fleet, Price-List, Service Area, Companies Furnished, and Your Customers. If you should be supplying providers to corporate consumers, you might need to produce more information including your Education, Qualifications. Should you provide high end companies that are corporate, you may even desire to incorporate issues including Security Program and your Protection Plan.

Seismic Retrofit

08.28.2018 AT 12:17 PM
I have to thank yyou for the efforts yyou have putt in penning this blog. I amm hoping to check out the same high-grade content by you later on as well. In truth, your creative writing abilities has motivated me to get my own site now 😉

CC

05.14.2018 AT 10:06 PM
Is there a way to do hard links, not partition the drive AND convert from BIOS to UEFI? I'm thinking not, but want to be sure there's not some method out there to do this. Thanks!

paulie

12.10.2018 AT 02:20 AM
DId you ever find a solution to this?? I have USMT running hard links for win7.. I then reconfigure the BIOS to UEFI, Bootup to WinPE and the Apply Image, but the drive is not bootable. I think its the hardlinks that caused this.

Gina M

04.21.2018 AT 03:19 AM
Regarding USMT For better User Profile migrations (less access denied errors, smaller backups and more complete content) check out the customized and updated XML files for USMT10, free to download, over at http://ehlertech.com/#XMLs. They migrate more file types like local databases, Endnote, etc. in the general scan, leave out System folders and solve all the issues with Firefox and Chrome favorites (provided Firefox and Chrome are the same version on both PC's)

Thomas

04.16.2018 AT 04:15 PM
Hi For some reason mounted printers does not migrate anymore. However, to get a more complete migration you should consider using more updated and complete XML files for USMT 10. The ones included are not updated. You can download a free reference package here: http://ehlertech.com/customxmls/ Also consider implementing the free USMT Afterburner by EhlerTech enabling migration of Win 10 modern Apps like Sticky Notes and Edge favorites...

Talha

04.11.2018 AT 02:12 PM
Lovely guide, however we are seeing a .wim file being created in the C:\ partition is there a way to delete it using a custom switch in the end of the deployment.

Saeid

04.04.2018 AT 10:11 AM
is there a way to migrate netwrok printers? could someone please provide the xml file if possible? thanks

Ben

11.30.2017 AT 09:43 AM
Hi, I`m buildiong my refresh task sequence to migrate from WIn7 to Win10, my Online USMT transfers the data, however the printer queue, Wallpaper and Outlook signature don`t get transferred, i`m using the default USMT settings. am I missing something? SCCM 1706 + ADK1703

Jesse

09.18.2017 AT 10:15 AM
How can I utilize the scanstate /apps commandline switch in my Capture TS?

Graham Riley

06.22.2017 AT 10:30 AM
Thanks for the guide. The "Add Support for WinPE" part doesn't seem to work for me. I configure my TS the same as yours but when I PXE boot it appears to bypass the capture steps and goes straight to Apply Operating System step.

Rustam

06.20.2017 AT 02:02 AM
Hello, Benoit. Thanks for this guide. But my task sequence failing during disk wipe step. Error 0x800070091. What might that be? Thanks.

AMK

06.01.2017 AT 02:29 AM
Hi, Excellent step by step guide. I followed the post and works perfectly with default Profile Directory c:\Users. Unfortunately, our environment has users directory under D: (D:\Users). In my refresh computer/ upgrade Task sequence I use answer file( FolderLocations ) to change the profile directory to D:\users. but this fails because there is already D:\Users of existing windows. Appreciate if you can suggest the best way to over come this problem. ? shall I rename the users directory after Capture User Files and Settings step in TS? and later Delete the Old Users directory after Restore Files and Settings step. ?

Arkad

05.27.2017 AT 05:52 AM
Really great post! this exactly what i'm looking for. Thanks dude! Keep it up.

Roger Robinson

03.30.2017 AT 08:05 AM
actually it was a False positive i am not getting any saved data either , although i do see the message running restore data !!

leighana coe

03.28.2017 AT 04:48 PM
I am having the same problem as Daryl, the OS updates, but everything is gone, applications, files, and settings

Roger Robinson

03.22.2017 AT 09:00 AM
What a great post been searching for this for ages so thanks again , It works Brilliantly for me But i have a question I still have some windows 7 machines that i would like to refresh, But the task does not seem to capture the user state is that because its designed to move to Windows 10. or am i missing something !! thanks in advance Roger