Jump to content


jvargas

USMT 4.0 Custom Folders

Recommended Posts

Hi everybody

 

I just encountered an issue while trying to capture and restore custom folders / data with USMT 4.0 in combination of a SCCM2012 state migration point.

 

The capturing task works quite well, I suppose.

At least all the settings I did and wanted to capture got captured and restored again from WinXP into Win7.

Well, so far the success story ...

Since I need to capture more data (Outlook signatures in this first case), I read the documentation on how to do this and created a custom XML-File:

<migration urlid="http://www.microsoft.com/migration/1.0/migxmlext/testmigration">
<component type="Documents" context="UserAndSystem">
<displayName>Copy Files from XP Folder A to Win7 Folder B</displayName>
<role role="Data">
<rules>
 <include>
 <objectSet>
	 <script>MigXmlHelper.GenerateUserPatterns ("File","%USERPROFILE%\Application Data\Microsoft\Outlook\* [*]","TRUE")</script>
 </objectSet>
 </include>
 <locationModify script="MigXmlHelper.Move ('%CSIDL_PPROFILE%\AppData\Local\Microsoft\')">
 <objectSet>
	 <script>MigXmlHelper.GenerateDrivePatterns ("* [*]","Fixed")</script>
 </objectSet>
 </locationModify>
</rules>
</role>
</component>
</migration>

Quite simple job, basically. Get the files of the WinXP-Client and restore them back to the Win7-Client to a different location.

To my understanding, this should work. But actually, it doesn't :(

Consulting the loadstate-logfile, I unfortunately did not see any errors correlating with the "Copy Files from XP Folder A to Win7 Folder B"-Section.

 

Any help is appreciated :)

 

Cheers and thanks in advance

JV

Share this post


Link to post
Share on other sites

Hi Peter

 

Thank you very much for your answer.

I was throwing an eye on the RelativeMove also, but initially ignored it since I wasn't sure if I could use variables in this combination.

So just out of the blue and interpreted in context of my basic idea, this would look like this:

<locationModify script="MigXmlHelper.RelativeMove('%USERPROFILE%\Application Data\Microsoft\Outlook\’, '%CSIDL_PROFILE%\AppData\Local\Microsoft\Outlook’)">
  <objectSet>
     <pattern type="File”>%USERPROFILE%\Application Data\Microsoft\Outlook\* [*]</pattern>
  </objectSet>
</locationModify>

I surely will give it a try!

And I surely will keep you posted on this!

Share this post


Link to post
Share on other sites

Yes, sure :) I just posted the changed part, the include part is still as posted above in the first post.

 

Would there be any reason the captured files get skipped when the destination folder does not exist?

Because the path "%CSIDL_PROFILE%\AppData\Local\Microsoft\Outlook" does not exist just after setting up Win7.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...


×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.