If OneDrive is overwriting files with older versions, set the date and time correctly, reset OneDrive, Pause sync temporarily ...
If you see OneDrive error code 0x8004def7, use the following solutions to resolve the problem. Check if your account is suspended or not Check free space in OneDrive ...