Remove or Add OneDrive from Windows 10


Many of the Microsoft’s Windows users are not Comfortable with the New feature of OneDrive that has been added in File Explorer and in the Taskbar of their Windows 10. Shortcut Feature of OneDrive for Storing different type of files Online is Good for your HDD/SDD, but the problem arises when you don’t want to use it.

Microsft Windows Likes to do changes in their Operating Systems (OS) in every Release and this ‘Time‘ the eyes are on ‘OneDrive’. Not many users have problems with the ‘OneDrive’ Shortcut, but Rest of the Windows 10 users who are Connected with other online Storages – feels that it is of no use. Furthermore, it also takes Time to Connect if pointed Mistakenly and also Start-up with your Windows PC.

The ‘OneDrive’ Shortcut which appears in your File Explorer and Taskbar can be Removed Easily with these Methods. But if you want to use it Later from your Windows 10 PC then also there is a Way for that.

You may Like:
7 Things to do after Installing Windows OS
Ways to Get Youtube and Facebook Videos
Get Back the Control Panel of Windows 10
Set Wallpaper for Dual or Triple Screens
Turn On the God Mode of Windows 10
Get More than 1 TB of Free Online Storage
See the Transfer Rate of Androids Internet
Watch Movies and TV Serials for Free
Use your Phone as a Mouse or a Keyboard
7 Ways to Speed up your Google Chrome Browser
Increase System Volume of Windows 10 by 200%
Avoid Login Screen of your Windows 10
Edit a Hosts File on any Version of Windows
Resume File Download on Google Chrome
Remove Unknown Posts of Facebook
See Hidden Email Addresses of Facebook
Download Online Videos on any Phone

The First Way for Removing ‘OneDrive’ from your Windows 10 PC is to Manually Copy and Paste the Code from here, whereas the Second way is to Download a small file and Run it on your Windows Machine. Further, if you want to add that ‘OneDrive’ Shortcut Back in your Windows 10 then you have to Install the following Application.

Remove or Add OneDrive from Windows 10

For Removal of OneDrive Shortcut

1st Way:

Step 1: Copy & Paste these Texts in Notepad of your Windows 10 PC

Note: You can Create this new Text file anywhere in your PC.


@echo off

set x86=”%SYSTEMROOT%\System32\OneDriveSetup.exe”
set x64=”%SYSTEMROOT%\SysWOW64\OneDriveSetup.exe”

echo Closing OneDrive process.
taskkill /f /im OneDrive.exe > NUL 2>&1
ping -n 5 > NUL 2>&1

echo Uninstalling OneDrive…
if exist %x64% (
%x64% /uninstall
) else (
%x86% /uninstall
ping -n 5 > NUL 2>&1

echo Removing OneDrive leftovers…
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 Removing OneDrive from the Explorer Side Panel…
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

Step 2: Now give any Name to this Text file but the Ending Portion should end with ‘.cmd‘ – Like this: “RemoveOneDrive.cmd“.remove-or-add-control-panel-from-windows-10 1

2nd Way

Step 1: If you feel Confusing with the above Code or if it’s not working for you then you can Download this Batch File also.

Mirror 1

Mirror 2

Mirror 3

Step 2: You can Run this Batch file from anywhere of your Windows 10 Machine. If it asks for any Extra Permission then Grant it for a Complete Removal of ‘OneDrive’ from Windows 10.remove-or-add-control-panel-from-windows-10 2

For Adding OneDrive Shortcut

Step 1: You just have to install the OneDrive Application for Getting that OneDrive Shortcut Back on your Windows 10 PC. You can download from here also:

Mirror  1

Mirror 2

Mirror 3

Be the first to comment