Hi Hakim Ismail,
With USMT, you’ll use two main command-line utilities: scanstate.exe to capture user profiles, files, and registry settings, and loadstate.exe to restore them on the new system. The key is to run scanstate on each source machine to create an encrypted migration store file, then transfer that file via your external drive to the target machine.
For example, you can run a command like: scanstate D:\MigrationStore /i:migapp.xml /i:migdocs.xml /i:miguser.xml /encrypt /key:YourStrongKey /o This captures application settings, documents, and user profiles into an encrypted store on your external drive. The /encrypt and /key switches ensure the migration file is protected. Once you’ve moved the store to the new system, you run loadstate with the same key to restore everything.
Best practice is to test the process on a small set of machines first to confirm that all required files and settings are captured. Also, make sure you’re running the commands with administrative privileges and that the external drive has enough space to hold the migration store. Since you’re working in an isolated environment, double-check that the USMT version matches the Windows build you’re migrating to, as mismatches can cause errors.
If you find this answer helpful, kindly hit “accept answer”.
Jason.