User Tools

Site Tools


windows:disableonedirve

Disable OneDrive (Win10)

Using Group Policy

Using MMC

  1. Press Win + R keyboard accelerator to open Run dialog box.
  2. Type GPedit.msc and hit Enter or OK to open Local Group Policy Editor.
  3. Navigate to Local Computer Policy → Computer Configuration → Administrative Templates → Windows Components → OneDrive.
  4. In the right pane, double click on policy named Prevent the usage of OneDrive for file storage.
  5. Select the Enabled radio button.
  6. Click or tap OK when done.

Using Regedit

disable_onedrive64.reg
Windows Registry Editor Version 5.00
 
[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Policies\Microsoft\Windows Defender]
"DisableAntiSpyware"=dword:00000001
 
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender]
"DisableAntiSpyware"=dword:00000001
disable_onedrive32.reg
Windows Registry Editor Version 5.00
 
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender]
"DisableAntiSpyware"=dword:00000001

More Extreme Removal

Terminate OneDrive at login

killonedrive.cmd
taskkill /f /im OneDrive.exe
taskkill /f /I'm OneDriveSetup.exe

Remove OneDrive Software

  • 32 bit
%SystemRoot%\System32\OneDriveSetup.exe /uninstall
  • or 64 bit
%SystemRoot%\SysWOW64\OneDriveSetup.exe /uninstall
windows/disableonedirve.txt · Last modified: 2015/11/24 14:22 by tschulz