Remove OneDrive from Windows: Difference between revisions

From KlavoWiki
Jump to navigationJump to search
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
On a 64 Bit Operating system.<br>
= Windows 11 =
== PowerShell Method ==
<pre>winget uninstall onedrive</pre>


= Kill and Remove Onedrive =
== Command Prompt Method ==
From a command Prompt.
From a command Prompt.
<pre>
taskkill /f /im OneDrive.exe
C:\Windows\System32\OneDriveSetup.exe /uninstall
</pre>
= Windows 10 =
== Command Prompt ==
<pre>
<pre>
taskkill /f /im OneDrive.exe
taskkill /f /im OneDrive.exe
Line 8: Line 17:
</pre>
</pre>


= Registry Change =
== Registry Change ==
Or you can use this registry chnage.  You don;'t need to do this if you have used the Command Prompt.
<pre>
<pre>
regedit
regedit

Latest revision as of 02:43, 5 October 2022

Windows 11

PowerShell Method

winget uninstall onedrive

Command Prompt Method

From a command Prompt.

taskkill /f /im OneDrive.exe
C:\Windows\System32\OneDriveSetup.exe /uninstall

Windows 10

Command Prompt

taskkill /f /im OneDrive.exe
%SystemRoot%\SysWOW64\OneDriveSetup.exe /uninstall

Registry Change

Or you can use this registry chnage. You don;'t need to do this if you have used the Command Prompt.

regedit

locate Key

HKEY_CLASSES_ROOT\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}

change from 1 to 0.

System.IsPinnedToNameSpaceTree

or save and run following reg file.

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}]
"System.IsPinnedToNameSpaceTree"=dword:00000000