batch:usmt
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
batch:usmt [2013/03/18 12:17] – gfsadministrator | batch:usmt [2014/12/12 14:20] (current) – gfsadministrator | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== USMT ====== | ====== USMT ====== | ||
- | Work in progress ... | + | {{ :batch:usmt_icon.png? |
- | + | ||
- | ===== Windows 7 ===== | + | |
- | + | ||
- | <file bat ScanState.bat> | + | |
- | @echo off | + | |
- | if " | + | |
- | if not exist MigDomCustom-Gioxx.xml goto error | + | |
- | + | ||
- | cls | + | |
- | echo USMT ScanState per Windows 7 | + | |
- | echo GSolone 2013 (20130205-rev0) | + | |
- | echo. | + | |
- | echo Copio i dati di %1 | + | |
- | if not exist %systemdrive%\mig mkdir %systemdrive%\mig | + | |
- | " | + | |
- | goto end | + | |
- | + | ||
- | :error | + | |
- | cls | + | |
- | echo. | + | |
- | echo Utilizzo del batch: | + | |
- | echo ScanState dominio1\vecchioutente | + | |
- | echo Verificare la presenza del file MigDomCustom-Gioxx.xml all' | + | |
- | echo. | + | |
- | + | ||
- | :end | + | |
- | </file> | + | |
- | + | ||
- | <file bat LoadState.bat> | + | |
- | @echo off | + | |
- | if " | + | |
- | if " | + | |
- | if not exist MigDomCustom-Gioxx.xml goto error | + | |
- | + | ||
- | cls | + | |
- | echo USMT LoadState per Windows 7 | + | |
- | echo GSolone 2013 (20130122-rev0) | + | |
- | echo. | + | |
- | echo Sposto i dati da %1 a %2 | + | |
- | " | + | |
- | goto end | + | |
- | + | ||
- | :error | + | |
- | cls | + | |
- | echo. | + | |
- | echo Utilizzo del batch: | + | |
- | echo LoadState dominio1\vecchioutente dominio2\nuovoutente | + | |
- | echo Verificare la presenza del file MigDomCustom-Gioxx.xml all' | + | |
- | echo. | + | |
- | + | ||
- | :end | + | |
- | </file> | + | |
- | + | ||
- | ===== Windows XP Professional Edition ===== | + | |
- | + | ||
- | <file bat ScanStateXP.bat> | + | |
- | @echo off | + | |
- | if " | + | |
- | if not exist MigDomCustom-Gioxx.xml goto error | + | |
- | + | ||
- | cls | + | |
- | echo USMT ScanState per Windows XP | + | |
- | echo GSolone 2013 (20130122-rev1) | + | |
- | echo. | + | |
- | echo Copio i dati di %1 | + | |
- | if not exist %systemdrive%\mig mkdir %systemdrive%\mig | + | |
- | " | + | |
- | goto end | + | |
- | + | ||
- | :error | + | |
- | cls | + | |
- | echo. | + | |
- | echo Utilizzo del batch: | + | |
- | echo ScanState dominio1\vecchioutente | + | |
- | echo Verificare la presenza del file MigDomCustom-Gioxx.xml all' | + | |
- | echo. | + | |
- | + | ||
- | :end | + | |
- | </ | + | |
- | + | ||
- | <file bat LoadStateXP.bat> | + | |
- | @echo off | + | |
- | if " | + | |
- | if " | + | |
- | if not exist MigDomCustom-Gioxx.xml goto error | + | |
- | + | ||
- | cls | + | |
- | echo USMT LoadState per Windows XP | + | |
- | echo GSolone 2013 (20130122-rev0) | + | |
- | echo. | + | |
- | echo Sposto i dati da %1 a %2 | + | |
- | " | + | |
- | goto end | + | |
- | + | ||
- | :error | + | |
- | cls | + | |
- | echo. | + | |
- | echo Utilizzo del batch: | + | |
- | echo LoadState dominio1\vecchioutente dominio2\nuovoutente | + | |
- | echo Verificare la presenza del file MigDomCustom-Gioxx.xml all' | + | |
- | echo. | + | |
- | + | ||
- | :end | + | |
- | </ | + | |
- | + | ||
- | ===== Windows XP Home Edition ===== | + | |
- | + | ||
- | <file bat ScanStateXPH.bat> | + | |
- | @echo off | + | |
- | if not exist MigDomCustom-Gioxx.xml goto error | + | |
- | + | ||
- | cls | + | |
- | echo USMT ScanState per Windows XP HOME EDITION | + | |
- | echo GSolone 2013 (20130210-rev0) | + | |
- | echo. | + | |
- | echo Copio i dati della macchina e di tutti gli account | + | |
- | if not exist %systemdrive%\mig mkdir %systemdrive%\mig | + | |
- | " | + | |
- | goto end | + | |
- | + | ||
- | :error | + | |
- | cls | + | |
- | echo. | + | |
- | echo Utilizzo del batch: | + | |
- | echo Verificare la presenza del file MigDomCustom-Gioxx.xml all' | + | |
- | echo. | + | |
- | + | ||
- | :end | + | |
- | </ | + | |
- | + | ||
- | <file bat LoadStateXPH.bat> | + | |
- | @echo off | + | |
- | if not exist MigDomCustom-Gioxx.xml goto error | + | |
- | + | ||
- | cls | + | |
- | echo USMT LoadState per Windows XP HOME EDITION | + | |
- | echo GSolone 2013 (20130214-rev0) | + | |
- | echo. | + | |
- | echo Ricopio i dati di migrazione | + | |
- | " | + | |
- | goto end | + | |
- | + | ||
- | :error | + | |
- | cls | + | |
- | echo. | + | |
- | echo Utilizzo del batch: | + | |
- | echo Verificare la presenza del file MigDomCustom-Gioxx.xml all' | + | |
- | echo. | + | |
- | + | ||
- | :end | + | |
- | </ | + | |
- | + | ||
- | ===== MigDomCustom-Gioxx ===== | + | |
- | Si tratta del file XML utilizzato per spostare il profilo da una macchina all' | + | |
- | + | ||
- | <file xml MigDomCustom-Gioxx> | + | |
- | <?xml version=" | + | |
- | < | + | |
- | + | ||
- | <!-- CUSTOM MIGRATION FILE for USMT 3+ (Xp/7) with AppData Migration | + | |
- | GSolone 02/ | + | |
- | gioxx.org // gfsolone.com | + | |
- | This custom file doesn' | + | |
- | This custom file also include: Google Drive Folder, Dropbox Folder (if respective folder are into user profile root folder) | + | |
- | REMEMBER to include also MigApp.xml! | + | |
- | + | ||
- | Original discussion: http:// | + | |
- | --> | + | |
- | < | + | |
- | http:// | + | |
- | http:// | + | |
- | http:// | + | |
- | http:// | + | |
- | http:// | + | |
- | http:// | + | |
- | + | ||
- | In case of ERROR 26: http:// | + | |
- | PAY ATTENTION TO Migration URLID! | + | |
- | + | ||
- | In case of ERROR "A temporary profile is currently active on the system" | + | |
- | PAY ATTENTION TO BAK PROFILE IN REGEDIT! | + | |
- | --> | + | |
- | + | ||
- | <!-- This component migrates Desktop files --> | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | <path type=" | + | |
- | </ | + | |
- | <role role=" | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | </ | + | |
- | </ | + | |
- | < | + | |
- | <include filter=' | + | |
- | < | + | |
- | <pattern type=" | + | |
- | </ | + | |
- | </ | + | |
- | <merge script=" | + | |
- | < | + | |
- | <pattern type=" | + | |
- | <pattern type=" | + | |
- | </ | + | |
- | </ | + | |
- | </ | + | |
- | </ | + | |
- | </ | + | |
- | + | ||
- | <!-- This component migrates Shared Desktop files --> | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | <path type=" | + | |
- | </ | + | |
- | <role role=" | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | </ | + | |
- | </ | + | |
- | < | + | |
- | <include filter=' | + | |
- | < | + | |
- | <pattern type=" | + | |
- | </ | + | |
- | </ | + | |
- | <merge script=" | + | |
- | < | + | |
- | <pattern type=" | + | |
- | <pattern type=" | + | |
- | </ | + | |
- | </ | + | |
- | </ | + | |
- | </ | + | |
- | </ | + | |
- | + | ||
- | <!-- This component migrates Start Menu files --> | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | <path type=" | + | |
- | </ | + | |
- | <role role=" | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | </ | + | |
- | </ | + | |
- | < | + | |
- | <include filter=' | + | |
- | < | + | |
- | <pattern type=" | + | |
- | </ | + | |
- | </ | + | |
- | <merge script=" | + | |
- | < | + | |
- | <pattern type=" | + | |
- | <pattern type=" | + | |
- | </ | + | |
- | </ | + | |
- | </ | + | |
- | </ | + | |
- | </ | + | |
- | + | ||
- | <!-- This component migrates Shared Start Menu files --> | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | <path type=" | + | |
- | </ | + | |
- | <role role=" | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | </ | + | |
- | </ | + | |
- | < | + | |
- | <include filter=' | + | |
- | < | + | |
- | <pattern type=" | + | |
- | </ | + | |
- | </ | + | |
- | <merge script=" | + | |
- | < | + | |
- | <pattern type=" | + | |
- | <pattern type=" | + | |
- | </ | + | |
- | </ | + | |
- | </ | + | |
- | </ | + | |
- | </ | + | |
- | + | ||
- | <!-- This component migrates My Documents files --> | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | <path type=" | + | |
- | </ | + | |
- | <role role=" | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | </ | + | |
- | </ | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | <pattern type=" | + | |
- | <pattern type=" | + | |
- | <pattern type=" | + | |
- | </ | + | |
- | </ | + | |
- | <include filter=' | + | |
- | < | + | |
- | <pattern type=" | + | |
- | </ | + | |
- | </ | + | |
- | <merge script=" | + | |
- | < | + | |
- | <pattern type=" | + | |
- | </ | + | |
- | </ | + | |
- | </ | + | |
- | </ | + | |
- | </ | + | |
- | + | ||
- | <!-- This component migrates Favorites --> | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | <path type=" | + | |
- | </ | + | |
- | <role role=" | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | </ | + | |
- | </ | + | |
- | < | + | |
- | <include filter=' | + | |
- | < | + | |
- | <pattern type=" | + | |
- | </ | + | |
- | </ | + | |
- | <merge script=" | + | |
- | < | + | |
- | <pattern type=" | + | |
- | <pattern type=" | + | |
- | </ | + | |
- | </ | + | |
- | </ | + | |
- | </ | + | |
- | </ | + | |
- | + | ||
- | <!-- This component migrates My Pictures files --> | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | <path type=" | + | |
- | </ | + | |
- | <role role=" | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | </ | + | |
- | </ | + | |
- | < | + | |
- | <include filter=' | + | |
- | < | + | |
- | <pattern type=" | + | |
- | </ | + | |
- | </ | + | |
- | <merge script=" | + | |
- | < | + | |
- | <pattern type=" | + | |
- | </ | + | |
- | </ | + | |
- | </ | + | |
- | </ | + | |
- | </ | + | |
- | + | ||
- | <!-- This component migrates My Music files --> | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | <path type=" | + | |
- | </ | + | |
- | <role role=" | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | </ | + | |
- | </ | + | |
- | < | + | |
- | <include filter=' | + | |
- | < | + | |
- | <pattern type=" | + | |
- | </ | + | |
- | </ | + | |
- | <merge script=" | + | |
- | < | + | |
- | <pattern type=" | + | |
- | </ | + | |
- | </ | + | |
- | </ | + | |
- | </ | + | |
- | </ | + | |
- | + | ||
- | <!-- This component migrates My Video files --> | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | <path type=" | + | |
- | </ | + | |
- | <role role=" | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | </ | + | |
- | </ | + | |
- | < | + | |
- | <include filter=' | + | |
- | < | + | |
- | <pattern type=" | + | |
- | </ | + | |
- | </ | + | |
- | <merge script=" | + | |
- | < | + | |
- | <pattern type=" | + | |
- | </ | + | |
- | </ | + | |
- | </ | + | |
- | </ | + | |
- | </ | + | |
- | + | ||
- | <!-- This component migrates AppData (Local, Roaming, LocalLow) --> | + | |
- | < | + | |
- | < | + | |
- | <role role=" | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | <pattern type=" | + | |
- | </ | + | |
- | </ | + | |
- | </ | + | |
- | </ | + | |
- | </ | + | |
- | + | ||
- | <!-- This component migrates Dropbox folder --> | + | |
- | < | + | |
- | < | + | |
- | <role role=" | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | <pattern type=" | + | |
- | </ | + | |
- | </ | + | |
- | </ | + | |
- | </ | + | |
- | </ | + | |
- | + | ||
- | <!-- This component migrates Google Drive folder --> | + | |
- | < | + | |
- | < | + | |
- | <role role=" | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | <pattern type=" | + | |
- | </ | + | |
- | </ | + | |
- | </ | + | |
- | </ | + | |
- | </ | + | |
- | + | ||
- | <!-- This component migrates Quick Launch files --> | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | <path type=" | + | |
- | </ | + | |
- | <role role=" | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | </ | + | |
- | </ | + | |
- | < | + | |
- | <include filter=' | + | |
- | < | + | |
- | <pattern type=" | + | |
- | </ | + | |
- | </ | + | |
- | <merge script=" | + | |
- | < | + | |
- | <pattern type=" | + | |
- | <pattern type=" | + | |
- | </ | + | |
- | </ | + | |
- | </ | + | |
- | </ | + | |
- | </ | + | |
- | + | ||
- | <!-- This component migrates user files with known extension--> | + | |
- | < | + | |
- | < | + | |
- | <role role=" | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | </ | + | |
- | </ | + | |
- | <!-- Uncomment the following if you want all the files collected from the above rules to move to < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | </ | + | |
- | </ | + | |
- | --> | + | |
- | < | + | |
- | < | + | |
- | <pattern type=" | + | |
- | <pattern type=" | + | |
- | <pattern type=" | + | |
- | <!--We are trying to remove system files from other windows | + | |
- | <!--This is the best guess we can come up with, in case of these folder name localized, we might not be | + | |
- | to do whatever we have intended here--> | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | </ | + | |
- | </ | + | |
- | </ | + | |
- | </ | + | |
- | </ | + | |
- | + | ||
- | </ | + | |
- | </ | + |
batch/usmt.txt · Last modified: 2014/12/12 14:20 by gfsadministrator