You can disable it in the registry. H key local machine, software, policy, microsoft, windows, OneDrive, disable sync value change from 0 to 1 and it will turn it off. I may be a little off this was just from memory.
That’s just an NTLite build, if you want to uninstall those things do it yourself (either with NTLite and an ISO or through command prompt like any other software)