Forum Discussion
one drive syncing is too much slow
I ran into the same issue. Tried everything: reinstalling OneDrive, switching between files-on-demand mode and full sync mode, disabling AV etc.As it turned out, the OneDrive folder was left after the previous Windows install, and didn't have the correct system owner ID assigned (the owner was listed as something like S-1-12-1-1234564589-1234564798-1234564798-1234567891).
This was resolved after assigning the correct user name by running the command below (admin privileges required).
takeown /s YOURPCNAME /u AzureAD\YourUserName /f "D:\OneDrive - Company Name" /r /d YIf the above doesn't work, try this (admin privileges required):
icacls "D:\OneDrive - Company Name" /q /t /grant "AzureAD\YourUserName:(OI)(CI)F"
Don't forget to insert your data before running the commands above and make sure you check the links below so you understand all the options used!
https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/takeown
https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/icacls