OneDrive comes installed with Windows 10. Windows 10 automatically enables OneDrive if you use a Microsoft account to sign-in to Windows 10. However, if you are using a local user account, you might often see Set up OneDrive pop-up dialog on your screen.
The Set up OneDrive pop-up dialog appears when you have not sign in to OneDrive. Many users who use other cloud storage services such as Google Drive, Dropbox, and others, don’t want to use OneDrive to store files and hence, don’t want to set up or sign in to OneDrive.
Unfortunately, Windows 10 doesn’t offer a provision to stop the annoying Set up OneDrive pop up from appearing. If you really want to get rid of the Set up OneDrive pop up, you need to either disable OneDrive in Group Policy or uninstall OneDrive.
Following are the ways to disable OneDrive and completely remove OneDrive from your Windows 10 PC.
Method 1 of 2
Disable OneDrive in Group Policy
Group Policy is not part of Windows 10 Home edition. So, if you are Home edition, please refer to the directions in Method 2 or Method 3.
Step 1: Open Group Policy Editor. To do so, type Gpedit.msc in Start/taskbar search field and then press Enter key.
Step 2: In the Local Group Policy window, navigate to the following folder:
Local Computer Policy > Computer Configuration > Administrative Templates > Windows Components > OneDrive.
Step 3: On the right-side, double-click on Prevent the usage of OneDrive for file storage policy to open its properties.
Step 4: Choose Enabled option, and then click Apply button.
Method 2 of 2
Uninstall OneDrive using Command Prompt
NOTE: Although OneDrive entry shows up in Programs and Features window of Control Panel, and can be uninstalled from there, it’s not possible to completely uninstall OneDrive via Control Panel. So, we are using Command Prompt to completely remove OneDrive from Windows 10.
Step 1: Open Command Prompt as administrator. To do so, type CMD in Start/taskbar search box, right-click on the Command Prompt result and then click Run as administrator option.
Step 2: At the Command Prompt window, type the following command to kill the OneDrive process, if any.
taskkill /f /im OneDrive.exe
NOTE: You can simply copy and paste the above command.
Step 3: Next, type the following command to uninstall OneDrive. Note that you won’t see any message after executing the command.
Use the below command if you are running 32-bit Windows 10.
Use the below command if you are on 64-bit Windows 10.
If you are not sure about the type of Windows 10 running on your PC, please refer to our how to check if you are running 32-bit or 64-bit Windows 10 guide.
You might also like to read our how to move the OneDrive folder in Windows 10 guide.