sweety_devil Posted April 2, 2012 Report post Posted April 2, 2012 Dear all, I use migapp.xml, migdocs.xml and custom.xml. In my custom.xml, I have many exclusions but scanstate continues to scan the D drive ! What is the problem with my custom.xml ? Is it to use with miguser and not migdocs ? ?xml version="1.0" encoding="UTF-8"?> <migration urlid="http://www.microsoft.com/migration/1.0/migxmlext/Custom"> <!-- This component migrates Common Exclusions--> <component type="Documents" context="System"> <displayName _locID="miguser.userdata">Common Exclusions</displayName> <role role="Data"> <rules> <unconditionalExclude> <objectSet> <script>MigXmlHelper.GenerateDrivePatterns ("\Winnt\* [*]", "Fixed")</script> <script>MigXmlHelper.GenerateDrivePatterns ("\Windows\* [*]", "Fixed")</script> <pattern type="File">%CSIDL_WINDOWS%\* [*]</pattern> <pattern type="File">C:\MININT\*[*]</pattern> <pattern type="File">C:\Bravaclient\*[*]</pattern> <pattern type="File">C:\Corel\*[*]</pattern> <pattern type="File">C:\ExceedNT\*[*]</pattern> <pattern type="File">C:\Exceed.NT\*[*]</pattern> <pattern type="File">C:\IMIS\*[*]</pattern> <pattern type="File">C:\Novell\*[*]</pattern> <pattern type="File">C:\Itc\*[*]</pattern> <pattern type="File">C:\Sybase\*[*]</pattern> <pattern type="File">C:\Temp\*[*]</pattern> <pattern type="File">C:\cms\*[*]</pattern> <pattern type="File">C:\drivers\*[*]</pattern> <pattern type="File">C:\Exceed\*[*]</pattern> <pattern type="File">C:\intel\*[*]</pattern> <pattern type="File">C:\mssql7\*[*]</pattern> <pattern type="File">C:\quarantine\*[*]</pattern> <pattern type="File">C:\swsetup\*[*]</pattern> <pattern type="File">C:\Sharpdesk desktop\*[*]</pattern> <pattern type="File">C:\* [cms32.log]</pattern> <pattern type="File">C:\* [cmssetup.log]</pattern> <pattern type="File">C:\* [cmssetup.zip]</pattern> <pattern type="File">C:\* [imis.imis]</pattern> <pattern type="File">C:\* [pdoxusrs.net]</pattern> <pattern type="File">C:\Documents and Settings\All Users\Desktop\ITC Applications\*[*]</pattern> <pattern type="File">D:\* [*]</pattern> <pattern type="File">E:\* [*]</pattern> <pattern type="File">F:\* [*]</pattern> <pattern type="File">G:\* [*]</pattern> <pattern type="File">H:\* [*]</pattern> <pattern type="File">I:\* [*]</pattern> <pattern type="File">J:\* [*]</pattern> <pattern type="File">K:\* [*]</pattern> <pattern type="File">L:\* [*]</pattern> <pattern type="File">M:\* [*]</pattern> <pattern type="File">N:\* [*]</pattern> <pattern type="File">O:\* [*]</pattern> <pattern type="File">P:\* [*]</pattern> <pattern type="File">Q:\* [*]</pattern> <pattern type="File">R:\* [*]</pattern> <pattern type="File">S:\* [*]</pattern> <pattern type="File">T:\* [*]</pattern> <pattern type="File">U:\* [*]</pattern> <pattern type="File">V:\* [*]</pattern> <pattern type="File">W:\* [*]</pattern> <pattern type="File">X:\* [*]</pattern> <pattern type="File">Y:\* [*]</pattern> <pattern type="File">Z:\* [*]</pattern> </objectSet> </unconditionalExclude> </rules> </role> </component> <!--This componant copies all the Mozilla Firefox profiles and copies them to the new Windows 7 load. Retaining all the settings and bookmarks --> <!--NOTE: MOZILLA FIREFOX MUST BE INSTALLED PRIOR TO THIS RUNNING --> <component context="UserAndSystem" type="Application"> <displayName _locID="MigUser.firefox">Mozilla Firefox</displayName> <paths> <path type="File">%CSIDL_APPDATA%\Mozilla\Firefox\</path> </paths> <role role="Settings"> <detection> <conditions> <condition>MigXmlHelper.DoesObjectExist("File","%CSIDL_APPDATA%\Mozilla\Firefox\* [*]")</condition> </conditions> </detection> <rules context="User"> <include> <objectSet> <pattern type="File">%CSIDL_APPDATA%\Mozilla\Firefox\* [*]</pattern> </objectSet> </include> <merge script="MigXmlHelper.SourcePriority()"> <objectSet> <pattern type="File">%CSIDL_APPDATA%\Mozilla\Firefox\* [*]</pattern> </objectSet> </merge> </rules> </role> </component> <!--This componant copies all the old shortcuts and throws it on the users desktop in a folder called "Old Desktop Shortcuts" --> <component type="Documents" context="User"> <displayName _locID="MigUser.desktop">Old Desktop Shortcuts</displayName> <paths> <path type="File">%CSIDL_DESKTOP%</path> </paths> <role role="Settings"> <detection> <conditions> <condition>MigXmlHelper.DoesObjectExist("File","%CSIDL_DESKTOP%")</condition> </conditions> </detection> <rules> <include> <objectSet> <pattern type="File">%CSIDL_DESKTOP%\* [*.lnk]</pattern> </objectSet> </include> <locationModify script="MigXmlHelper.Move('%CSIDL_DESKTOP%\Old Desktop Shortcuts')"> <objectSet> <pattern type="File">%CSIDL_DESKTOP%\* [*.lnk]</pattern> </objectSet> </locationModify> <merge script="MigXmlHelper.DestinationPriority()"> <objectSet> <pattern type="File">%CSIDL_DESKTOP%\Old Desktop Shortcuts\ [*.lnk]</pattern> </objectSet> </merge> </rules> </role> </component> </migration> Quote Share this post Link to post Share on other sites More sharing options...
0 anyweb Posted April 3, 2012 Report post Posted April 3, 2012 in your scanstate.log file, right at the top of the log, it will list the exact scanstate command used, post that here. Quote Share this post Link to post Share on other sites More sharing options...
0 sweety_devil Posted April 4, 2012 Report post Posted April 4, 2012 [0x000000] Command line: \\*****\SMSPKGD$\ITS0012A\x86\scanstate.exe C:\UserState /o /localonly /efs:copyraw /v:5 /l:C:\WINDOWS\system32\CCM\Logs\SMSTSLog\scanstate.log /progress:C:\WINDOWS\system32\CCM\Logs\SMSTSLog\scanstateprogress.log /i:\\*****\SMSPKGD$\ITS0012A\x86\migapp.xml /i:\\*****\SMSPKGD$\ITS0012A\x86\migdocs.xml /i:\\*****\SMSPKGD$\ITS0012A\x86\custom.xml /nocompress /hardlink I've just replaced my server by **** And look these lines are persent on my scanstate log: 2012-04-04 09:35:14, Info [0x000000] CDocFinder: including folder D:\walker I attache my scanstate log. Thank you. scanstate.log Quote Share this post Link to post Share on other sites More sharing options...
Dear all,
I use migapp.xml, migdocs.xml and custom.xml.
In my custom.xml, I have many exclusions but scanstate continues to scan the D drive !
What is the problem with my custom.xml ? Is it to use with miguser and not migdocs ?
?xml version="1.0" encoding="UTF-8"?>
<migration urlid="http://www.microsoft.com/migration/1.0/migxmlext/Custom">
<!-- This component migrates Common Exclusions-->
<component type="Documents" context="System">
<displayName _locID="miguser.userdata">Common Exclusions</displayName>
<role role="Data">
<rules>
<unconditionalExclude>
<objectSet>
<script>MigXmlHelper.GenerateDrivePatterns ("\Winnt\* [*]", "Fixed")</script>
<script>MigXmlHelper.GenerateDrivePatterns ("\Windows\* [*]", "Fixed")</script>
<pattern type="File">%CSIDL_WINDOWS%\* [*]</pattern>
<pattern type="File">C:\MININT\*[*]</pattern>
<pattern type="File">C:\Bravaclient\*[*]</pattern>
<pattern type="File">C:\Corel\*[*]</pattern>
<pattern type="File">C:\ExceedNT\*[*]</pattern>
<pattern type="File">C:\Exceed.NT\*[*]</pattern>
<pattern type="File">C:\IMIS\*[*]</pattern>
<pattern type="File">C:\Novell\*[*]</pattern>
<pattern type="File">C:\Itc\*[*]</pattern>
<pattern type="File">C:\Sybase\*[*]</pattern>
<pattern type="File">C:\Temp\*[*]</pattern>
<pattern type="File">C:\cms\*[*]</pattern>
<pattern type="File">C:\drivers\*[*]</pattern>
<pattern type="File">C:\Exceed\*[*]</pattern>
<pattern type="File">C:\intel\*[*]</pattern>
<pattern type="File">C:\mssql7\*[*]</pattern>
<pattern type="File">C:\quarantine\*[*]</pattern>
<pattern type="File">C:\swsetup\*[*]</pattern>
<pattern type="File">C:\Sharpdesk desktop\*[*]</pattern>
<pattern type="File">C:\* [cms32.log]</pattern>
<pattern type="File">C:\* [cmssetup.log]</pattern>
<pattern type="File">C:\* [cmssetup.zip]</pattern>
<pattern type="File">C:\* [imis.imis]</pattern>
<pattern type="File">C:\* [pdoxusrs.net]</pattern>
<pattern type="File">C:\Documents and Settings\All Users\Desktop\ITC Applications\*[*]</pattern>
<pattern type="File">D:\* [*]</pattern>
<pattern type="File">E:\* [*]</pattern>
<pattern type="File">F:\* [*]</pattern>
<pattern type="File">G:\* [*]</pattern>
<pattern type="File">H:\* [*]</pattern>
<pattern type="File">I:\* [*]</pattern>
<pattern type="File">J:\* [*]</pattern>
<pattern type="File">K:\* [*]</pattern>
<pattern type="File">L:\* [*]</pattern>
<pattern type="File">M:\* [*]</pattern>
<pattern type="File">N:\* [*]</pattern>
<pattern type="File">O:\* [*]</pattern>
<pattern type="File">P:\* [*]</pattern>
<pattern type="File">Q:\* [*]</pattern>
<pattern type="File">R:\* [*]</pattern>
<pattern type="File">S:\* [*]</pattern>
<pattern type="File">T:\* [*]</pattern>
<pattern type="File">U:\* [*]</pattern>
<pattern type="File">V:\* [*]</pattern>
<pattern type="File">W:\* [*]</pattern>
<pattern type="File">X:\* [*]</pattern>
<pattern type="File">Y:\* [*]</pattern>
<pattern type="File">Z:\* [*]</pattern>
</objectSet>
</unconditionalExclude>
</rules>
</role>
</component>
<!--This componant copies all the Mozilla Firefox profiles and copies them to the new Windows 7 load. Retaining all the settings and bookmarks -->
<!--NOTE: MOZILLA FIREFOX MUST BE INSTALLED PRIOR TO THIS RUNNING -->
<component context="UserAndSystem" type="Application">
<displayName _locID="MigUser.firefox">Mozilla Firefox</displayName>
<paths>
<path type="File">%CSIDL_APPDATA%\Mozilla\Firefox\</path>
</paths>
<role role="Settings">
<detection>
<conditions>
<condition>MigXmlHelper.DoesObjectExist("File","%CSIDL_APPDATA%\Mozilla\Firefox\* [*]")</condition>
</conditions>
</detection>
<rules context="User">
<include>
<objectSet>
<pattern type="File">%CSIDL_APPDATA%\Mozilla\Firefox\* [*]</pattern>
</objectSet>
</include>
<merge script="MigXmlHelper.SourcePriority()">
<objectSet>
<pattern type="File">%CSIDL_APPDATA%\Mozilla\Firefox\* [*]</pattern>
</objectSet>
</merge>
</rules>
</role>
</component>
<!--This componant copies all the old shortcuts and throws it on the users desktop in a folder called "Old Desktop Shortcuts" -->
<component type="Documents" context="User">
<displayName _locID="MigUser.desktop">Old Desktop Shortcuts</displayName>
<paths>
<path type="File">%CSIDL_DESKTOP%</path>
</paths>
<role role="Settings">
<detection>
<conditions>
<condition>MigXmlHelper.DoesObjectExist("File","%CSIDL_DESKTOP%")</condition>
</conditions>
</detection>
<rules>
<include>
<objectSet>
<pattern type="File">%CSIDL_DESKTOP%\* [*.lnk]</pattern>
</objectSet>
</include>
<locationModify script="MigXmlHelper.Move('%CSIDL_DESKTOP%\Old Desktop Shortcuts')">
<objectSet>
<pattern type="File">%CSIDL_DESKTOP%\* [*.lnk]</pattern>
</objectSet>
</locationModify>
<merge script="MigXmlHelper.DestinationPriority()">
<objectSet>
<pattern type="File">%CSIDL_DESKTOP%\Old Desktop Shortcuts\ [*.lnk]</pattern>
</objectSet>
</merge>
</rules>
</role>
</component>
</migration>
Share this post
Link to post
Share on other sites