Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to reroute folders from c:\

273 views
Skip to first unread message

pascual

unread,
Mar 4, 2010, 9:46:02 AM3/4/10
to
Hello all,

I'm trying to reroute the following folders from the source machine to the
c:\Documents and Settings\Userprofile folder on the destination PC:
c:\My Documents
c:\Exchange

I've tried enabling the rules in the last section of the default miguser.xml
and changing the ('%SYSTEMDRIVE%\Data') location to the ('%CSIDL_PERSONAL%')
option but after running loadstate the above folders are still on the same
location in the destination PC. I've have also tried a relativemove instead
of a move with the same results.

By following the example in the USMT help file, I've created a custom xml
file and was able to migrate the c:\My Documents folder and files correctly,
but for some reason the c:\Exchange folder did not reroute correctly and
again, the destination PC still keeps the folders in their original location,
c:\

So my question is, how do I correctly capture c:\My Documents and
c:\Exchange from the source machine and then reroute them to CSIDL_PERSONAL
on the destination PC without the destination PC having these folders
duplicated on the c:\?

Thank you.

JR--

unread,
Mar 17, 2010, 5:44:02 PM3/17/10
to
Hello

What version of USMT are you using?

3.0 had a bug that would double copy the files however I found it to be
fixed in 4.0

On a side note - is this shared data? or do you only have one user profile
to migrate?

Your scenario will get complicated with multiple users - also - the example
section in miguser is run in the system context and will not go into the
personal shell folder for a user - you will need to change the context to
"user" - but then it will apply for all users migrated - so ... you will
still have duplicate copies of data

pascual

unread,
Mar 18, 2010, 11:20:10 AM3/18/10
to
I'm using version 3.01 since I'm trying to migrate the user state from XP to
XP.
Only one user profile but the source systems have been tweaked to saved
office docs to c:\My Documents. The My Documents link also points to the root.
Outlook is configured to saved pst files to C:\Exchange.

I'm trying to get away from that and use the defaults, %userprofile%\My
Documents
I want to move C:\My Documents and C:\Exchange to the userprofile path.

I've tried using the user and system context but the data always gets
duplicated and C:\Exchange does not get moved at all.
I'm thinking that the default USMT xml files have a logic to move all common
file types. I've tried removing that last section from miguser.xml but the
issue is still there.

thanks!

JR--

unread,
Mar 18, 2010, 1:06:01 PM3/18/10
to

Enable the diagnostic log - You can do this by setting this ENV

SET MIG_ENABLE_DIAG=<File name>

In this log search for the files in question - make note of the migunit name
or component name - this will help you find which rules are duplicating data

If you have shell folder redirection on the source but the target system is
default the data should go in the correct location by default - you likely
have some system context rules gathering c:\My Documents -

You can create an exclude rule for your system context rules to exclude this
location -

let me know if that works - if not i will post a sample for you to try

pascual

unread,
Mar 29, 2010, 10:34:01 AM3/29/10
to
I would really appreciate if you can show me an example of how to do this
please.

Thanks!

pascual

unread,
Apr 5, 2010, 12:46:32 PM4/5/10
to
JR,

I was able to figure out how to set the variable and after creating a
diag.xml file and going thru it line by line, I concluded that the last
section of the miguser.xml file was duplicating the data.
Once I removed the the “MigXmlHelper.GenerateDrivePatterns” for files with
known extensions section, the folders rerouted just fine.
Thank you very much for your help!

Do you know how to make USMT 3.0.1 migrate group membership?
USMT 4 can do this but I cannot get 3 to do it.....

jimc84

unread,
Apr 14, 2010, 8:00:01 AM4/14/10
to
Guys, can you advise if this environment variale should be created in a Task
Sequence & if so how? (It's obviously not created simialrly to how a TS
Variable is)
I've created a vbscript to create the env variable & am calling this from a
command line in my TS & running an offline migration to Windows 7 but it
fails to generate this diag file in the logs location

My problem is very similar to that of Pascual, i have a Folder on the D:\
partition that keeps recreating on C:\ even though i've added an Exlude for
that specific Folder in my MigUser.xml. If i could generate the Diag file
however, i mightbe able to isolate the problem

Thanks

LEE JOHNSON --@discussions.microsoft.com JEREMIAH LEE JOHNSON --

unread,
Jun 2, 2010, 8:52:31 PM6/2/10
to

I'd like ro redirect my favorites folder from its normal location to a subdir
within favorites. Unfortunately the favorites are relocated to the normal
path AND redirected.

My migration script looks soemthing like this:

<locationModify
script="MigXmlHelper.RelativeMove('%CSIDL_FAVORITES%','%CSIDL_FAVORITES%\Aloha)">

should I instead do this?

<locationModify
script="MigXmlHelper.RelativeMove('%CSIDL_FAVORITES%','%CSIDL_FAVORITES%\Bob)">

or maybe this?

<locationModify
script="MigXmlHelper.RelativeMove('%CSIDL_FAVORITES%','%CSIDL_FAVORITES%\Hi
Nerds)">

I looked thru my rules and don't see any other rules that could cause
favorites to move (disabled the default favorites entry and have no .url
matching rules. Is there something I can specifically supress so that it is
only restored to the sub-dir I want?

By reading this very authentic exchange between you two I think I have it
all sorted now. Thanks so much for your help, I feel my apptimum for USMT is
much higher now!

0 new messages