How to fix the OneDrive cannot connect to Windows Error? 1.
If this scenario is applicable, you can fix the issue by refreshing every OS component with a procedure like a clean install or repair install. This will most commonly appear after a security scan ended up quarantining some items.