4
2
I'd like to get rid of the OneDrive option from the navigation panel of File Explorer. Preview-era articles I've found recommend registry tweaks, which is rather inelegant, and I'm hoping there is a better way to remove it.
4
2
I'd like to get rid of the OneDrive option from the navigation panel of File Explorer. Preview-era articles I've found recommend registry tweaks, which is rather inelegant, and I'm hoping there is a better way to remove it.
2
gpedit.msc -> Local Computer Policy\Computer Configuration\Administrative Templates\Windows Components\OneDrive
Enable "Prevent the usage of OneDrive for file storage". This will disable and remove everything after a restart
3
The above answer doesn't work for Home users as they do not have gpedit.msc. I do understand you weren't looking for Registry fixes but this appear to be the only way. (You can stop OneDrive from booting but it doesn't remove it completely)
Take a look at this thread at Reddit
EDIT:
Pasted the Reddit post incase something changes
--
If you want to remove OneDrive permanently, do the following:
Create a text file by opening Notepad
Go on the following link and copy/paste the code into the text file:
@echo off
cls
set x86="%SYSTEMROOT%\System32\OneDriveSetup.exe"
set x64="%SYSTEMROOT%\SysWOW64\OneDriveSetup.exe"
echo Closing OneDrive process.
echo.
taskkill /f /im OneDrive.exe > NUL 2>&1
ping 127.0.0.1 -n 5 > NUL 2>&1
echo Uninstalling OneDrive.
echo.
if exist %x64% (
%x64% /uninstall
) else (
%x86% /uninstall
)
ping 127.0.0.1 -n 5 > NUL 2>&1
echo Removing OneDrive leftovers.
echo.
rd "%USERPROFILE%\OneDrive" /Q /S > NUL 2>&1
rd "C:\OneDriveTemp" /Q /S > NUL 2>&1
rd "%LOCALAPPDATA%\Microsoft\OneDrive" /Q /S > NUL 2>&1
rd "%PROGRAMDATA%\Microsoft OneDrive" /Q /S > NUL 2>&1
echo Removeing OneDrive from the Explorer Side Panel.
echo.
REG DELETE "HKEY_CLASSES_ROOT\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}" /f > NUL 2>&1
REG DELETE "HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}" /f > NUL 2>&1
pause
Then save as RemoveOneDrive.bat and exit
Run the script with admin rights and One Drive will be gone
1
Welcome to Super User! Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference. That way, should the linked page ever change or become invalid for any reason, the answer will still be useful to visitors to Super User. Link-only answers, or answers which overly rely on external resources to be understood, may become invalid if the cited resource ever is changed or becomes unavailable.
– a CVn – 2015-08-02T20:03:20.663@MichaelKjörling Clear! – Rick Doesburg – 2015-08-02T20:40:11.897
While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes. – Ramhound – 2015-08-02T22:04:12.377
@Ramhound That's why I edited the post – Rick Doesburg – 2015-08-03T09:25:51.897
You just edited it....to what it should have been originally – Ramhound – 2015-08-03T10:08:41.767
What if we just want to remove OneDrive from Windows Explorer without completely uninstalling it? – Stevoisiak – 2017-04-02T16:05:47.577
5any thoughts for Home version users? I don't think we have GroupPolicy – Mike M – 2015-07-31T21:09:33.770
1
@MikeM There are ways to manually install the Group Policy Editor on Windows Home Edition.
– Stevoisiak – 2017-05-04T16:55:31.973