This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
windows:disableonedirve [2015/11/23 14:01] tschulz [Using Group Policy] |
windows:disableonedirve [2015/11/24 14:22] (current) tschulz [Terminate OneDrive at login] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Disable OneDrive ====== | + | ====== Disable OneDrive (Win10) ====== |
===== Using Group Policy ===== | ===== Using Group Policy ===== | ||
- | <file reg disable_onedrive.reg> | + | ==== Using MMC ==== |
+ | - Press **Win + R** keyboard accelerator to open Run dialog box. | ||
+ | - Type **GPedit.msc** and hit **Enter** or **OK** to open Local Group Policy Editor. | ||
+ | - Navigate to **Local Computer Policy -> Computer Configuration -> Administrative Templates -> Windows Components -> OneDrive.** | ||
+ | - In the right pane, double click on policy named **Prevent the usage of OneDrive for file storage.** | ||
+ | - Select the **Enabled** radio button. | ||
+ | - Click or tap OK when done. | ||
+ | |||
+ | ==== Using Regedit ==== | ||
+ | |||
+ | <file reg disable_onedrive64.reg> | ||
Windows Registry Editor Version 5.00 | Windows Registry Editor Version 5.00 | ||
- | [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\OneDrive] | + | [HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Policies\Microsoft\Windows Defender] |
- | "DisableFileSyncNGSC"=dword:00000001 | + | "DisableAntiSpyware"=dword:00000001 |
+ | |||
+ | [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender] | ||
+ | "DisableAntiSpyware"=dword:00000001 | ||
</file> | </file> | ||
+ | <file reg disable_onedrive32.reg> | ||
+ | Windows Registry Editor Version 5.00 | ||
+ | |||
+ | [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender] | ||
+ | "DisableAntiSpyware"=dword:00000001 | ||
+ | </file> | ||
+ | |||
+ | |||
+ | ===== More Extreme Removal ===== | ||
+ | |||
+ | ==== Terminate OneDrive at login ==== | ||
+ | <file msdos killonedrive.cmd> | ||
+ | taskkill /f /im OneDrive.exe | ||
+ | taskkill /f /I'm OneDriveSetup.exe | ||
+ | </file> | ||
+ | |||
+ | ==== Remove OneDrive Software==== | ||
+ | * 32 bit | ||
+ | <file> | ||
+ | %SystemRoot%\System32\OneDriveSetup.exe /uninstall | ||
+ | </file> | ||
+ | * or 64 bit | ||
+ | <file> | ||
+ | %SystemRoot%\SysWOW64\OneDriveSetup.exe /uninstall | ||
+ | </file> |