Disable OneDrive¶
OneDrive is Microsoft Cloud storage built into Windows 10 and automatically enabled by default and is the default location for all files.
Danger
After every major windows update, verify these settings.
Unlink OneDrive before disabling
If you have signed into OneDrive on this machine, OneDrive should be unlinked before proceeding. Data will still be on https://onedrive.live.com.
taskbar › RMB OneDrive › More › Settings › Account
Unlink this PC
LMB
Unlink account
LMB
Remove OneDrive from Windows Explorer
OneDrive is integrated with Windows Explorer by default.
HKEY_CLASSES_ROOT\\CLSID\\{018D5C66-4533-4307-9B53-224DE2ED1FE6}
System.IsPinnedToNameSpaceTree
DWORD
0
Updated: 2021-02-19 Reference
Disable OneDrive from storing files
Windows updates may re-enable this task.
GPO
Computer Configuration › Administrative Templates › Windows Components › OneDrive › Prevent the usage of OneDrive for file storage
☑
ENABLED
Updated: 2021-02-19
Task Scheduler
⌘ › Task Scheduler › Task Scheduler Library › OneDrive Standalone Update Task v2
Task
DISABLED
Updated: None
Remove OneDrive
OneDrive may be removed once disabled.
taskkill /F /IM OneDrive.exe
%SystemRoot%\SysWOW64\OneDriveSetup.exe /uninstall
Reboot.
Firewall¶
Endpoints for telemetry may change. Peridiocally verify these have not changed. See references for additional documentation.
Warning
These endpoints should be blocked or routed to a blackhole. See Pi-Hole and DNAT for Captive DNS.
Diagnostic data services endpoints
Service |
Endpoint |
---|---|
OneDrive app for Windows 10 |
|
› |
vortex.data.microsoft.com/collect/v1 |
References