Jump to content


  • 0
dxm

Reroute Folders

Question

I am looking for a way to reroute all the folders(random and unknown) collected at the scanstate stage on each computer, and then have them all go back to a folder such as Migrated rather than the locations they were collected from. I have seen the question asked a number of times whilst searching for clues/answers to the problem but nobody ever seems to answer the question.

 

Also,

I have been experimenting with folder re-routing in general but this has also been giving me some problems.

I have used my own custom.xml file and this has also been causing problems, my folder is being rerouted, but additionally, being put back in its original location.

 

I am trying to go from XP to Windows 7 using USMT 4

 

scanstate \\filserver\migrationStore\comp1 /i:migapp.xml /i:migdocs.xml /i:custom.xml /config:config.xml /v:13 /nocompress /l:scanLogInfo.log

 

migapp.xml, migdocs.xml remain unchaged. I am assuming that migdocs is putting my folder back in the original location, ignoring custom.xml

 

Here is the custom.xml

 

<?xml version="1.0" encoding="UTF-8"?>

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

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

<displayName>All System Files moved to a single folder</displayName>

<role role="Data">

<rules>

<include>

<objectSet>

<script>MigXmlHelper.GenerateDrivePatterns ("\EngineeringDrafts\* [*]", "Fixed")</script>

</objectSet>

</include>

<!-- Migrates all the files in the store to the C:\Moved folder during LoadState -->

<locationModify script="MigXmlHelper.Move('C:\Moved')">

<objectSet>

<script>MigXmlHelper.GenerateDrivePatterns ("\EngineeringDrafts\* [*]", "Fixed")</script>

</objectSet>

</locationModify>

</rules>

</role>

</component>

</migration>

 

 

The first problem is the main issue. But if anyone understands why it moves my folder, and, puts it back in the same place I would love to hear.

 

Thanks in advance

Share this post


Link to post
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

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

Guest
Answer this question...

×   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.