Remove OneDrive from Windows: Difference between revisions

From KlavoWiki
Jump to navigationJump to search
Created page with "On a 64 Bit Operating system.<br> From a command Pprompt. <pre> taskkill /f /im OneDrive.exe %SystemRoot%\SysWOW64\OneDriveSetup.exe /uninstall </pre> <pre> regedit </pre>..."
 
No edit summary
 
(2 intermediate revisions 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>


From a command Pprompt.
== Command Prompt Method ==
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 7: Line 17:
</pre>
</pre>


== 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
Line 19: Line 31:
<pre>
<pre>
System.IsPinnedToNameSpaceTree
System.IsPinnedToNameSpaceTree
</pre>
or save and run following reg file.
<pre>
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}]
"System.IsPinnedToNameSpaceTree"=dword:00000000
</pre>
</pre>


[[Category : Windows]]
[[Category : Windows]]

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