Desinstalar completamente OneDrive de Windows 10

Thursday, 22 June 2017

Copiar el siguiente script a un fichero (p.e "UnsinstallOneDrive.cmd") y ejecutar como administrador.

@echo off

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

:: Eliminar directorios de OneDrive
rd "%UserProfile%\OneDrive" /Q /S
rd "%LocalAppData%\Microsoft\OneDrive" /Q /S
rd "%ProgramData%\Microsoft OneDrive" /Q /S
rd "C:\OneDriveTemp" /Q /S

:: Eliminar OneDrive del sidebar del Explorer
REG Delete "HKEY_CLASSES_ROOT\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}" /f
REG Delete "HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}" /f

cls
echo Terminado
pause

Coment

Anonymous Anonymous Tuesday, 11 December 15:34