Hi,
I'm Pedro A, Independent Advisor
I've had some problems with OneDrive very similar.
The following procedure helped me to solve them.
In step 3, deleting the 3 files indicated is essential to help solve the problem.
You can only run step 3 and do a test, but I suggest you run the full procedure
Procedure:
1 - In the start menu, type CMD and choose the option "Run as Administrator"
When opening the Command Prompt, type:
taskkill /f /im OneDrive.exe
and hit enter
The command above terminates all program processes that may be running in the background.
2 - Access the link below and install the "App Installer"
https://www.microsoft.com/store/productID/9nblg...
3 - Open up File Explorer, click View and then check Hidden items box to view all hidden folders. This is required as some folders like AppData are hidden by default
Navigate to the following location
C:\Users\UserName\AppData\Local\Microsoft
(Replace “UserName” with your user name.)
Now, look for "OneDrive" > "Setup" > Logs folder
Locate the files named below and delete them:
userTelemetryCache.otc
userTelemetryCache.otc.session
parentTelemetryCache.otc
4 - Click Start menu and search for Windows PowerShell, open with Admin privileges.
Copy and paste the following command by hitting enter after each one
(When a conformation message appears, type Y)
winget uninstall Microsoft.OneDrive
(This command will uninstall OneDrive)
5 - Now let's install Onedrive.
With PowerShell open with administrative privileges run the following command
winget install Microsoft.OneDrive
(This command will install OneDrive)
After the installation process is finished, restart Windows and test