You could try to navigate to the following registry path: HKCU\SOFTWARE\Microsoft\OneDrive\DisablePersonalSync, then change its value from 1 to 0.
Note: please back up the registry before modifying.
If an Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.