I use 3 XML Files in both Scanstate and Loadstate (Using SCCM of course)
Migapp.xml MigUser.xml and Custom.xml which reroutes Office file types into
CSIDL_PERSONAL (Each user's documents folder) which syntax is:
<migration urlid="http://www.microsoft.com/migration/1.0/migxmlext/test">
<component type="Documents" context="System">
<displayName>All Office files to My Documents</displayName>
<role role="Data">
<rules>
<include>
<objectSet>
<script>MigXmlHelper.GenerateDrivePatterns ("* [*.doc*]", "Fixed")</script>
<script>MigXmlHelper.GenerateDrivePatterns ("* [*.xls*]", "Fixed")</script>
<script>MigXmlHelper.GenerateDrivePatterns ("* [*.ppt*]", "Fixed")</script>
</objectSet>
</include>
<locationModify script="MigXmlHelper.Move('%CSIDL_PERSONAL%')">
<objectSet>
<script>MigXmlHelper.GenerateDrivePatterns ("* [*.doc*]", "Fixed")</script>
<script>MigXmlHelper.GenerateDrivePatterns ("* [*.xls*]", "Fixed")</script>
<script>MigXmlHelper.GenerateDrivePatterns ("* [*.ppt*]", "Fixed")</script>
</objectSet>
</locationModify>
</rules>
</role>
</component>
</migration>
Scanstate run fine, the problem is that i get the following error in
Loadstate:
HARDLINK: cannot find distributed store for c -
17ec6a71-5b97-47d6-9cc6-85ab3db1d9b6[gle=0x00000003]
[0x0802e3] SelectTransport: OpenDevice failed with Exception:
Win32Exception: HARDLINK: cannot find all distributed stores.: ††ל×
×§×™×™×ž×™× ×§×‘×¦×™× × ×•×¡×¤×™× . [0x00000012] void __thiscall
Mig::CMediaManager::SelectTransportInternal(int,unsigned int,struct
Mig::IDeviceInitializationData *,int,int,int,__w64 unsigned long,class
Mig::CDeviceProgressAdapter *)
void __thiscall Mig::CHardLinkHelper::Open(class UnBCL::String
*)[gle=0x00000003]
Unable to open store at D:\_SMSTaskSequence\StateStore\USMT[gle=0x00000003]
[0x000000] Leaving MigOpenHardLinkStore method
[0x000000] Failed to select store. Path:
D:\_SMSTaskSequence\StateStore[gle=0x00000003]
[0x000000] Internal error 23 was translated to a default error
[0x000000] Failed.[gle=0x00000006]
[0x000000] An error occurred during store access[gle=0x00000006]
Not sure if it's related to the Custom.xml or to the fact that the machines
has Two Partition (Both Old and New Ones), maybe someone encountered this
thanks
Or.
C:\* [*.doc]
D:\* [*.doc]
and so on -
Since you cannot create a hardlink to a file across partitions - USMT will
create a second migration store called a distributed store - the main store
does have mapping for all distributed stores - looks like whatever clean up
process you have is not aware of this store and could be deleting the
distributed store - i have seen this before -
You should be able to set a second safe folder -
note - If your main store path is C:\_SMSTaskSequence\StateStore\USMT
The distributed store path will be D:\_SMSTaskSequence\StateStore\USMT
You only need to pass in the main store path -
Hope this helps -
Can you provide some further details on how you should configure this
additional Store, should this be set in a TS Variable in the same way the
initial Store Path is set?