Quantcast
Channel: Microsoft Deployment Toolkit forum
Viewing all articles
Browse latest Browse all 11297

USMT - exclude folder c:\Notes but include some specific files in it

$
0
0

Hi,

my name is Paul, I live in Belgium and I'm fairly new to MDT and USMT. We're doing some testing because we want to implement LTI deployments. Since two weeks I'm testing USMT5. I created a Capture User Data Task Sequence and it worked great. All non-windows folders in the C-drive were copied, all Favorites etc. Even the restore worked! So I was happy. :-) But one non-windows folder in the C:-drive is C:\Notes. This folder is almost 1GB and I only need four small files. I read all information I could find on the internet but I didn't find any information or examples for my case. Most examples include a folder and exclude some files in it, but I want it the other way around !

Could you help me? So I want to exclude c:\Notes (and all the subfolders) and include c:\Notes\Data\names.nsf, c:\Notes\Data\bookmark.nsf, c:\Notes\notes.ini and c:\Notes\Data\username.id .

This is one of the versions I tried.

<?xml version="1.0" encoding="UTF-8"?><migration urlid="http://www.microsoft.com/migration/1.0/migxmlext/mignotes"><!-- This component first exludes the Notes folder but next migrates all the necessary Notes configuration files within --><component type="Documents" context="System"><displayName>Exclude Notes</displayName><role role="Data"><rules><Exclude><objectSet><pattern type="File">C:\Notes\* [*]</pattern></objectSet></Exclude><include><objectSet><pattern type="File">C:\Notes\Data\ [bookmark.nsf]</pattern><pattern type="File">C:\Notes\Data\ [names.nsf]</pattern><pattern type="File">C:\Notes\Data\ [*.id]</pattern><pattern type="File">C:\Notes\ [notes.ini]</pattern></objectSet></include></rules></role></migration>




Viewing all articles
Browse latest Browse all 11297

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>