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:
Table of Contents
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:
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:
For 64-bit Windows 10, we type instead:
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:
for 32-bit Windows, or
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.
- Uninstall Default Windows 10 Apps with PowerShell
- Add Right-Click Commands in Linux Mint / Ubuntu
- Raspberry Pi Emulation for Windows with QEMU
- Find Linux Hardware Information in Linux Mint / Ubuntu
- How To Delete Old Drivers From Windows And Free Up Drive Space
Do you want to support PCsteps, so we can post high quality articles throughout the week?
If you prefer your purchases from China, we are affiliated with the largest international e-shops: