Skip to content

Instantly share code, notes, and snippets.

@gioxx
Created September 22, 2014 10:08
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/49e94ef5893e30bdae46 to your computer and use it in GitHub Desktop.
Save gioxx/49e94ef5893e30bdae46 to your computer and use it in GitHub Desktop.
ScanState per USMT su Windows XP a 32 bit
@echo off
if "%1"=="" goto error
if not exist MigDomCustomXp.xml goto error
cls
C:
echo USMT ScanState per Windows XP
echo GSolone 2013 (20130507-rev0)
echo.
echo Copio i dati di %1
if not exist %systemdrive%\mig mkdir %systemdrive%\mig
"%ProgramFiles%\USMT301\scanstate" %SystemDrive%\mig /ue:*\* /ui:%1 /i:"%ProgramFiles%\USMT301\migapp.xml" /i:MigDomCustomXp.xml /o /c
goto end
:error
cls
echo.
echo Utilizzo del batch:
echo ScanState dominio1\vecchioutente
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