USMT hardlink - Refresh scenario The saga continues...
I'm using MDT integrated with SCCM
I could monitor that the folder _SMSTaskSequence was still present with all his hardlink data under the StateStore directory just before "Restore User State" tasks should kick off.
During "Restore User State" the StateStore direcoty gets cleaned up but no data has been restored! Please help.
This the output of my loadsate.log (loadstateprogess doesn't say much)
2009-11-06 09:19:10, Info [0x000000] USMT Started at 2009/11/06:09:19:10.755
2009-11-06 09:19:10, Info [0x000000] Command line: \\CONSERVER.CONTOSO.MSFT.COM\SMSPKGC$\C0100006\x86\loadstate.exe C:\_SMSTaskSequence\StateStore /c /all /l:C:\Windows\system32\CCM\Logs\SMSTSLog\loadstate.log /progress:C:\Windows\system32\CCM\Logs\SMSTSLog\loadstateprogress.log /i:\\CONSERVER.CONTOSO.MSFT.COM\SMSPKGC$\C0100006\x86\miguser.xml /i:\\CONSERVER.CONTOSO.MSFT.COM\SMSPKGC$\C0100006\x86\migapp.xml /lac /lae
2009-11-06 09:19:10, Info [0x000000] Script file specified: \\CONSERVER.CONTOSO.MSFT.COM\SMSPKGC$\C0100006\x86\miguser.xml[gle=0x000000cb]
2009-11-06 09:19:10, Info [0x000000] Script file specified: \\CONSERVER.CONTOSO.MSFT.COM\SMSPKGC$\C0100006\x86\migapp.xml[gle=0x000000cb]
2009-11-06 09:19:10, Info [0x000000] Starting the migration process[gle=0x00000006]
2009-11-06 09:19:12, Warning [0x08046b] Cannot expand LDID in file list record: 10.old\windows\system32\locale.nls
2009-11-06 09:19:12, Warning [0x08046b] Cannot expand LDID in file list record: 10.old\windows\winsxs\amd64_microsoft-windows-i..nal-core-locale-nls_31bf3856ad364e35_6.1.6913.0_none_0ea7705d61bb185f\locale.nls
2009-11-06 09:20:42, Info [0x000000] System information:
Computer name: CONTOSO08
Machine SID: S-1-5-21-3868842149-2575523260-3424317982
OS version: 6.1.7600
Language: en-US
Architecture: 32-bitDrives:
C: Type: Fixed, Bus type: ATA, Hotplug: No
D: Type: CD/DVD
A: Type: Removable
Z: Type: RemoteUsers:
CONTOSO08\Guest, administrator: No, interactive: Yes, logged on: No, has profile: No
CONTOSO08\Administrator, administrator: Yes, interactive: Yes, logged on: No, has profile: No
2009-11-06 09:20:42, Info [0x000000] Processing the settings store[gle=0x00000006]
2009-11-06 09:20:42, Error [0x0802e3] SelectTransport: OpenDevice failed with Exception: Win32Exception: The system cannot find the file specified. [0x00000002] Inner Exception: Win32Exception: CIMGTransport::CreateReadStream failed.: The system cannot find the file specified. [0x00000002] struct Mig::ITrimableStream *__thiscall Mig::CIMGTransport::CreateReadStream(class UnBCL::String *) void __thiscall Mig::CMediaManager::SelectTransportInternal(int,unsigned int,struct Mig::IDeviceInitializationData *,int,int,int,__w64 unsigned long,class Mig::CDeviceProgressAdapter *)
void __thiscall Mig::CIMGTransport::OpenDevice(struct Mig::IDeviceInitializationData *,int,int,int,int,__w64 unsigned long)[gle=0x00000002]
2009-11-06 09:20:42, Error [0x000000] Unable to open store at C:\_SMSTaskSequence\StateStore\USMT\USMT.MIG[gle=0x00000002]
2009-11-06 09:20:42, Error [0x000000] Failed to select store. Path: C:\_SMSTaskSequence\StateStore[gle=0x00000002]
2009-11-06 09:20:42, Warning [0x000000] Internal error 15 was translated to a default error
2009-11-06 09:20:42, Info [0x000000] Failed.[gle=0x00000006]
2009-11-06 09:20:42, Info [0x000000] An error occurred during store access[gle=0x00000006]
2009-11-06 09:20:42, Info [0x000000] USMT Completed at 2009/11/06:09:20:42.883[gle=0x00000006]
http://nicosienaert.blogspot.com/
All Replies
- just to be sure, are you using USMT 4 here ? and did you create the usmt package with both architectures in it ie:
USMT
//adm64
//X86
?
my SCCM step by step Guides > http://www.windows-noob.com/forums/index.php?showtopic=1064 - Hi Niall,
Thanks for your reply. It's definitely USMT 4 :-)
As you can see in the log file I'm missing /nocompress /hardlink swithces in the loadstate command which is very suprising as I thought hardlink was default set within MDT.
If I add "OSDMigrateAdditionalRestoreOptions" variable and I add the switches to it works.
So problem solved but don't know why I have to add these switches when I use MDT... Anyone?
N.
http://nicosienaert.blogspot.com/ - have you set any loadstate variables, if you check your MDT scripts folder and look for a file called ZTIUserState.wsf then find a section called
'//---------------------------------------------------------------------------- '// See what we need to do '//----------------------------------------------------------------------------
you should see where it adds or removes the /hardlink /nocompress options to your loadstate line
' Configure the default options If sUSMTVersion = "USMT4" and UCase(oEnvironment.Item("UserDataLocation")) = "AUTO" Then sBaseArgs = oEnvironment.Item("LoadStateArgs") & "/hardlink /nocompress" If oEnvironment.Item("LoadStateArgs") = "" then sBaseArgs = "/v:5 /c /hardlink /nocompress" End if Else sBaseArgs = oEnvironment.Item("LoadStateArgs") If sBaseArgs = "" then sBaseArgs = "/v:5 /c" End if End If
so what are you setting in your MDT task sequence that could be throwing this off ?
my SCCM step by step Guides > http://www.windows-noob.com/forums/index.php?showtopic=1064

