/build/static/layout/Breadcrumb_cap_w.png

How do people backup their machines before using USMT with scripted installs?

I'm just wondering if anyone backs up their computers before imaging/using USMT? And how are you doing it? We currently back the machine up manually via our old Ghost server before doing any form of scripted install just to ensure that all data is backed up. This is time consuming and annoying, but unfortunately USMT won't backup all Application Data, folders stored on the root of the C: drive, or further partitions (we usually have both a C: System partition and D: data partition) for example, so we cover that by doing a Ghost image.

I was just wondering if there was some form of automated process that we can apply to scripted installs to get a complete backup before processing USMIT, mid-level tasks, post-install tasks? An ideal situation for us would be to have the whole disk backed up to a network share at the least, and if possible to then add a post-install task that automatically copies the data back to the D: drive of the newly imaged machine (this is not essential though). I've tried using the K2000 to make a K-image but it took 90 minutes to back up 19GB, WIM seemed much faster but you're unable to browse the image via the web-console once it's been created/extract any files to my knowledge. Any tips?


0 Comments   [ + ] Show comments

Answers (2)

Posted by: jegolf 11 years ago
Red Belt
1

I dug deep into the USMT way back when and modified the .xml files to capture exactly what I needed. Pretty much if there's something you want to capture there's a way to have the tool do so. I popped my custom .xml files at the proper location in \\k2\usmt. It took me some time and headaches but was worth it. A lot of Goggling and trial and error.


Comments:
  • I'm pretty much concentrating on copying our D:/ drive and any root folders of the C:/ drive (excluding default Windows folders) over with USMT. I've written the below custom XML file called cddata.xml, then ran "scanstate /i:MigApp.xml /i:MigDocs.xml /i:MigUser.xml /i:cddata.xml /genconfig:Config.xml /v:13" to create the custom config.xml.

    I've then copied the config.xml to the USMT/x86 folder on my Windows machine, zipped and uploaded it to KACE via the media manager. I've then tried to run an offline capture of a dummy computer as part of my scripted install via the K2000, I select Default as the template, and it errors. It first of all asks me if i want to replace my custom.xml, which i say no to, and then it says "User state scan failed for the following user: Administrator. Do you want to continue". If i say yes to replace it it also fails. I'm thinking their must be a problem with one of the xml files but have no idea what? Any help would be great!

    This is my cddata.xml:

    <migration urlid="http://www.microsoft.com/migration/1.0/migxmlext/cddata">
    <!-- This component migrates data in C:\ folder but excludes Windows directories -->
    <component type="Documents" context="System">
    <displayName>Component to migrate all folders excluding default Windows directories on C:</displayName>
    <role role="Data">
    <rules>
    <include>
    <objectSet>
    <pattern type="File">C:\* [*]</pattern>
    </objectSet>
    </include>
    <exclude>
    <objectSet>
    <pattern type="File">C:\Program Files\* [*]</pattern>
    <pattern type="File">C:\Windows\* [*]</pattern>
    <pattern type="File">C:\Recycler\* [*]</pattern>
    <pattern type="File">C:\System Volume Information\* [*]</pattern>
    <pattern type="File">C:\Documents and Settings\* [*]</pattern>>
    </objectSet>
    </exclude>
    </rules>
    </role>
    </component>

    <!-- This component migrates data in D: folder -->
    <component type="Documents" context="System">
    <displayName>Component to migrate all Documents including subfolders on D:</displayName>
    <role role="Data">
    <rules>
    <include>
    <objectSet>
    <pattern type="File">D:\* [*]</pattern>
    </objectSet>
    </include>
    </rules>
    </role>
    </component>
    </migration>

    This is my config.xml:

    <?xml version="1.0" encoding="UTF-8"?>
    <Configuration>
    <Applications>
    <component displayname="QuickTime Player" migrate="yes" ID="http://www.microsoft.com/migration/1.0/migxmlext/migapp/quicktime player/settings"/>
    <component displayname="Mozilla Firefox" migrate="yes" ID="http://www.microsoft.com/migration/1.0/migxmlext/migapp/mozilla firefox/settings"/>
    <component displayname="Microsoft Office 2010" migrate="yes" ID="http://www.microsoft.com/migration/1.0/migxmlext/migapp/microsoft office 2010/container">
    <component displayname="Microsoft Office Access 2010" migrate="yes" ID="http://www.microsoft.com/migration/1.0/migxmlext/migapp/microsoft office 2010/container/microsoft office access 2010/settings"/>
    <component displayname="Microsoft Office Excel 2010" migrate="yes" ID="http://www.microsoft.com/migration/1.0/migxmlext/migapp/microsoft office 2010/container/microsoft office excel 2010/settings"/>
    <component displayname="Microsoft Office Outlook 2010" migrate="yes" ID="http://www.microsoft.com/migration/1.0/migxmlext/migapp/microsoft office 2010/container/microsoft office outlook 2010/settings"/>
    <component displayname="Microsoft Office PowerPoint 2010" migrate="yes" ID="http://www.microsoft.com/migration/1.0/migxmlext/migapp/microsoft office 2010/container/microsoft office powerpoint 2010/settings"/>
    <component displayname="Microsoft Office Word 2010 (64-bit)" migrate="yes" ID="http://www.microsoft.com/migration/1.0/migxmlext/migapp/microsoft office 2010/container/microsoft office word 2010 (64-bit)/container">
    <component displayname="Microsoft Office Word 2010 (64-bit) Body" migrate="yes" ID="http://www.microsoft.com/migration/1.0/migxmlext/migapp/microsoft office 2010/container/microsoft office word 2010 (64-bit)/container/microsoft office word 2010 (64-bit) body/settings"/>
    </component>
    <component displayname="Office 2010 Common Settings" migrate="yes" ID="http://www.microsoft.com/migration/1.0/migxmlext/migapp/microsoft office 2010/container/office 2010 common settings/settings"/>
    <component displayname="Microsoft Office Word 2010 (32-bit)" migrate="yes" ID="http://www.microsoft.com/migration/1.0/migxmlext/migapp/microsoft office 2010/container/microsoft office word 2010 (32-bit)/settings"/>
    </component>
    </Applications>
    <Documents>
    <component displayname="Migrate Links Folder" migrate="yes" ID="http://www.microsoft.com/migration/1.0/migxmlext/miguser/migrate links folder/data"/>
    <component displayname="My Pictures" migrate="yes" ID="http://www.microsoft.com/migration/1.0/migxmlext/miguser/my pictures/data"/>
    <component displayname="My Documents" migrate="yes" ID="http://www.microsoft.com/migration/1.0/migxmlext/miguser/my documents/data"/>
    <component displayname="My Music" migrate="yes" ID="http://www.microsoft.com/migration/1.0/migxmlext/miguser/my music/data"/>
    <component displayname="MigDocUser" migrate="yes" ID="http://www.microsoft.com/migration/1.0/migxmlext/migdocs/migdocuser/data"/>
    <component displayname="Desktop" migrate="yes" ID="http://www.microsoft.com/migration/1.0/migxmlext/miguser/desktop/settings"/>
    <component displayname="Shared Documents" migrate="yes" ID="http://www.microsoft.com/migration/1.0/migxmlext/miguser/shared documents/data"/>
    <component displayname="Component to migrate all Documents including subfolders on D:" migrate="yes" ID="http://www.microsoft.com/migration/1.0/migxmlext/cddata/component to migrate all documents including subfolders on d:/"/>
    <component displayname="Shared Video" migrate="yes" ID="http://www.microsoft.com/migration/1.0/migxmlext/miguser/shared video/data"/>
    <component displayname="User Data" migrate="yes" ID="http://www.microsoft.com/migration/1.0/migxmlext/miguser/user data/data"/>
    <component displayname="Shared Music" migrate="yes" ID="http://www.microsoft.com/migration/1.0/migxmlext/miguser/shared music/data"/>
    <component displayname="Shared Desktop" migrate="yes" ID="http://www.microsoft.com/migration/1.0/migxmlext/miguser/shared desktop/settings"/>
    <component displayname="Component to migrate all folders excluding default Windows directories on C:" migrate="yes" ID="http://www.microsoft.com/migration/1.0/migxmlext/cddata/component to migrate all folders excluding default windows directories on c:/"/>
    <component displayname="Shared Pictures" migrate="yes" ID="http://www.microsoft.com/migration/1.0/migxmlext/miguser/shared pictures/data"/>
    <component displayname="MigDocSystem" migrate="yes" ID="http://www.microsoft.com/migration/1.0/migxmlext/migdocs/migdocsystem/data"/>
    </Documents>
    <WindowsComponents>
    <component displayname="WindowsSearchEngine-DL" migrate="yes" ID="http://www.microsoft.com/migration/1.0/migxmlext/cmi/windowssearchengine-dl/windowssearchengine-dl/settings"/>
    <component displayname="Microsoft-Windows-themeui-DL" migrate="yes" ID="http://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-themeui-dl/microsoft-windows-themeui-dl/settings"/>
    <component displayname="Tablet PC Settings" migrate="yes" ID="tablet_pc_settings">
    <component displayname="General Options" migrate="yes" ID="tablet_pc_settings\tablet_pc_general_options">
    <component displayname="Microsoft-Windows-TabletPC-Platform-Input-Core-DL" migrate="yes" ID="http://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-tabletpc-platform-input-core-dl/microsoft-windows-tabletpc-platform-input-core-dl/settings"/>
    </component>
    <component displayname="Accessories" migrate="yes" ID="tablet_pc_settings\tablet_pc_accessories">
    <component displayname="Microsoft-Windows-TabletPC-Journal-DL" migrate="yes" ID="http://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-tabletpc-journal-dl/microsoft-windows-tabletpc-journal-dl/settings"/>
    </component>
    <component displayname="Input Panel" migrate="yes" ID="tablet_pc_settings\tablet_pc_input_panel">
    <component displayname="Microsoft-Windows-TabletPC-InputPanel-DL" migrate="yes" ID="http://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-tabletpc-inputpanel-dl/microsoft-windows-tabletpc-inputpanel-dl/settings"/>
    </component>
    </component>
    <component displayname="Microsoft-Windows-RasmanService-DL" migrate="yes" ID="http://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-rasmanservice-dl/microsoft-windows-rasmanservice-dl/settings"/>
    <component displayname="Hardware" migrate="yes" ID="hardware">
    <component displayname="Printers and Faxes" migrate="yes" ID="hardware\printers_and_faxes">
    <component displayname="Microsoft-Windows-Printing-Spooler-Networkclient-DL" migrate="yes" ID="http://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-printing-spooler-networkclient-dl/microsoft-windows-printing-spooler-networkclient-dl/settings"/>
    <component displayname="Microsoft-Windows-Printing-Spooler-Core-DL" migrate="yes" ID="http://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-printing-spooler-core-dl/microsoft-windows-printing-spooler-core-dl/settings"/>
    </component>
    <component displayname="Phone and Modem" migrate="yes" ID="hardware\phone_and_modem">
    <component displayname="Microsoft-Windows-TapiSetup-DL" migrate="yes" ID="http://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-tapisetup-dl/microsoft-windows-tapisetup-dl/settings"/>
    </component>
    </component>
    <component displayname="Communications and Sync" migrate="yes" ID="communications_and_sync">
    <component displayname="Windows Mail" migrate="yes" ID="communications_and_sync\windows_mail">
    <component displayname="Microsoft-Windows-WAB-DL" migrate="yes" ID="http://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-wab-dl/microsoft-windows-wab-dl/settings"/>
    <component displayname="Microsoft-Windows-Mail-DL" migrate="yes" ID="http://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-mail-dl/microsoft-windows-mail-dl/settings"/>
    </component>
    <component displayname="Fax" migrate="yes" ID="communications_and_sync\fax">
    <component displayname="Microsoft-Windows-Fax-Service-DL" migrate="yes" ID="http://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-fax-service-dl/microsoft-windows-fax-service-dl/settings"/>
    <component displayname="Microsoft-Windows-Fax-Common-DL" migrate="yes" ID="http://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-fax-common-dl/microsoft-windows-fax-common-dl/settings"/>
    <component displayname="Microsoft-Windows-Fax-Client-Applications-DL" migrate="yes" ID="http://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-fax-client-applications-dl/microsoft-windows-fax-client-applications-dl/settings"/>
    </component>
    </component>
    <component displayname="Network and Internet" migrate="yes" ID="network_and_internet">
    <component displayname="Internet Options" migrate="yes" ID="network_and_internet\internet_options">
    <component displayname="Microsoft-Windows-IE-InternetExplorer-DL" migrate="yes" ID="http://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-ie-internetexplorer-dl/microsoft-windows-ie-internetexplorer-dl/settings"/>
    <component displayname="Microsoft-Windows-IE-Feeds-Platform-DL" migrate="yes" ID="http://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-ie-feeds-platform-dl/microsoft-windows-ie-feeds-platform-dl/settings"/>
    <component displayname="Microsoft-Windows-IE-ClientNetworkProtocolImplementation-DL" migrate="yes" ID="http://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-ie-clientnetworkprotocolimplementation-dl/microsoft-windows-ie-clientnetworkprotocolimplementation-dl/settings"/>
    </component>
    <component displayname="Networking Connections" migrate="yes" ID="network_and_internet\networking_connections">
    <component displayname="Microsoft-Windows-RasConnectionManager-DL" migrate="yes" ID="http://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-rasconnectionmanager-dl/microsoft-windows-rasconnectionmanager-dl/settings"/>
    <component displayname="Microsoft-Windows-WlanSvc-DL" migrate="yes" ID="http://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-wlansvc-dl/microsoft-windows-wlansvc-dl/settings"/>
    <component displayname="Microsoft-Windows-Dot3svc-DL" migrate="yes" ID="http://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-dot3svc-dl/microsoft-windows-dot3svc-dl/settings"/>
    </component>
    </component>
    <component displayname="Microsoft-Windows-International-TimeZones-DL" migrate="yes" ID="http://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-international-timezones-dl/microsoft-windows-international-timezones-dl/settings"/>
    <component displayname="Date, Time, Language and Region" migrate="yes" ID="date_time_language_and_region">
    <component displayname="Regional Language Options" migrate="yes" ID="date_time_language_and_region\regional_language_options">
    <component displayname="Microsoft-Windows-TextServicesFramework-Migration-DL" migrate="yes" ID="http://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-textservicesframework-migration-dl/microsoft-windows-textservicesframework-migration-dl/settings"/>
    <component displayname="Microsoft-Windows-MUI-Settings-DL" migrate="yes" ID="http://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-mui-settings-dl/microsoft-windows-mui-settings-dl/settings"/>
    <component displayname="Microsoft-Windows-International-Core-DL" migrate="yes" ID="http://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-international-core-dl/microsoft-windows-international-core-dl/settings"/>
    </component>
    </component>
    <component displayname="Microsoft-Windows-Extensible-Authentication-Protocol-Host-Service-DL" migrate="yes" ID="http://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-extensible-authentication-protocol-host-service-dl/microsoft-windows-extensible-authentication-protocol-host-service-dl/settings"/>
    <component displayname="Microsoft-Windows-eudcedit-DL" migrate="yes" ID="http://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-eudcedit-dl/microsoft-windows-eudcedit-dl/settings"/>
    <component displayname="Security" migrate="yes" ID="security">
    <component displayname="Security Options" migrate="yes" ID="security\security_options">
    <component displayname="Microsoft-Windows-Credential-Manager-DL" migrate="yes" ID="http://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-credential-manager-dl/microsoft-windows-credential-manager-dl/settings"/>
    </component>
    </component>
    <component displayname="Appearance and Display" migrate="yes" ID="appearance_and_display">
    <component displayname="Taskbar and Start Menu" migrate="yes" ID="appearance_and_display\taskbar_and_start_menu">
    <component displayname="Microsoft-Windows-explorer-DL" migrate="yes" ID="http://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-explorer-dl/microsoft-windows-explorer-dl/settings"/>
    </component>
    <component displayname="Personalized Settings" migrate="yes" ID="appearance_and_display\personalized_settings">
    <component displayname="Microsoft-Windows-shmig-DL" migrate="yes" ID="http://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-shmig-dl/microsoft-windows-shmig-dl/settings"/>
    <component displayname="Microsoft-Windows-shell32-DL" migrate="yes" ID="http://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-shell32-dl/microsoft-windows-shell32-dl/settings"/>
    <component displayname="Microsoft-Windows-CommandPrompt-DL" migrate="yes" ID="http://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-commandprompt-dl/microsoft-windows-commandprompt-dl/settings"/>
    </component>
    </component>
    <component displayname="Additional Options" migrate="yes" ID="additional_options">
    <component displayname="Windows Core Settings" migrate="yes" ID="additional_options\windows_core_settings">
    <component displayname="Microsoft-Windows-Win32k-Settings-DL" migrate="yes" ID="http://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-win32k-settings-dl/microsoft-windows-win32k-settings-dl/settings"/>
    <component displayname="Microsoft-Windows-Web-Services-for-Management-Core-DL" migrate="yes" ID="http://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-web-services-for-management-core-dl/microsoft-windows-web-services-for-management-core-dl/settings"/>
    <component displayname="Microsoft-Windows-RPC-Remote-DL" migrate="yes" ID="http://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-rpc-remote-dl/microsoft-windows-rpc-remote-dl/settings"/>
    <component displayname="Microsoft-Windows-RPC-Local-DL" migrate="yes" ID="http://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-rpc-local-dl/microsoft-windows-rpc-local-dl/settings"/>
    <component displayname="Microsoft-Windows-RPC-HTTP-DL" migrate="yes" ID="http://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-rpc-http-dl/microsoft-windows-rpc-http-dl/settings"/>
    <component displayname="Microsoft-Windows-RasApi-DL" migrate="yes" ID="http://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-rasapi-dl/microsoft-windows-rasapi-dl/settings"/>
    <component displayname="Microsoft-Windows-Microsoft-Data-Access-Components-(MDAC)-ODBC-DriverManager-Dll-DL" migrate="yes" ID="http://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-microsoft-data-access-components-(mdac)-odbc-drivermanager-dll-dl/microsoft-windows-microsoft-data-access-components-(mdac)-odbc-drivermanager-dll-dl/settings"/>
    <component displayname="Microsoft-Windows-COM-ComPlus-Setup-DL" migrate="yes" ID="http://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-com-complus-setup-dl/microsoft-windows-com-complus-setup-dl/settings"/>
    <component displayname="Microsoft-Windows-COM-Base-DL" migrate="yes" ID="http://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-com-base-dl/microsoft-windows-com-base-dl/settings"/>
    <component displayname="Microsoft-Windows-ICM-Profiles-DL" migrate="yes" ID="http://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-icm-profiles-dl/microsoft-windows-icm-profiles-dl/settings"/>
    <component displayname="Microsoft-Windows-feclient-DL" migrate="yes" ID="http://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-feclient-dl/microsoft-windows-feclient-dl/settings"/>
    <component displayname="Microsoft-Windows-dpapi-keys-DL" migrate="yes" ID="http://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-dpapi-keys-dl/microsoft-windows-dpapi-keys-dl/settings"/>
    <component displayname="Microsoft-Windows-Crypto-keys-DL" migrate="yes" ID="http://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-crypto-keys-dl/microsoft-windows-crypto-keys-dl/settings"/>
    <component displayname="Microsoft-Windows-CAPI2-certs-DL" migrate="yes" ID="http://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-capi2-certs-dl/microsoft-windows-capi2-certs-dl/settings"/>
    </component>
    </component>
    <component displayname="Accessibility" migrate="yes" ID="accessibility">
    <component displayname="Accessibility Settings" migrate="yes" ID="accessibility\accessibility_settings">
    <component displayname="Microsoft-Windows-accessibilitycpl-DL" migrate="yes" ID="http://www.microsoft.com/migration/1.0/migxmlext/cmi/microsoft-windows-accessibilitycpl-dl/microsoft-windows-accessibilitycpl-dl/settings"/>
    </component>
    </component>
    <component displayname="Start Menu" migrate="yes" ID="http://www.microsoft.com/migration/1.0/migxmlext/miguser/start menu/settings"/>
    <component displayname="Favorites" migrate="yes" ID="http://www.microsoft.com/migration/1.0/migxmlext/miguser/favorites/settings"/>
    <component displayname="Quick Launch" migrate="yes" ID="http://www.microsoft.com/migration/1.0/migxmlext/miguser/quick launch/settings"/>
    <component displayname="Shared Favorites" migrate="yes" ID="http://www.microsoft.com/migration/1.0/migxmlext/miguser/shared favorites/settings"/>
    <component displayname="Shared Start Menu" migrate="yes" ID="http://www.microsoft.com/migration/1.0/migxmlext/miguser/shared start menu/settings"/>
    </WindowsComponents>
    <Policies>
    <ErrorControl>
    <!-- Example:

    <fileError>
    <nonFatal errorCode="33">* [*]</nonFatal>
    <fatal errorCode="any">C:\Users\* [*]</fatal>
    </fileError>
    <registryError>
    <nonFatal errorCode="5">* [*]</nonFatal>
    </registryError>
    -->
    </ErrorControl>
    <HardLinkStoreControl>
    <!-- Example:

    <fileLocked>
    <createHardLink>c:\Users\* [*]</createHardLink>
    <errorHardLink>C:\* [*]</errorHardLink>
    </fileLocked>
    -->
    </HardLinkStoreControl>
    </Policies>
    <ProfileControl>
    <!-- Example (local group mapping):

    <localGroups>
    <mappings>
    <changeGroup from="Administrators" to="Users" appliesTo="MigratedUsers">
    <include>
    <pattern>DomainName1\Username</pattern>
    </include>
    <exclude>
    <pattern>DomainName2\Username</pattern>
    </exclude>
    </changeGroup>
    </mappings>
    </localGroups>

    -->
    <!-- Example (domain and user mapping):

    <domains>
    <domain from="Domain1" to="Domain2"/>
    </domains>

    <users>
    <user from="Domain1\User1" to="Domain2\User2"/>
    </users>

    -->
    </ProfileControl>
    </Configuration> - anonymous_84852 11 years ago
  • Hmmm. What I did was just customized the migapp.xml and miguser.xl directly and copied them to the kbox usmt share here: \\yourkbox\usmt\bin\usmt4\. I renamed the originals orig.xml just in case. So this way I didn't go the custom.xml route...which may have simplified things. - jegolf 11 years ago
  • I've had to log a support ticket with KACE as our admin account supposedly doesn't have rights to edit any of the files in that folder manually. Thanks for your help! - anonymous_84852 11 years ago
Posted by: SMal.tmcc 11 years ago
Red Belt
1

We run our scripts with batch files

We created batch files that run the usmt manually from a server share to capture the needed files there.  Just like Jegolf mentions with a custom xml file.  It creates a directory with the computer name to a share on the server.  We use a WOL to wake the machines about 1am and then run the script about 1:15am

This is my aquire usmt batch for 32bit machines:

net use v: \\dr-main\images /user:domain\speacialuser password
v:
cd usmt
md %COMPUTERNAME%
v:\usmt\x86\scanstate v:\usmt\%COMPUTERNAME% /i:v:\usmt\x86\migapp.xml /i:v:\usmt\x86\miguser.xml /l:v:\usmt\%COMPUTERNAME%\mig.log /o /v:5 /uel:120 /ui:tmccadmn\*

 

This is my aquire usmt batch for 64bit machines:

net use v: \\dr-main\images /user:domain\speacialuser password
v:
cd usmt
md %COMPUTERNAME%
v:\usmt\amd64\scanstate v:\usmt\%COMPUTERNAME% /i:v:\usmt\x86\migapp.xml /i:v:\usmt\amd64\miguser.xml /l:v:\usmt\%COMPUTERNAME%\mig.log /o /v:5 /uel:120 /ui:tmccadmn\*

I also have batch file that will apply the mig files to the target machines after.


Comments:
  • http://technet.microsoft.com/en-us/library/dd883247%28v=ws.10%29.aspx
    http://technet.microsoft.com/en-us/library/cc749223%28v=ws.10%29.aspx - SMal.tmcc 11 years ago
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ