Open OneDrive from the system tray
Select Help & Settings
Click Settings
Go to the Account tab
Click Unlink this PC
Confirm the unlink action
Open Task Manager
Go to the Startup tab
Disable Microsoft OneDrive
Open Settings
Go to Apps
Select Installed apps or Apps & features
Find Microsoft OneDrive
Click Uninstall
Confirm the uninstall action
Open Group Policy Editor
Go to Computer Configuration
Go to Administrative Templates
Go to Windows Components
Select OneDrive
Enable Prevent the usage of OneDrive for file storage
Open Registry Editor
Go to HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindowsOneDrive
Create or set DisableFileSyncNGSC to 1
Restart the computer
