When mounting the WIM, I browse the WIM under Windows\SysWOW64 and delete all of the files related to OneDrive, as well as the Start Menu shortcut for all users as part of my customization process for my Windows 10 Pro installer. When I do the initial install, there is no sign of OneDrive anywhere for any of the users. But, for some reason, if I ever run an SFC /scannow command, OneDrive gets reinstalled.
I thought by removing it fully from the image, that it wouldn't have anything to reinstall from. Am I missing something?