I have followed the guide posted on windows noob about USMT offline.
I have the following situation:
I perform the offline USMT refresh from Windows XP to Windows 7 on a system and all the user data is backed up just like shown here:
http://www.windows-noob.com/forums/index.php?/topic/1735-using-offline-mode-in-windows-pe-using-usmt-4-via-a-task-sequence-in-sccm-2007-sp2/
With one exception, I don't do the load state. Why? well because I have a need to move user accounts to a new domain that have a different username on that domain ..
for example --- OldDomain\JohnDoe now needs to be NewDomain\Jdoe
So I see all my user state data that was backed up in the C:\USMTOffline\USMT
As far as I can tell the loadstate.exe switches are specified as they should be according to http://technet.microsoft.com/en-us/library/dd560804%28WS.10%29.aspx
The command I am trying to run from the local admin account on the system after the new Windows 7 OS has been built is as follows: @ECHO OFF
REM * Ask for USeR INPUT and store it in variable
:UserPrompt
CLS
SET OLDUSER=
SET NEWUSER=
ECHO.
ECHO We will now enter values to migrate userstate...
SET /p OLDUSER=Enter the old user Info w/o brackets [OldDomain\OldUser]:
ECHO.
SET /p NEWUSER=Enter the new user Info w/o brackets [VNGT\NewUser]:
ECHO.
loadstate c:\USMToffline /nocompress /hardlink /V:5 /ue:*\* /mu:%OLDUSER%:%NEWUSER%
ECHO User migration from %OLDUSER% to %NEWUSER% is complete!
ECHO.
ECHO 1 - MIGRATE ANOTHER USER
ECHO 2 - FINISH AND EXIT
Set /P CHOOSE=What would you like to do?:
ECHO.
If %CHOOSE%==1 GOTO UserPrompt
If %CHOOSE%==2 GOTO CONFIRM
PAUSE ........I have additional code here which just loops back it needing to migrate more users
Now for some reason the only account that is transferred is the All Users data. I can also see in the logs that the variables of %OLDUSER% and %NEWUSER% are getting passed into Loadstate because I can see them showing up in the log files as part of the loadstate command.
Can anyone tell me what I am missing here?