Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

import config.xml #53

Closed
Nahasson opened this issue Jul 12, 2019 · 7 comments
Closed

import config.xml #53

Nahasson opened this issue Jul 12, 2019 · 7 comments

Comments

@Nahasson
Copy link

If i'm "importing" my own config.xml file, I receive an error code 26: Verify config xml file is not loaded using /i....
If i'm using one of your xml's in the list it works just fine.
Any idea why?

The content of the config.xml:

@Nahasson
Copy link
Author

The result in the log-file:
2019-07-12 11:48:07, Info [0x000000] Script file specified: C:\Users\EXN346\Documents\Win10_Mig\Migrate-WindowsUserProfile\USMT\amd64\YPTOConfig.xml
2019-07-12 11:48:07, Error [0x08055d] MXE Agent: Migration XML C:\Users\EXN346\Documents\Win10_Mig\Migrate-WindowsUserProfile\USMT\amd64\YPTOConfig.xml is not properly formatted. Message: Should be exactly one element.
2019-07-12 11:48:07, Error [0x000000] EngineStartup caught exception: FormatException: Should be exactly one element. __cdecl Mig::CMXEMigrationXml::CMXEMigrationXml(class Mig::CPlatform *,class UnBCL::String *,class UnBCL::XmlDocument *,class UnBCL::String *,class UnBCL::String *)
2019-07-12 11:48:07, Error [0x000000] Error while trying to start the migration engine
2019-07-12 11:48:07, Warning [0x000000] Internal error 4 was translated to a generic error
2019-07-12 11:48:07, Info [0x000000] Failed.[gle=0x00000091]
2019-07-12 11:48:07, Info [0x000000] Software malfunction or Unknown exception[gle=0x00000091]
2019-07-12 11:48:07, Info [0x000000] USMT Completed at 2019/07/12:11:48:07.353[gle=0x00000091]
2019-07-12 11:48:07, Info [0x000000] ----------------------------------- USMT ERROR SUMMARY -----------------------------------
2019-07-12 11:48:07, Info [0x000000] * USMT error code 26:
2019-07-12 11:48:07, Info [0x000000] +-----------------------------------------------------------------------------------------
2019-07-12 11:48:07, Info [0x000000] | Software malfunction or Unknown exception, please check the following possible solutions:
2019-07-12 11:48:07, Info [0x000000] | - Check log for any errors found in loaded migxml files
2019-07-12 11:48:07, Info [0x000000] | - Verify config xml file is not loaded using /i
2019-07-12 11:48:07, Info [0x000000] | - If duplicate SID exists from temp profile – use environment variable or delete temp profile
2019-07-12 11:48:07, Info [0x000000] +-----------------------------------------------------------------------------------------

@nickrod518
Copy link
Owner

nickrod518 commented Jul 12, 2019 via email

@Nahasson
Copy link
Author

it works perfect with the scanstate.exe in commandline
but it's a true 'Config.xml' file where I want to exclude Wlansvc, RasApi, MPR and Crypto-keys an CAPI-certs from migration to a complete new machine

BTW: It's a Super!! tool you created

@Nahasson
Copy link
Author

Nahasson commented Jul 12, 2019

YPTOConfig.txt
This is the XML file
after generating a new config.xml and using this new xml in the script I receive an error
Capture
As you can see I read your "How to" to have it all right
Capture1

@Qeyleb
Copy link
Contributor

Qeyleb commented Jul 13, 2019

I think I see the confusion! All the xml files used by this tool are Migration XML files. What Nahasson (and me, which is how I found this issue) wants is a Config.xml file. The former uses "/i:", the latter uses "/config:". This was also mentioned in issue #45 . A little confusingly, the code refers to the former as config/configuration files.

I don't see a good way to implement this without a whole new separate button for "/config:" files, or perhaps a way to detect the contents (which would probably be harder). (Btw, a config file with everything set to migrate="no" saves a lot of space!)

Echoing Nahasson, this is an excellent tool and I thank you for it; I hope to help make it even better!

@Nahasson
Copy link
Author

Hi Qeyleb, thank you for the reply and the suggestions. It works now.

@Nahasson
Copy link
Author

Thank you for the solutions guys

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants