How to Specify MDT to preserve a folder when running a REFRESH deployment type?

Proposed How to Specify MDT to preserve a folder when running a REFRESH deployment type?

  • Tuesday, October 09, 2012 4:43 PM
     
     
    Is there a way to force MDT to save a directory in the C:\ when upgrading from XP to 7 using refresh deployment?

All Replies

  • Tuesday, October 09, 2012 5:33 PM
     
     Proposed

    yes, via a custom XMl file.

    Something like

    <rules context="User"> (or system instead of user, depends and who's context)
       <include>
        <objectSet>
         <pattern type="File">C:\MININT [*]</pattern>
        </objectSet>
       </include>
      </rules>

    • Proposed As Answer by Jason SandysMVP Tuesday, October 09, 2012 5:52 PM
    •  
  • Tuesday, October 09, 2012 5:52 PM
     
     

    To be clear, what Shrek posted above is a configuration file for USMT which is the default method MDT uses to preserve settings, configuration, and other data in an OS refresh. There is no other built-in method other than USMT -- that's it's whole purpose in life and as part of MDT.

    Technically, you could manually copy the folder somewhere and then restore it, but that would all be custom work.


    Jason | http://blog.configmgrftw.com

  • Friday, October 12, 2012 4:03 PM
     
     
    Thanks Jason, I should have been more clear, and yes, I meant USMT custom XML file.