Jump to content


  • 0
ersatyle

offline migration using hardlink, error with a local account

Question

hi everyone,

today (actually I'm stuck on this for a few days^^) I'm trying to migrate domain users only from win xp to win7 x64, as one of the local account is giving me trouble.

French windows xp, we have an account named administrator that is not the built-in account. If I delete this account under windows xp everything works ok, no errors.

 

if not, I get the error code 2147942414 during the restore phase:

 

The task sequence execution engine failed executing the action (Restore User Files and Settings) in the group (Last actions) with the error code 2147942414
Action output: .
Connection request for "C:\USMToffline"
Path is not a UNC Path.  Trying it as a local path.
Failed to verify existence of file 'C:\Windows\SysWOW64\CCM\core\TSRES.DLL', error = 2
Succeeded loading resource DLL 'C:\Windows\SysWOW64\CCM\1033\TSRES.DLL'
Executing command line: "\\sms.xxxx.yyy.zzz.ca\SMSPKGD$\00A000EE\amd64\loadstate.exe" "C:\USMToffline" /c /v:5 /l:"C:\Windows\SysWOW64\CCM\Logs\SMSTSLog\loadstate.log" /progress:"C:\Windows\SysWOW64\CCM\Logs\SMSTSLog\loadstateprogress.log" /i:"\\sms.xxxx.yyy.zzz.ca\SMSPKGD$\00A000EE\amd64\MigUser.xml"  /Hardlink /nocompress

Log messages are being sent to 'C:\Windows\SysWOW64\CCM\Logs\SMSTSLog\loadstate.log'

Starting the migration process
Processing the settings store

Selecting migration units

Failed.
 Unable to create a local account because /lac was not specified
 See the log file for more information.
LoadState return code: 14
USMT returned exit code (0x0000000e). Look USMT log file loadstate.log for detail error message.. The operating system reported error 2147942414: Mémoire insuffisante pour cette opération. 

 

and in the loadstate.log

2011-06-22 15:58:13, Info                  [0x000000] User name resolved user1 => myDomain\user1
2011-06-22 15:58:13, Info                  [0x000000] User name resolved usager => myDomain\usager
2011-06-22 15:58:13, Info                  [0x000000] User myDomain\user1 maps to S-1-5-21-340877299-1005004471-620655208-20057
2011-06-22 15:58:13, Info                  [0x000000] User TheComputerName\Administrateur maps to TheComputerName\Administrateur
2011-06-22 15:58:13, Error                 [0x000000] The account TheComputerName\administrator is chosen for migration, but the target does not have account TheComputerName\administrator. See documentation on /lac, /lae, /ui, /ue and /uel options.
2011-06-22 15:58:13, Info                  [0x000000] Failed.[gle=0x00000006]
2011-06-22 15:58:13, Info                  [0x000000]   Unable to create a local account because /lac was not specified[gle=0x00000006]
2011-06-22 15:58:13, Info                  [0x000000] Entering MigCloseCurrentStore method
2011-06-22 15:58:13, Info                  [0x0801dc] Closing catalog file
2011-06-22 15:58:13, Info                  [0x0801dd] Deleting catalog file at C:\Windows\Temp\tmpFDB.tmp\Temp\tmp22D8.tmp
2011-06-22 15:58:13, Error                 [0x0802f5] CMediaManager::Close: m_pSelectedTransport->Close(1) failed with Exception Win32Exception: Device was open with readonly access.: Accès refusé. [0x00000005] void __cdecl Mig::CMediaManager::CloseTransport(int)
void __cdecl Mig::CUNCTransport::Close(int).[gle=0x00000006]
2011-06-22 15:58:13, Error                 [0x000000] MigCloseCurrentStore caught exception: Win32Exception: Device was open with readonly access.: Accès refusé. [0x00000005] void __cdecl Mig::CMediaManager::CloseTransport(int)
2011-06-22 15:58:13, Info                  [0x000000] USMT Completed at 2011/06/22:15:58:13.235[gle=0x00000006]
2011-06-22 15:58:13, Info                  [0x000000] Entering MigShutdown method
2011-06-22 15:58:13, Info                  [0x080000] Manifest thread was canceled. Exiting.

 

 

If I tick the "restore local computer user profiles and assign a new password, it will work too (as seen here )

 

But of course I don't want the local users to be transferred

I'm using the offline migration as described here on windows-noob.com

 

Ok now my questions:

- do you know a way to solve this?

- I tried to specify in the task sequence variable "OSDMigrateAdditionalRestoreOptions" value: /Hardlink /nocompress /ue:%computername%\*

but of course the %computername% equals MINWINPC during winpe, is there a way to get the real name of the computer in a variable?

- I tried to use the command net user to delete the local administrator account, but still in winpe

 

I take any ideas you might have, tell me if I missed something

 

Thanks for reading!

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

ugly workaround: create a task deleting the user's folder (cmd.exe /c rd "%systemdrive%\documents and settings\administrator" /S /Q )

 

problem doesn't show up after that, but I would have preferred a more aesthetic approach (like using the /ue switch)

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