Forum Discussion
How to delete onedrive from pc permanently in windows 10
Removing the OneDrive icon from the File Explorer navigation pane is an effective step if you want to declutter your interface, but it's important to understand that this action alone does not uninstall OneDrive or delete your cloud files. Here is a detailed explanation of how to do it as part of how to delete OneDrive from Windows PC.
The method involves editing the Windows Registry, a powerful database that stores low-level settings for the operating system. This approach hides the icon from view while leaving the OneDrive application itself intact on your computer.
How to Delete OneDrive from Windows PC:
Step 1: Open the Registry Editor
- Press Windows + R on your keyboard to open the Run dialog box
- Type regedit and press Enter. Click "Yes" if prompted by User Account Control
Step 2: Modify the First Registry Key
This key tells Windows to "pin" the OneDrive icon to the navigation pane.
In the Registry Editor's address bar, copy and paste the following path and press Enter:
text
HKEY_CLASSES_ROOT\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}
- In the right-hand pane, locate the entry named System.IsPinnedToNameSpaceTree
- Double-click it and change the Value data from 1 to 0
- Click OK
Step 3: Delete the Second Registry Key
This key represents the actual OneDrive folder shortcut in your personal File Explorer view .
In the address bar, copy and paste the following path and press Enter:
text
HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace
- In the left pane, you will see several folders with long names (called CLSIDs). Click on each one. In the right pane, look for a "Data" value that says OneDrive
- Once you find the folder with the OneDrive data, right-click it and select Delete
- Click "Yes" to confirm
Step 4: Restart File Explorer
- Close the Registry Editor
- To see the change immediately, you need to restart File Explorer. The easiest way is to restart your computer. Alternatively, you can open Task Manager (Ctrl + Shift + Esc), find "Windows Explorer," right-click it, and select "Restart"