USMT Custom config not working
I've been using K2000 for a few weeks now and ran into an issue with the custom USMT file. The Scan Template options without specifying a config file won't suffice for our needs, as we use the "c:\Data" folder for all our users to store their custom files in. I went through the progress of learning USMT 4 and making a custom file for it.
The process I went through step-by-step:
- Installed Windwos AIK
- Made the following file in the x86 USMT folder (where scanstate.exe is): c-data.xml. This file contains the following:
<migration urlid="http://www.microsoft.com/migration/1.0/migxmlext/c-data">
<component type="Documents" context="System">
<displayName>Data folder op C-schijf</displayName>
<role role="Data">
<rules>
<include>
<objectSet>
<pattern type="File">C:\Data\* [* ]</pattern>
</objectSet>
</include>
</rules>
</role>
</component>
</migration>
(Note: the [* ] does not contain a space, but I had to put one there for the forum formatting)
I then executed the cmd line:
scanstate /i:MigApp.xml /i:MigDocs.xml /i:MigUser.xml /i:c-data.xml /genconfig:Config.xml /v:13
This gave me the Config.xml file that I needed. I first tested by uploading the USMT to the K2000 again (in hope it would also upload the c-data.xml), then uploaded the Config.xml onto the K2000 in the USMT scan templates tab. I ran a test, and it succeeded, but didn't copy the c:\Data folder like it should have.
I then tested the USMT profile locally to excluse that it was a mistake in the file rather than on the K2000, with the command:
scanstate \\dcmher04\TEMP\usmt /config:Config.xml
This gave me the same result on the K2000, meaning the scan did succeed, but it didn't copy the c:\Data folder.
Does anyone see an obvious mistake in my process? I'm quite new to USMT so it wouldn't surprise me, but it would be fantastic to get it resolved.
The process I went through step-by-step:
- Installed Windwos AIK
- Made the following file in the x86 USMT folder (where scanstate.exe is): c-data.xml. This file contains the following:
<migration urlid="http://www.microsoft.com/migration/1.0/migxmlext/c-data">
<component type="Documents" context="System">
<displayName>Data folder op C-schijf</displayName>
<role role="Data">
<rules>
<include>
<objectSet>
<pattern type="File">C:\Data\* [* ]</pattern>
</objectSet>
</include>
</rules>
</role>
</component>
</migration>
(Note: the [* ] does not contain a space, but I had to put one there for the forum formatting)
I then executed the cmd line:
scanstate /i:MigApp.xml /i:MigDocs.xml /i:MigUser.xml /i:c-data.xml /genconfig:Config.xml /v:13
This gave me the Config.xml file that I needed. I first tested by uploading the USMT to the K2000 again (in hope it would also upload the c-data.xml), then uploaded the Config.xml onto the K2000 in the USMT scan templates tab. I ran a test, and it succeeded, but didn't copy the c:\Data folder like it should have.
I then tested the USMT profile locally to excluse that it was a mistake in the file rather than on the K2000, with the command:
scanstate \\dcmher04\TEMP\usmt /config:Config.xml
This gave me the same result on the K2000, meaning the scan did succeed, but it didn't copy the c:\Data folder.
Does anyone see an obvious mistake in my process? I'm quite new to USMT so it wouldn't surprise me, but it would be fantastic to get it resolved.
0 Comments
[ + ] Show comments
Answers (0)
Please log in to answer
Be the first to answer this question
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.