System Center Configuration Manager TechCenter >
System Center Configuration Manager Forums
>
Configuration Manager Operating System Deployment
>
USMT 4.0 Task Sequence with App-V
USMT 4.0 Task Sequence with App-V
Here is my current situation.
I am trying to put together a task sequence using SCCM SP2 with R2 that will use USMT with hardlinking to retain user data. Scanstate runs but fails when it tries to scan c:\Users\Public\Documents\SoftGrid Client [sftfs.fsd]. The Error suggests that the file is in use by a different process. If I disable the sftlist service and reboot then scanstate will work successfully but this is not a workable solution in the task sequense as far as I know and I would like this fully automated.
Do anyone know of a way around this issue?
Answers
- great result, thanks for sharing.
you could change it some more to use KNOWNFOLDERID
so...
<pattern type="File">C:\Users\Public\Documents\SoftGrid Client\* [*]</pattern> would become <pattern type="File">%FOLDERID_Public%\ Documents\SoftGrid Client\* [*]</pattern>
see http://msdn.microsoft.com/en-us/library/bb762584%28VS.85%29.aspx for more details on that
my SCCM step by step Guides > http://www.windows-noob.com/forums/index.php?showtopic=1064- Marked As Answer byEric Zhang - MSFTMSFT, ModeratorMonday, November 16, 2009 6:01 AM
All Replies
- have you tried editing your xml file and changing migrate="yes" to migrate="no" for the specific file type ? you may have to add it if it is not present
my SCCM step by step Guides > http://www.windows-noob.com/forums/index.php?showtopic=1064 - Which XML file would that be. To be honest I am not very familiar with USMT. I have been looking at the how to exclude files from being included but so far that has not worked.
Matt - what os are you migrating from and to ?
my SCCM step by step Guides > http://www.windows-noob.com/forums/index.php?showtopic=1064 - Either Vista to Win7 or Win7 to Win7.
Matt - you'll need to edit the MigUser.xml file file then
to edit it look here
my SCCM step by step Guides > http://www.windows-noob.com/forums/index.php?showtopic=1064 - Thats what I originally thought. I had put an exclusion in the bottom part of that file, but it wasn't working. Playing with it a little more, I copied the exclusion to the shared documents section and I think I may have gotten past this. If anyone is interested in exactly what I have done, let me know
- great, once you have it working please do share so that others may learn
cheers
niall
my SCCM step by step Guides > http://www.windows-noob.com/forums/index.php?showtopic=1064 - I fixed this by adding the following like to the MigUser.xml file. This is the Shared My Documents files section and I added what was in bold. believe this would need to be done anywhere that the client has the App-V client installed and running.
<!-- This component migrates Shared My Documents files -->
<component type="Documents" context="System">
<displayName _locID="miguser.shareddocs">Shared Documents</displayName>
<paths>
<path type="File">%CSIDL_COMMON_DOCUMENTS%</path>
</paths>
<role role="Data">
<detects>
<detect>
<condition>MigXmlHelper.DoesObjectExist("File","%CSIDL_COMMON_DOCUMENTS%")</condition>
</detect>
<detect>
<condition negation="Yes">MigXmlHelper.IsSameObject("File","%CSIDL_PERSONAL%", "%CSIDL_COMMON_DOCUMENTS%")</condition>
</detect>
</detects>
<rules>
<exclude>
<objectSet>
<pattern type="File">%CSIDL_COMMON_PICTURES%\* [*]</pattern>
<pattern type="File">%CSIDL_COMMON_MUSIC%\* [*]</pattern>
<pattern type="File">%CSIDL_COMMON_VIDEO%\* [*]</pattern>
<pattern type="File">C:\Users\Public\Documents\SoftGrid Client\* [*]</pattern>
</objectSet>
</exclude>
<include filter='MigXmlHelper.IgnoreIrrelevantLinks()'>
<objectSet>
<pattern type="File">%CSIDL_COMMON_DOCUMENTS%\* [*]</pattern>
</objectSet>
</include>
<merge script="MigXmlHelper.DestinationPriority()">
<objectSet>
<pattern type="File">%CSIDL_COMMON_DOCUMENTS% [desktop.ini]</pattern>
</objectSet>
</merge>
</rules>
</role>
</component> - great result, thanks for sharing.
you could change it some more to use KNOWNFOLDERID
so...
<pattern type="File">C:\Users\Public\Documents\SoftGrid Client\* [*]</pattern> would become <pattern type="File">%FOLDERID_Public%\ Documents\SoftGrid Client\* [*]</pattern>
see http://msdn.microsoft.com/en-us/library/bb762584%28VS.85%29.aspx for more details on that
my SCCM step by step Guides > http://www.windows-noob.com/forums/index.php?showtopic=1064- Marked As Answer byEric Zhang - MSFTMSFT, ModeratorMonday, November 16, 2009 6:01 AM

