Microsoft wants to promote its cloud service. That is why Windows 10 comes with OneDrive preinstalled, and without an obvious way to uninstall it. Fortunately, with some command line magic, we can completely uninstall OneDrive in Windows 10 Home and Pro, or just disable it in Windows 10 Pro.
Unblock any international website, browse anonymously, and download movies and Mp3 with complete safety with CyberGhost, just for $2.75 per month:
How to disable OneDrive in Windows 10 Pro
The method to disable OneDrive relies on the Group Policy Editor, which is only available in Windows 10 Pro. That's why Windows 10 home users only have the option to uninstall OneDrive.
If you are not sure which Windows 10 version you are running, just press Win + Pause/Break to open the system properties.
To disable OneDrive, we need to access the Group Policy Editor, by pressing Win + R and typing:
gpedit.msc
On the Group Policy Editor, we navigate to Local Computer Policy -> Computer Configuration -> Administrative Templates -> Windows Components -> OneDrive.
Inside the OneDrive folder, we edit the policy setting...
...and enable the policy to disable OneDrive.
How to uninstall OneDrive in Windows 10
To completely uninstall OneDrive, we need to open a Command Prompt with administrative rights. The fastest way to do so is by right-clicking the Start Menu Windows icon and select "Command Prompt (Admin)".
On the command prompt, first we stop any OneDrive processes with:
taskkill /f /im OneDrive.exe
Then, if we are running 32-bit Windows 10, we type:
%SystemRoot%\System32\OneDriveSetup.exe /uninstall
For 64-bit Windows 10, we type instead:
%SystemRoot%\SysWOW64\OneDriveSetup.exe /uninstall
This command will uninstall OneDrive. It won't show any success message.
Should I trust a cmd file to uninstall OneDrive?
There is a file floating around the internet that promises to uninstall OneDrive with a simple double click, created by the Microsoft Insider MELERIX, who might or might not be a Gaul.
Opening this particular batch file with a text editor, we see that it runs the above commands, with a couple of more commands to delete the OneDrive folders and registry keys.
So, it's perfectly safe to download this file and use it to uninstall OneDrive, if you don't want to mess with the command line.
Just remember to right-click and run the file as an administrator, or else it won't work.
How to reinstall OneDrive
If we want to reinstall OneDrive, we just open a "Run" command with Win + R and type:
%SystemRoot%\System32\OneDriveSetup.exe
for 32-bit Windows, or
%SystemRoot%\SysWOW64\OneDriveSetup.exe
for 64-bit Windows.
OneDrive will be automatically reinstalled, we don't even need to click "Next" or anything.
Will you uninstall OneDrive in Windows 10?
Whether you like Microsoft's cloud service, or you hate OneDrive with a passion - or anything in-between - leave us a comment.
Support PCsteps
Do you want to support PCsteps, so we can post high quality articles throughout the week?
You can like our Facebook page, share this post with your friends, and select our affiliate links for your purchases on Amazon.com or Newegg.
If you prefer your purchases from China, we are affiliated with the largest international e-shops:
Pete Nikolai says
I uninstalled OneDrive using the following process:
_ press Windows-A
_ click All Settings > System > Apps & features > Microsoft OneDrive > Uninstall