Windows 10: User State Migration Tool Config.xml - Exclude OneDrive Folders

Discus and support User State Migration Tool Config.xml - Exclude OneDrive Folders in Windows 10 Installation and Upgrade to solve the problem; I've been tasked to write up a documentation for my colleagues about the potential of using USMT. I know OneDrive sort of eliminates much of the need... Discussion in 'Windows 10 Installation and Upgrade' started by Corey Piazza, Mar 11, 2020.

  1. User State Migration Tool Config.xml - Exclude OneDrive Folders


    I've been tasked to write up a documentation for my colleagues about the potential of using USMT. I know OneDrive sort of eliminates much of the need of USMT, but there's still a desire to use USMT as a precaution to catch everything in the system.


    I have tried /local only, and building a custom config.xml to migrate everything except everything my OneDrive folder, but nothing is working. Can someone help me with a custom.xml file to exclude my OneDrive. I've done some extensive googling on this subject and haven't been able to find anything that works.


    What I currently have is an xml file that has this as its contents:



    <migration urlid="http://www.microsoft.com/migration/1.0/migxmlext/test">

    <!-- This component forces exclusion of SkyDrive/OneDrive Sync Folders -->

    <component type="Documents" context="User">

    <displayName>Exclude OneDrive-Skydrive Folders From Migrating To New Computer</displayName>

    <role role="Data">

    <rules>

    <unconditionalExclude>

    <objectSet>

    <pattern type="File">%USERPROFILE%\OneDrive*\* [*]</pattern>

    <pattern type="File">%USERPROFILE%\SkyDrive*\* [*]</pattern>

    <pattern type="File">%PROFILEFOLDER%\OneDrive[*]

    </pattern>

    </objectSet>

    </unconditionalExclude>

    </rules>

    </role>

    </component>

    </migration>


    Let me know what I'm doing wrong.


    Regards,

    Corey Piazza

    :)
     
    Corey Piazza, Mar 11, 2020
    #1

  2. File History won't exclude folders

    I just tried to exclude C:\Users\Donny\Downloads using the legacy control panel File History interface. When I clicked "Select Folder" the folder was added to the excluded folders list. When I clicked "Save changes" and went back into the excluded folders
    list, C:\Users\Donny\Downloads was not listed at all.

    So certainly not fixed for me.
     
    Donny Murgatroyd, Mar 11, 2020
    #2
  3. Where I can download the User Migration Tool for Windows 10

    Hi Issa

    My name is Andre Da Costa; an Independent Consultant, Windows Insider MVP and Windows & Devices for IT MVP. I'm here to help you with your problem.

    The User State Migration Tool is now included as part of the Windows Assessment and Deployment Kit (ADK) for Windows 10. You can download it

    http://go.microsoft.com/fwlink/p/?LinkId=526740

    This guide will show you how to install the USMT from it:

    http://itproguru.com/expert/2016/01/step-by-ste...

    Information in the above link is sourced from a trusted Microsoft MVP blog.
     
    Andre for Directly, Mar 11, 2020
    #3
  4. User State Migration Tool Config.xml - Exclude OneDrive Folders

    Exclude OneDrive from backup

    Hi,

    Thank you for posting in Community.

    We understand your concern and we will try to provide the assistance that is required to resolve the issue.

    I would like to inform that in Windows 10 Sky Drive has converted into One Drive. As per your query, I am led to believe that you wish to remove/exclude OneDrive from the list of backup files. If that is the case follow the steps that are mentioned below
    and check if it helps.

    Exclude files from Backup.

    1. Open Control Panel by right-clicking on the Start Menu and choosing
    Control Panel. Click or tap System and Security,
    and then tap or click File History.

    2. To exclude some folders in your libraries so they do not get backed up, on the left, choose
    Exclude Folders.

    3. Choose the file, folder or location that you wish to exclude and click on
    Add.


    4. Once you have added the desired file, click the back arrow to get back to the
    File History window.

    Hope this information helps.
     
    Vanessa Sohtun, Mar 11, 2020
    #4
Thema:

User State Migration Tool Config.xml - Exclude OneDrive Folders

Loading...
  1. User State Migration Tool Config.xml - Exclude OneDrive Folders - Similar Threads - User State Migration

  2. Exclude Folder from Onedrive backup

    in Windows 10 Network and Sharing
    Exclude Folder from Onedrive backup: Hi, as a gamer I have several files stored within the My Documents/My Games directory, these are not required for backup but are needed on local. In previous versions of one drive, such as that answered here...
  3. Exclude Folder from Onedrive backup

    in Windows 10 Gaming
    Exclude Folder from Onedrive backup: Hi, as a gamer I have several files stored within the My Documents/My Games directory, these are not required for backup but are needed on local. In previous versions of one drive, such as that answered here...
  4. Exclude Folder from Onedrive backup

    in Windows 10 Software and Apps
    Exclude Folder from Onedrive backup: Hi, as a gamer I have several files stored within the My Documents/My Games directory, these are not required for backup but are needed on local. In previous versions of one drive, such as that answered here...
  5. What is the best user migration tool?

    in Windows 10 Gaming
    What is the best user migration tool?: When reinstalling/replacing PC's or moving PC/user to Azure, we would like to be able to keep the users complete desktop experience somehow.When a user logs in to Azure, or onto a newly deployed PC, they start with spending hours attempting to set up things visually "the way...
  6. What is the best user migration tool?

    in Windows 10 Software and Apps
    What is the best user migration tool?: When reinstalling/replacing PC's or moving PC/user to Azure, we would like to be able to keep the users complete desktop experience somehow.When a user logs in to Azure, or onto a newly deployed PC, they start with spending hours attempting to set up things visually "the way...
  7. What is the best user migration tool?

    in Windows 10 Customization
    What is the best user migration tool?: When reinstalling/replacing PC's or moving PC/user to Azure, we would like to be able to keep the users complete desktop experience somehow.When a user logs in to Azure, or onto a newly deployed PC, they start with spending hours attempting to set up things visually "the way...
  8. Is there a way to only migrate certain local users with User State Migration Tool?

    in Windows 10 Gaming
    Is there a way to only migrate certain local users with User State Migration Tool?: Is there a way to only migrate certain local users with User State Migration Tool?The only switch is /localonly but when migrating AD accounts you can specify specific accounts.Thanks...
  9. Is there a way to only migrate certain local users with User State Migration Tool?

    in Windows 10 Software and Apps
    Is there a way to only migrate certain local users with User State Migration Tool?: Is there a way to only migrate certain local users with User State Migration Tool?The only switch is /localonly but when migrating AD accounts you can specify specific accounts.Thanks...
  10. Is there a way to only migrate certain local users with User State Migration Tool?

    in Windows 10 Installation and Upgrade
    Is there a way to only migrate certain local users with User State Migration Tool?: Is there a way to only migrate certain local users with User State Migration Tool?The only switch is /localonly but when migrating AD accounts you can specify specific accounts.Thanks...

Users found this page by searching for:

  1. usmt backup exclude one drive