The troubleshoot for the error 0xC1900101 - 0x40017 is to clean boot into Windows and then attempt the upgrade.
1-Click on Start, in the search box on the taskbar, type msconfig and select System Configuration from the results.
2-On the Services tab of System Configuration, select Hide all Microsoft services, and then select Disable all.
3-On the Startup tab of System Configuration, select Open Task Manager.
4-Under Startup in Task Manager, for each startup item, select the item and then select Disable.
5-Close Task Manager.
6-Reboot and try to run the Media Creation Tool again.
You can see more information at these links.
Resolution procedures:
https://docs.microsoft.com/en-us/windows/deploy...
How to perform a clean boot in Windows: