How to Use USMT in SCCM for User Migration (ScanState, LoadState, MigApp, MigUser, MigDocs)

  Рет қаралды 69,668

Patch My PC

Patch My PC

Күн бұрын

You can follow me on Twitter / setupconfigmgr for #ConfigMgr tips and tricks!
Blog available at 👉 setupconfigmgr.com/how-to-use...
Overview
In this video guide, we will be covering how you can use the USMT tool within Microsoft SCCM. This will cover common options like scanstate.exe and loadstate.exe as well as the default XML files used for determining what data to backup and restore.
Topics in Video
USMT XML Builder - www.wintools.com.au/usmtgui.php
Introduction - (0:00)
Overview of USMT cover scanstate.exe, loadstate.exe, MigApps.xml, MigUser.xml, and MigDocs.xml - (0:51)
Install the State Migration Point role within SCCM to store the user state - (4:36)
Review the default USMT package created by SCCM from the Windows 10 ADK - (7:17)
Create computer association for a replace scenario for source and destination machine - (7:59)
Create capture task sequence for the replace scenario - (9:18)
Run capture task sequence from the source computer to capture user state to SMP - (12:45)
Review scanstate.exe run on the client in the task sequence using the default MigDocs.xml and MigApp.xml being used - (14:08)
Review the .MIG file capture to the SMP Share - (15:56)
Create restore task sequence - (16:34)
Review the restore device task sequence and loadstate.exe restore the capture with default options - (20:10)
Login to new Windows 10 machine with restored data from the Windows 7 device and validate user state was migrated - (21:18)
Change SCCM task sequence to use MigUser.xml instead of MigDocs.xml - (23:01)
Creating Custom XML file for USMT to use for any non-standard file or registry key you want to migrate - (29:06)
Scenario to capture user state for existing hardware for re-imaging scenario using SMP - (40:46)
Scenario to capture user state and restore to existing device using USMT hard links and saving the data locally - (48:41)
Helpful Resources:
User State Migration Tool (USMT) Technical Reference - docs.microsoft.com/en-us/wind...
Understanding Migration XML Files - docs.microsoft.com/en-us/prev...)
Custom XML Examples - docs.microsoft.com/en-us/wind...
What does USMT migrate? - docs.microsoft.com/en-us/wind...
Manage user state in System Center Configuration Manage - docs.microsoft.com/en-us/sccm...
Create a task sequence to capture and restore user state in
Configuration Manager - docs.microsoft.com/en-us/sccm...
Getting Started with the User State Migration Tool (USMT) - docs.microsoft.com/en-us/wind...
#USMT #SCCM

Пікірлер: 100
@ShehzadKhan-yk3pb
@ShehzadKhan-yk3pb 5 жыл бұрын
The most comprehensive video available on KZbin on USMT. Thank you very much
@PatchMyPC
@PatchMyPC 5 жыл бұрын
You're welcome!
@christopherholmes9363
@christopherholmes9363 4 жыл бұрын
This was extremely thorough for an introduction to USMT. Great content. Thank you!
@PatchMyPC
@PatchMyPC 4 жыл бұрын
You're welcome
@robinraju4321
@robinraju4321 4 жыл бұрын
Truly appreciate the effort taken in making such a wonderful deep dive video on USMT... Its really helped me
@PatchMyPC
@PatchMyPC 4 жыл бұрын
Thanks for watching
@ParmodKumar-wi1li
@ParmodKumar-wi1li 5 жыл бұрын
You are truly an amazing guy! Your unconditional efforts can be seen in your videos. Universe will pay for your good deeds for sure. Thanks a bunch. I have learned a lot from your videos and eagerly wait for your new videos. God Bless you!
@PatchMyPC
@PatchMyPC 5 жыл бұрын
Thanks for watching! I love comments like this.
@TheMunzie
@TheMunzie 5 жыл бұрын
I can’t thank you enough for these videos I’ve learned so much thank you! I hope you upload a client install troubleshooting video somwtime
@PatchMyPC
@PatchMyPC 5 жыл бұрын
Thanks for watching! Glad it's helped!
@MrDavejkings
@MrDavejkings 5 жыл бұрын
Great video, thank you. Looking forward to the next.
@PatchMyPC
@PatchMyPC 5 жыл бұрын
Thanks for watching!
@grocker5382
@grocker5382 Жыл бұрын
I used this video for my assignment. Definitely a through vid
@NawarALMallouhi
@NawarALMallouhi 5 жыл бұрын
Thanks man amazing work , you did clear lots of questions for me
@PatchMyPC
@PatchMyPC 5 жыл бұрын
Awesome! Glad it helped.
@amarshaurya9878
@amarshaurya9878 5 жыл бұрын
The way you explain is awesome ....and much appreciated your hard work and effort and made such a nice video .....i have few topics that I may need your help....If required I'll get in touch with you....Again Thanks, You are rockstar ...Man
@PatchMyPC
@PatchMyPC 5 жыл бұрын
Thanks for watching.
@thomasb1943
@thomasb1943 4 жыл бұрын
This video was amazing. Thank you!
@PatchMyPC
@PatchMyPC 4 жыл бұрын
Thanks for watching!
@thatLion01
@thatLion01 4 жыл бұрын
Great content! I learned so much. Thank you
@PatchMyPC
@PatchMyPC 4 жыл бұрын
Thanks for watching!
@tristancaputo9149
@tristancaputo9149 5 жыл бұрын
Very Well explained, it's very hard to find a nice complete overview tutorial of how the USMT works within MDT. This is the best one on KZbin so far, Thank you for this
@PatchMyPC
@PatchMyPC 5 жыл бұрын
Thanks for watching!
@jasond5807
@jasond5807 Жыл бұрын
This was SO helpful - Thank you!
@PatchMyPC
@PatchMyPC Жыл бұрын
Glad to hear it helped!
@dossipdan9173
@dossipdan9173 4 жыл бұрын
Excellent video !
@PatchMyPC
@PatchMyPC 4 жыл бұрын
Thanks!
@markcopper1898
@markcopper1898 3 жыл бұрын
This is an excellent video. Thank you so much!
@PatchMyPC
@PatchMyPC 3 жыл бұрын
You're very welcome!
@SalamaAltalla
@SalamaAltalla Жыл бұрын
YOU ARE AWESOME!
@PatchMyPC
@PatchMyPC Жыл бұрын
thanks!
@vishwasbhanuvalli715
@vishwasbhanuvalli715 2 жыл бұрын
Amazing… thanks a lot
@PatchMyPC
@PatchMyPC 2 жыл бұрын
Glad you liked it!
@philvalentino6790
@philvalentino6790 3 жыл бұрын
Great job , thanks a lot
@PatchMyPC
@PatchMyPC 3 жыл бұрын
Thanks for watching!
@amarshaurya9878
@amarshaurya9878 5 жыл бұрын
Awesome Video great and excellent
@PatchMyPC
@PatchMyPC 5 жыл бұрын
Thanks for the feedback.
@amarshaurya9878
@amarshaurya9878 5 жыл бұрын
Patch My PC You are Genius......
@imranawan9341
@imranawan9341 5 жыл бұрын
Great video. Thanks for this
@PatchMyPC
@PatchMyPC 5 жыл бұрын
Thanks for watching!
@imranawan9341
@imranawan9341 5 жыл бұрын
Can I recommend a future viral if you can. Can you please create a in place upgrade task / brand new task sequence for Windows 10 also adding drivers and Windows 10 applications. I cannot seem to find any videos on them.
@PatchMyPC
@PatchMyPC 5 жыл бұрын
@@imranawan9341 I already have a video here for in place upgrades
@yamahossainkhil7640
@yamahossainkhil7640 5 жыл бұрын
What an amazing video. Huge thanks for this great video. I have question. For my scenario, I am upgrading the hard drive to SSD (also upgrade the OS to win10 from 7/8). I can definitely can use this method but how i can differ the machines if I am applying this to 50 machines. How the deployed application/task sequence will restore the state store: based on the logged in user or something else? In your great example it is 1 machine but what if i have 50+ machines. In other word, How i can build a association/relationship between the machines so it restore the specific data to the specific machine? Again, thank you for this amazing video.
@PatchMyPC
@PatchMyPC 5 жыл бұрын
It certainly becomes a little bit more challenging when you have a large number machines he would still have to go through the same process of creating the association between the old and the new machines.
@jessebloomer8332
@jessebloomer8332 4 жыл бұрын
Thank you for taking the time to make these videos. Do you know of any way to capture a user state to a Migration Point without having to boot into Windows? IE: can this be done while the computer is booted into windows PE mode? I have about 100 laptops that I'll be upgrading with SSD's this summer, and it would be ideal to just be able to network boot them, capture the user state, install the SSD, re-image the laptop, and then redeploy the user state.
@PatchMyPC
@PatchMyPC 4 жыл бұрын
There's an offline mode
@pierreexantus4318
@pierreexantus4318 5 жыл бұрын
Great work! This is very hepful. Did I miss the steps on excluding entries?
@PatchMyPC
@PatchMyPC 5 жыл бұрын
The builder tool has easy tools to exclude files. I don't think i covered it here.
@jagowu8887
@jagowu8887 4 жыл бұрын
Good video Justin thank you. I have a question. Which app are you using to make the red boxes and red arrows? Thank You Also, my biggest problem with Refresh/Replace image is how to migrate the apps over without using Active Directory Groups or MDT UDI. Any ideas?
@PatchMyPC
@PatchMyPC 4 жыл бұрын
ZoomIt.exe
@mohammadrafikshaikh6748
@mohammadrafikshaikh6748 5 жыл бұрын
Great work thanks... If possible Make video on Site replication deep drive.
@PatchMyPC
@PatchMyPC 5 жыл бұрын
Will keep that one in mind!
@SeanArcherSDA
@SeanArcherSDA 5 жыл бұрын
Thanks for this series of how to's. I have a question with regards sccm roles when using USMT. Is there a default security role that will allow tier 2 support to handle the computer associations? As there seems to be a lot of over head in that part of the process. Cheers
@PatchMyPC
@PatchMyPC 5 жыл бұрын
I believe there's a role for state migration built in.
@SeanArcherSDA
@SeanArcherSDA 5 жыл бұрын
@@PatchMyPC Thanks for the reply. Oh ok, I don't see any specific to migration in our current configuration but I'm wondering if you have to have the actual store state role installed on a server first? Kinda sounds like a stupid question now I ask it and I'm guessing I just answered my own question to have security role show up....Derp...
@yammanakka
@yammanakka 4 жыл бұрын
Can we use this as a standard for all the machines in the enterprise, for example in my company ? I mean we have 4000 Win7 machines and I want the data to be migrated win10
@PatchMyPC
@PatchMyPC 4 жыл бұрын
I don't see why not.
@dman34
@dman34 2 жыл бұрын
Good day. I"m a little confused about the timing as it relates to when the computer associations should be done during an actual computer hardware replacement. If one windows 10 computer with name X is belng replaced by another windows 10 computer whose name will also be X (so we'll know which user's data to put back onto each computer), does the computer association process happen after the reimage process of the second machine, and if so, is there a differentiation made between the old computer (no longer on the network) and the new computer (currently attached to the network)? How do you tell the difference between the old computer and the new computer if both machines had the same name? Additionally, if i'm deploying 300 computers, is there a way to automate the computer association process so that : 1) I don't have to manually create all 300 computer associtions by hand, and 2) so the entire deployment process isn't slowed down by the data recovery process? Thank you very much.
@PatchMyPC
@PatchMyPC Жыл бұрын
If it's a replace scenario, you will need to make the association. You may even need to import the new computer objects if they don't yet exist in ConfigMgr when you want to do the backup.
@bobble62
@bobble62 5 жыл бұрын
Thank you for the awesome detailed instructions. This help me understand the TS a lot more. Is there a particular setting for Capture the profile reimage the computer and restore the profile in all one sequence? I tried to use the Migration Point method it did the capture but didn't quite do the restore. Still experimenting with it. Any tips would be great! Thanks again.
@PatchMyPC
@PatchMyPC 5 жыл бұрын
To the same computer?
@bobble62
@bobble62 5 жыл бұрын
@@PatchMyPC Yes to the same computer.
@PatchMyPC
@PatchMyPC 5 жыл бұрын
@@bobble62 Yeah that's easy in a single task sequence I thought I covered this in the video?
@bobble62
@bobble62 5 жыл бұрын
@@PatchMyPCThank you very much. I reviewed video and process again found that I missed a few things. I missed release user stated store task after capture. I also missed Requested User State Store "Restore state from another option" I selected Capture state from the computer instead. It's all working now!!! Thank you so very much! Your video is the BEST OS deployment tutorial around!
@Atreus21
@Atreus21 5 жыл бұрын
Question sir. Should an unattended (non-UDI) MDT task sequence to install an OS automatically do an Online State Migration if kicked off within Windows with an SMP local to it? Kind of a mouthful, but I've been testing that and it keeps doing hardlink. Thanks.
@PatchMyPC
@PatchMyPC 4 жыл бұрын
Did you get this figured out?
@Atreus21
@Atreus21 4 жыл бұрын
Yes, but only by workaround. I disabled all the USMT steps within the MDT task sequence, and then added a task to run a separate USMT task sequence instead. That served to get the data to and from the SMP.
@NovaAzK
@NovaAzK 3 жыл бұрын
How can migrate user profiles using In-place not Site-by-site? After I input the source name, the destination name can not be search as same with source name. thanks
@PatchMyPC
@PatchMyPC 3 жыл бұрын
I haven't tested cross domain migrations.
@NovaAzK
@NovaAzK 3 жыл бұрын
@@PatchMyPC Not cross domain. Its in the same domain. But using site-by-site migrations which mean using the same PC to re-clone but migrate all users profiles or specified.
@bobbyoustapassidis2467
@bobbyoustapassidis2467 4 жыл бұрын
Hi you mentioned a a SCCM conference that takes place , i can't remember the name of the conference or the Video you mentioned it in ..any way you could re share that info
@PatchMyPC
@PatchMyPC 4 жыл бұрын
Mmsmoa
@rlbk3649
@rlbk3649 4 жыл бұрын
nice tool but complete overkill for a few workstations. Great vid thanks
@PatchMyPC
@PatchMyPC 4 жыл бұрын
True, this would probably only justify for decent size environments.
@mikegaudreau5853
@mikegaudreau5853 4 жыл бұрын
Awesome video! Did you do a video for IPU?
@PatchMyPC
@PatchMyPC 4 жыл бұрын
Yes, I have
@RandomTorok
@RandomTorok 5 жыл бұрын
We've been using usmt in our organization for some time now and it's worked fairly well for us. However this year we've encountered a bit of a glitch. We are moving from Office 2016 to O365. So we image a computer with the new image and deploy O365 do the computer. Afterwards we will do usmt to capture data from a source computer and restore to a destination computer. The glitch is that the old Office 2016 shortcuts are being copied so we end up with new machines that have icons for both 2016 and O365. Any thoughts on how to fix this?
@PatchMyPC
@PatchMyPC 5 жыл бұрын
Are you using the latest USMT I would start with that?
@RandomTorok
@RandomTorok 5 жыл бұрын
Yes, it would have been updated in the spring
@farid5555551000
@farid5555551000 2 жыл бұрын
Great video thank you but i have a problem I created a user capture TS ( it works ) but when i restore user data it gaves me error ( it loadstste log file in C:\windows\ccm\logs\ task sequence log location : Unable to create a local account because /lac was not specified 0x0000006 I tried a lot of things but nothing helps
@PatchMyPC
@PatchMyPC 2 жыл бұрын
Not sure about this one, would need to dig into more of the logs
@randallcheney3679
@randallcheney3679 4 жыл бұрын
Nice video! Our situation is we're doing a domain migration, not PC updates. So we're looking to simply move the existing pc's to the new domain and move the user profile on the workstation to the new domain as well. Looking at about 60 workstations. Is USMT overkill for this situation? Do you have any recommendations?
@PatchMyPC
@PatchMyPC 4 жыл бұрын
Not sure about that one.
@TesfayH
@TesfayH 4 жыл бұрын
I would check out transwiz for this purpose .
@highfieldworldbooks3094
@highfieldworldbooks3094 5 жыл бұрын
amazing video! I was following with you step-by-step until running the restore TS on the target PC. I got a failed TS because I had local accounts on my source pc. I've tried fixing this by creating a TS variable (OSDMigrateAdditionalCaptureOptions) and adding /ue:%computername% (in the capture TS) and TS variable (OSDMigrateAdditionalRestoreOptions) with the same /ue:%computername% in the Restore TS. I still don't have it working. Any assistance would be so appreciated.
@highfieldworldbooks3094
@highfieldworldbooks3094 5 жыл бұрын
I think i figured it out. Not only did i have to do the above mods but i had to make sure the user I’m logged in as on the source has the proper credentials (elevated) as well as the user doing the restore on the target. I’m going to test this
@PatchMyPC
@PatchMyPC 4 жыл бұрын
Thanks for the tip
@asshollff
@asshollff 2 жыл бұрын
Is there any official "patch my pc" sccm course? I would love one
@PatchMyPC
@PatchMyPC 2 жыл бұрын
Thanks for the feedback, that could be an interesting future course.
@riccosmooth481
@riccosmooth481 2 жыл бұрын
So it works on some and not on others? Any ideas or thoughts on this?
@PatchMyPC
@PatchMyPC 2 жыл бұрын
Sorry, not enough details for give you anything helpful.
@debussychopin2766
@debussychopin2766 Жыл бұрын
So this is equivalent to disk cloning?
@PatchMyPC
@PatchMyPC Жыл бұрын
No, it's different.
@3DaiYo4Kai56
@3DaiYo4Kai56 Жыл бұрын
loadstate command in command prompt in virtualbox vm doesn't work. Error code 11
@PatchMyPC
@PatchMyPC Жыл бұрын
Not sure on that, I would recommend doing some online research.
@ssrodrigo29
@ssrodrigo29 5 жыл бұрын
I have a question... If I have to replace 10 computers at the same time, how´s that works? Is there any step that I can select what USM to restore? Do I need to create a new task sequence for each migration? Great video BTW! Thanks
@PatchMyPC
@PatchMyPC 5 жыл бұрын
You would need to deploy the capture to all 10 of them and then have the restore task sequence to the new computers after the capture.
@ssrodrigo29
@ssrodrigo29 5 жыл бұрын
@@PatchMyPC First of all, thanks for your quick reply. I still didn´t get it. How the restore task will know which captured profile it needs to restore in each new computer? As I´ll have 10 profiles captured. In a scenario that I want to restore all 10 at the same time.
@PatchMyPC
@PatchMyPC 5 жыл бұрын
@@ssrodrigo29 you need to create the association's ahead of time as mentioned in the video
@ssrodrigo29
@ssrodrigo29 5 жыл бұрын
@@PatchMyPC Oh ok thanks. I tried to go to the video (Create computer association for a replace scenario for source and destination machine - kzbin.info/www/bejne/nGjCaXVmiah_q6s) but it redirects to this same video... Thanks a lot for your help.
Best KFC Homemade For My Son #cooking #shorts
00:58
BANKII
Рет қаралды 53 МЛН
Happy 4th of July 😂
00:12
Alyssa's Ways
Рет қаралды 64 МЛН
Heartwarming moment as priest rescues ceremony with kindness #shorts
00:33
Fabiosa Best Lifehacks
Рет қаралды 37 МЛН
Ultimate Guide to Windows Autopilot - 2024 edition
42:55
Dean Ellerby MVP
Рет қаралды 3,5 М.
Learn OSD Basics - Create Windows 10 task sequence using SCCM
35:26
Manish Bangia
Рет қаралды 13 М.
How Do I Get Rid of OneDrive?
7:51
Ask Leo!
Рет қаралды 290 М.
How to Configure Backup and Recovery for Microsoft SCCM
1:10:11
Patch My PC
Рет қаралды 32 М.
PhD AI student explains how China already have won in AI..
13:28
livinlavidaluke
Рет қаралды 47 М.
Отдых для геймера? 😮‍💨 Hiper Engine B50
1:00
Вэйми
Рет қаралды 1,3 МЛН
Что не так с раскладушками? #samsung #fold
0:42
Не шарю!
Рет қаралды 210 М.
Как удвоить напряжение? #электроника #умножитель
1:00
Hi Dev! – Электроника
Рет қаралды 910 М.
Choose a phone for your mom
0:20
ChooseGift
Рет қаралды 7 МЛН