Skip to content

Instantly share code, notes, and snippets.

@gioxx
Created September 22, 2014 11:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gioxx/4170d6a7261161b8e600 to your computer and use it in GitHub Desktop.
Save gioxx/4170d6a7261161b8e600 to your computer and use it in GitHub Desktop.
LoadState per USMT su Windows XP a 32 bit
@echo off
if "%1"=="" goto error
if "%2"=="" goto error
if not exist MigDomCustomXp.xml goto error
cls
echo USMT LoadState per Windows XP
echo GSolone 2013 (20130507-rev0)
echo.
echo Sposto i dati da %1 a %2
"%ProgramFiles%\USMT301\loadstate" %SystemDrive%\mig\ /mu:%1:%2 /i:"%ProgramFiles%\USMT301\migapp.xml" /i:MigDomCustomXp.xml /c
goto end
:error
cls
echo.
echo Utilizzo del batch:
echo LoadState dominio1\vecchioutente dominio2\nuovoutente
echo Verificare la presenza del file MigDomCustomXp.xml all'interno di questa cartella.
echo.
:end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment