Thanks Mike Its working :) Quick question :---
Like I have a *machine A* in Location called* "NJ"* and captured the State load in *SMP - NJ* and Machine needs to be restored on *Machine B* in location *"DC"* * Here question is Like If i need to restore my profile data to Machine B (location DC) .. so from location "NJ" will call the data over the WAN ? On Tue, Jan 26, 2016 at 1:54 PM, Kevin Ray <[email protected]> wrote: > Thanks Mike I will let you the feedback soon > > On Tue, Jan 26, 2016 at 12:35 PM, Marable, Mike <[email protected]> > wrote: > >> Sorry Kevin, it’s been a rough day today. :) >> >> Here is my custom XML file that we use in USMT. I highlighted the >> Registry key that holds the drive mappings. >> >> >> <migration urlid=" >> http://www.microsoft.com/migration/1.0/migxmlext/testfilemig"> >> <component type="System"> >> <displayName>Registry Migration Test</displayName> >> <role role="Settings"> >> <rules context="UserAndSystem"> >> <include> >> <objectSet> >> <pattern type="Registry">HKCU\Network\* [*]</pattern> >> <!-- Removing the migration of the ODBC settings. Will migrate an >> exported text file with the settings instead. --> >> <!-- <pattern type="Registry">HKLM\Software\ODBC\* [*]</pattern> --> >> <!-- Attempt to migrate just the setting to auto start Lync --> >> <!-- <pattern type="Registry">HKCU\Software\Microsoft\Communicator >> [AutoRunWhenLogonToWindows]</pattern> --> >> <pattern type="Registry">HKCU\Software\Microsoft\Communicator\* >> [*]</pattern> >> <pattern >> type="Registry">HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Telephony\Convergence\* >> [*]</pattern> >> </objectSet> >> </include> >> </rules> >> </role> >> </component> >> <component type="System"> >> <displayName>File Migration Test</displayName> >> <role role="Settings"> >> <rules context="UserAndSystem"> >> <include> >> <objectSet> >> <!-- Back up a text file of the exported ODBC settings --> >> <pattern type="File">C:\WsMgmt\ [Original_ODBC_Export.txt]</pattern> >> <!-- Back up everything within the special USMTBackup folder on any drive >> --> >> <!-- <pattern type="File">*\USMTBackup\* [*]</pattern> --> >> <!-- Back up everything within the special USMTBackup folder on either C >> or D drives --> >> <pattern type="File">C:\USMTBackup\* [*]</pattern> >> <pattern type="File">D:\USMTBackup\* [*]</pattern> >> </objectSet> >> </include> >> </rules> >> </role> >> </component> >> </migration> >> >> >> >> From: <[email protected]> on behalf of Kevin Ray < >> [email protected]> >> Reply-To: "[email protected]" <[email protected]> >> Date: Tuesday, January 26, 2016 at 9:57 AM >> To: "[email protected]" <[email protected]> >> Subject: Re: [mssms] USMT - Profile migration customization >> >> Hi All >> >> Sample XMl File please....... >> >> On Mon, Jan 25, 2016 at 3:51 PM, Kevin Ray <[email protected]> >> wrote: >> >>> Thanks :) >>> >>> On Mon, Jan 25, 2016 at 3:26 PM, Marable, Mike <[email protected]> >>> wrote: >>> >>>> Sure, when I get back into the office tomorrow morning I’ll send it. >>>> It’s pretty straight forward and basic really. >>>> >>>> Mike >>>> >>>> >>>> From: <[email protected]> on behalf of Kevin Ray < >>>> [email protected]> >>>> Reply-To: "[email protected]" <[email protected]> >>>> Date: Monday, January 25, 2016 at 4:09 PM >>>> To: "[email protected]" <[email protected]> >>>> Subject: Re: [mssms] USMT - Profile migration customization >>>> >>>> Can I have a sample.xml file for the same or what code i need to add in >>>> the custom.xml file >>>> >>>> On Mon, Jan 25, 2016 at 1:52 PM, Marable, Mike <[email protected]> >>>> wrote: >>>> >>>>> We used this to migrate user’s drive mappings in our custom XML. >>>>> >>>>> >>>>> >>>>> <pattern type="Registry">HKCU\Network\* [*]</pattern> >>>>> >>>>> >>>>> >>>>> Mike >>>>> >>>>> >>>>> >>>>> *From:*[email protected] [mailto: >>>>> [email protected]] *On Behalf Of *Kevin Ray >>>>> *Sent:* Monday, January 25, 2016 2:23 PM >>>>> *To:* mssms <[email protected]> >>>>> *Subject:* Re: [mssms] USMT - Profile migration customization >>>>> >>>>> >>>>> >>>>> And also with *MigUser.xml* mapped drives not restoring ..do we need >>>>> to add custom xml fro MapDrivers >>>>> >>>>> >>>>> >>>>> On Mon, Jan 25, 2016 at 9:29 AM, Kevin Ray <[email protected]> >>>>> wrote: >>>>> >>>>> Thanks Jason, >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> I just gone trough it >>>>> >>>>> >>>>> >>>>> *https://technet.microsoft.com/en-us/library/ff383238(v=ws.10).aspx#BKMK_MigUser >>>>> <https://technet.microsoft.com/en-us/library/ff383238(v=ws.10).aspx#BKMK_MigUser>* >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> In Below if i understood correctly, >>>>> >>>>> >>>>> >>>>> *1. irrespective of file type extensions from standard user profile >>>>> ,it will gather all documents ?* >>>>> >>>>> *2. I just want to gather the Standard user profile not all (like *Files >>>>> with the following extensions* sections ).. If i remove this section >>>>> and create a custom settings will it wont gather ?* >>>>> >>>>> >>>>> Overview of the MigUser.xml file >>>>> >>>>> *The MigUser.xml file includes instructions for USMT 4.0 to migrate >>>>> user files based on file name extensions. You can use the MigUser.xml file >>>>> with the ScanState and LoadState tools to perform a more targeted >>>>> migration >>>>> than using USMT without XML instructions. T**he MigUser.xml file will >>>>> gather all files from the standard user-profile folders**, as well as >>>>> any files on the computer with the specified file name extensions.* >>>>> >>>>> *The default MigUser.xml file migrates the following:* >>>>> >>>>> - *All files from the standard user-profile folders which are >>>>> described as:* >>>>> >>>>> >>>>> - *CSIDL_MYVIDEO* >>>>> - *CSIDL_MYMUSIC* >>>>> - *CSIDL_DESKTOP* >>>>> - *CSIDL_STARTMENU* >>>>> - *CSIDL_PERSONAL* >>>>> - *CSIDL_MYPICTURES* >>>>> - *CSIDL_FAVORITES* >>>>> - *CSIDL_QUICK LAUNCH* >>>>> >>>>> >>>>> - >>>>> >>>>> *Files with the following extensions: .qdf, .qsd, .qel, .qph, .doc*, >>>>> .dot*, .rtf, .mcw, .wps, .scd, .wri, .wpd, .xl*, .csv, .iqy, .dqy, >>>>> .oqy, >>>>> .rqy, .wk*, .wq1, .slk, .dif, .ppt*, .pps*, .pot*, .sh3, .ch3, .pre, >>>>> .ppa, >>>>> .txt, .pst, .one*, .vl*, .vsd, .mpp, .or6, .accdb, .mdb, .pub* >>>>> >>>>> *The default MigUser.xml file does not migrate the following:* >>>>> >>>>> - *Files tagged with both the hidden and system attributes.* >>>>> - *Files and folders on removable drives,* >>>>> - *Data from the %WINDIR%, %PROGRAMFILES%, %PROGRAMDATA% folders.* >>>>> - *ACLS for files in folders outside the user profile.* >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> And I want to capture only data from >>>>> >>>>> >>>>> >>>>> *All files from the standard user-profile folders which are described >>>>> as:* >>>>> >>>>> - *CSIDL_MYVIDEO* >>>>> - *CSIDL_MYMUSIC* >>>>> - *CSIDL_DESKTOP* >>>>> - *CSIDL_STARTMENU* >>>>> - *CSIDL_PERSONAL* >>>>> - *CSIDL_MYPICTURES* >>>>> - *CSIDL_FAVORITES* >>>>> - *CSIDL_QUICK LAUNCH* >>>>> >>>>> >>>>> >>>>> I don't want capture anything from C drive .. Other then C:\user >>>>> folders (which are related to user profile) >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> What should be the Xml files...(i'm just guessing like copy the >>>>> *MigUser.XML >>>>> and i will create Miguser2.xml *where I will remove >>>>> all extension files will it work when I call in the task sequence >>>>> *Miguser2.xml *? >>>>> >>>>> ? >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> ________________ >>>>> >>>>> >>>>> >>>>> Thanks and Regards >>>>> >>>>> Kevin >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> i just called the *MigUser.xml* in Task sequence to capture the User >>>>> settings . Its getting failed ..can any one have the sample Xml file to >>>>> >>>>> >>>>> >>>>> On Fri, Jan 15, 2016 at 10:01 AM, Jason Condo < >>>>> [email protected]> wrote: >>>>> >>>>> Also, just because ConfigMgr or MDT gives you a pre-canned step that >>>>> runs the commandlines for you, doesn’t mean that you have to use it or >>>>> can’t create your own step using a script that runs a custom command for >>>>> capture or restore that meets your needs. >>>>> >>>>> >>>>> >>>>> You would still use the request state store and release state store >>>>> steps. >>>>> >>>>> >>>>> >>>>> *Jason Condo *| *Bennett Adelson <http://www.bennettadelson.com/>* >>>>> | Cleveland Region >>>>> >>>>> *Principal Consultant – Systems Management & Operations* >>>>> >>>>> >>>>> >>>>> *From:*[email protected] [mailto: >>>>> [email protected]] *On Behalf Of *Kevin Ray >>>>> *Sent:* Friday, January 15, 2016 10:55 AM >>>>> *To:* mssms <[email protected]> >>>>> *Subject:* Re: [mssms] USMT - Profile migration customization >>>>> >>>>> >>>>> >>>>> thanks for info, let me check on that :) >>>>> >>>>> >>>>> >>>>> On Fri, Jan 15, 2016 at 9:48 AM, Jason Condo < >>>>> [email protected]> wrote: >>>>> >>>>> You can read up on USMT here: >>>>> >>>>> https://technet.microsoft.com/en-us/library/dd560793(v=ws.10).aspx >>>>> >>>>> >>>>> >>>>> In your task sequence, under the step for capturing user state, you >>>>> can specify the XML files you want to use. Same for the Restore User State >>>>> step. The following link provides technical information to managing it in >>>>> ConfigMgr. https://technet.microsoft.com/en-us/library/hh397289.aspx >>>>> >>>>> >>>>> >>>>> I would recommend understanding how USMT works outside of ConfigMgr so >>>>> that you can understand how ConfigMgr leverages it. >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> *Jason Condo *| *Bennett Adelson <http://www.bennettadelson.com/>* >>>>> | Cleveland Region >>>>> >>>>> *Principal Consultant – Systems Management & Operations* >>>>> >>>>> >>>>> >>>>> *From:*[email protected] [mailto: >>>>> [email protected]] *On Behalf Of *Kevin Ray >>>>> *Sent:* Friday, January 15, 2016 10:07 AM >>>>> *To:* mssms <[email protected]> >>>>> *Subject:* Re: [mssms] USMT - Profile migration customization >>>>> >>>>> >>>>> >>>>> I just want User profiles nothing else from *C drive folders* but if >>>>> any documents on user profile desktop of documents and setting , IE >>>>> settings , favorites,etc also wanted >>>>> >>>>> >>>>> >>>>> On Fri, Jan 15, 2016 at 9:02 AM, Kevin Ray <[email protected]> >>>>> wrote: >>>>> >>>>> Hi All, >>>>> >>>>> >>>>> >>>>> With SCCM USMT we are able to do the refresh (complete Machine restore >>>>> )... How ever now we required just the User profile migration .. >>>>> >>>>> >>>>> >>>>> So how to exclude that (like we need users documents and settings, >>>>> profile setting not the C drive Folders and files >>>>> >>>>> >>>>> >>>>> any help >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> ********************************************************** >>>>> Electronic Mail is not secure, may not be read every day, and should >>>>> not be used for urgent or sensitive issues >>>>> >>>>> >>>> >>>> ********************************************************** >>>> Electronic Mail is not secure, may not be read every day, and should >>>> not be used for urgent or sensitive issues >>>> >>>> >>> >>> >> >> ********************************************************** >> Electronic Mail is not secure, may not be read every day, and should not >> be used for urgent or sensitive issues >> >> > >
