Comments (1)
Hello @vankampenp . When you say 'non standard locations' are the locations being changed within explorer or another method?
We have added the ability in the tool to utilize the custom.xml within the tool. This was a first pass at allowing custom rules to achieve similar to what you discussed above and account for custom system migration scenarios.
By clicking on the checkbox 'Use Custom XML' it will take you the 'USMT Custom.XML' tab. The xml here will then be used in the migration and allows you to customize what is included or excluded in the migration steps.
The pre-populated custom.xml is adding an INCLUDE to also migrate 'appdata' folders. This could be useful for example where you want to migrate the google local app data and exclude the slack subfolder. This granularity can be built out to help migrate different applications.
the default behavior of the tool as you have seen is to INCLUDE the Desktop, Documents, Downloads etc. folders no matter where they are redirected. So in your case if you DON'T use the custom.xml it will attempt to pull D:\Photos with no exclusions and as a result take a long time if there are a lot of files.
To get around this, we can utilize the custom.xml and either exclude a location/directory or we can include a specific location/directory or even file type.
A good XML example would be:
<component type="Documents" context="System">
<displayName>Component to migrate all user documents except Sample.doc</displayName>
<role role="Data">
<rules>
<include>
<objectSet>
<pattern type="File"> C:\UserDocuments\* [*]</pattern>
</objectSet>
</include>
<exclude>
<objectSet>
<pattern type="File"> C:\UserDocuments\ [Sample.doc]</pattern>
</objectSet>
</exclude>
</rules>
</role>
</component>
More information on the XML syntax can be found here:
https://docs.microsoft.com/en-us/windows/deployment/usmt/usmt-custom-xml-examples
For your issue example if I wanted to include everything but EXCLUDE the photos directory that was redirecting to D:\Photos\
I would choose custom.xml and add something like this:
<component type="Documents" context="System">
<displayName>Exclude Entire D:\Photos Directory</displayName>
<role role="Data">
<rules>
<include>
</include>
<exclude>
<objectSet>
<pattern type="File"> D:\Photos\* [*]</pattern>
</objectSet>
</exclude>
</rules>
</role>
</component>
Then when the tool runs, it should migrate everything based on your redirection, when it comes to Pictures which is redirected to D:\Photos\ it will skip them and as a result be alot faster and move to the next thing.
I understand the explanation above is overly complicated and we are working on further ways to simplify and present this to the admin. But as your issue outlines, each system can be configured differently for a myriad of reasons. By exposing the custom.xml despite being complicated allows a way to solve said issues.
Please reach out and let me know if this helps or I can help further.
from jumpcloud-admu.
Related Issues (8)
- Biometrics cached and fail after migration HOT 4
- GUI and PS script won't work properly on French systems HOT 2
- Key not recognized HOT 3
- Error trying to run gui_jcadmu.exe HOT 1
- Start-Migration ADK/USMT Error HOT 3
- wmic command line tool is no longer present from Windows 21H1 onwards HOT 2
- dsregcmd.exe not working as decribed in the wiki HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jumpcloud-admu.