16 November 2015

Completely Disable OneDrive in Windows 10

I'm a real fan of Windows 10, I think Microsoft have done a great job. I've been supporting a number of local businesses transition from Windows 7 and they too have nothing but praise for the new system, even on older systems.

I also like OneDrive as a cloud storage solution however due to some bugs with older Microsoft Office files I prefer to use Google Drive. Unfortunately though Microsoft has embedded OneDrive pretty solid into Windows 10 and they don't offer a simple option to disable it.

This isn't difficult to do and below I've provided steps to completely remove OneDrive from your system - these steps can be used on any version of Windows 10 at the time of writing.

  1. Click the Start button and type "cmd" without the quotation marks.

  2. Right-click the Command Prompt app and select "Run as administrator".

  3. Enter the command below and press return to disable the OneDrive process.
    taskkill /f /im OneDrive.exe

  4. Now we will remove the OneDrive app itself using either of the commands below, the top command is for 32-Bit systems and the bottom for 64-Bit systems.
    %SystemRoot%\System32\OneDriveSetup.exe /uninstall
    %SystemRoot%\SysWOW64\OneDriveSetup.exe /uninstall

09e5e-ss2


Following the above no confirmation will display but OneDrive has now been removed. It is now recommended that you run the commands below to clean up any OneDrive leftovers. Before running these, I'd recommend you reboot your system. (Remember to launch Command Prompt as administrator)



rd "%UserProfile%\OneDrive" /Q /S

rd "%LocalAppData%\Microsoft\OneDrive" /Q /S

rd "%ProgramData%\Microsoft OneDrive" /Q /S

rd "C:\OneDriveTemp" /Q /S



Finally, to remove the OneDrive icons from Windows Explorer we'll remove the registry keys below - you can enter these directly into the command prompt.



REG Delete "HKEY_CLASSES_ROOT\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}" /f


REG Delete "HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}" /f



756da-ss1


Any questions you can comment below and I'll be happy to help.

No comments:

Post a comment

Please use a Google Account to comment and check the box if you'd like notified of any responses. You can comment with just your name or anonymously if you'd prefer.