Open Settings
Select Apps
Select Installed apps
Find Microsoft OneDrive
Select Uninstall
Press Ctrl + R
Type: `taskmgr`
Press Enter
In Processes, right-click `Microsoft OneDrive`
Select End task
Press Ctrl + Shift + Esc
Open Startup apps (or Task Manager → Startup)
Disable Microsoft OneDrive
Press Ctrl + R
Type: `gpedit.msc`
Press Enter
Go to:
Computer Configuration
Administrative Templates
Windows Components
OneDrive
Open:
Prevent the usage of OneDrive for file storage
Set it to Enabled
Press Ctrl + R
Type: `regedit`
Press Enter
Go to:
`HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindowsOneDrive`
Create or set:
`DisableFileSyncNGSC` (DWORD) to `1`
`DisableFileSync` (DWORD) to `1`
`DisablePersonalSync` (DWORD) to `1`
Open OneDrive
Select Settings (gear icon)
Select Settings
Uncheck:
Start OneDrive automatically when I sign in to Windows
Select Stop syncing (if available)
