Las carpetas en OneDrive ahora se sincronizarán automáticamente durante una nueva instalación sin que tengas que confirmarlo.
En la UE nos salvamos de esto porque tenemos la opción de instalar.
Desinstale OneDrive o elimínelo del Explorador de archivos de Windows 11 si no lo utiliza.
Nota.:
Como no deja adjuntar archivos *.cmd
Editar en notepad el texto siguiente y guardarlo como "Eliminar OneDrive.cmd"
Código:
set x86="%ProgramFiles(x86)%\Microsoft OneDrive\OneDriveSetup.exe" set x64="%ProgramFiles%\Microsoft OneDrive\OneDriveSetup.exe" echo Closing OneDrive process. echo taskkill /f /im OneDrive.exe > NUL 2>&1 ping 127.0.0.1 -n 5 > NUL 2>&1 echo Uninstalling OneDrive... echo if exist %x64% ( %x64% /uninstall ) else ( %x86% /uninstall ) ping 127.0.0.1 -n 5 > NUL 2>&1 echo Removing OneDrive leftovers... echo rd "%USERPROFILE%\OneDrive" /Q /S rd "%systemroot%/Users/%username%/OneDrive" /Q /S rd "C:\OneDriveTemp" /Q /S rd "%LOCALAPPDATA%\Microsoft\OneDrive" /Q /S rd "%PROGRAMDATA%\Microsoft OneDrive" /Q /S TASKKILL.exe /F /IM OneDrive.exe /T reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\OneDrive" /v "DisableFileSyncNGSC" /t REG_DWORD /d 1 /f reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\OneDrive" /v "DisableLibrariesDefaultSaveToOneDrive" /t REG_DWORD /d 1 /f reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\OneDrive" /v "DisableMeteredNetworkFileSync" /t REG_DWORD /d 1 /f reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Policies\Microsoft\Windows\Onedrive" /v "DisableFileSyncNGSC" /t REG_DWORD /d 1 /f reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Policies\Microsoft\Windows\Onedrive" /v "DisableLibrariesDefaultSaveToOneDrive" /t REG_DWORD /d 1 /f reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Policies\Microsoft\Windows\Onedrive" /v "DisableMeteredNetworkFileSync" /t REG_DWORD /d 1 /f reg add "HKEY_CLASSES_ROOT\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}" /v "System.IsPinnedToNameSpaceTree" /t REG_DWORD /d 0 /f reg add "HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}" /v "System.IsPinnedToNameSpaceTree" /t REG_DWORD /d 0 /f reg add "HKEY_CURRENT_USER\Software\Classes\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}" /v "System.IsPinnedToNameSpaceTree" /t REG_DWORD /d 0 /f reg add "HKEY_CURRENT_USER\Software\Classes\Wow6432Node\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}" /v "System.IsPinnedToNameSpaceTree" /t REG_DWORD /d 0 /f reg delete "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" /v "OneDrive" /f takeown /F %Windir%\SysWOW64\OneDriveSetup.exe icacls %Windir%\SysWOW64\OneDriveSetup.exe /grant Administradores:F del %Windir%\SysWOW64\OneDriveSetup.exe del %Windir%\SysWOW64\OneDrive.ico takeown /F %Windir%\SysWOW64\OneDriveSettingSyncProvider.dll icacls %Windir%\SysWOW64\OneDriveSettingSyncProvider.dll /grant Administradores:F del %Windir%\SysWOW64\OneDriveSettingSyncProvider.dll Del %AppData%\Microsoft\Windows\Start Menu\Programs\OneDrive.lnk echo Removing OneDrive from the Explorer Side Panel... echo 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 reg load "hku\Default" "C:\Users\Default\NTUSER.DAT" reg delete HKU\default\software\Microsoft\Windows\CurrentVersion\Run /v OneDriveSetup /f reg delete HKU\S-1-5-19\software\Microsoft\Windows\CurrentVersion\Run /v OneDriveSetup /f reg delete HKU\S-1-5-20\software\Microsoft\Windows\CurrentVersion\Run /v OneDriveSetup /f reg delete HKCU\Microsoft\Windows\CurrentVersion\Explorer\StartupApproved\Run /v OneDriveSetup /f reg unload "hku\Default" echo OneDrive Business echo REG DELETE "HKEY_CLASSES_ROOT\CLSID\{04271989-C4D2-416C-6D07-E541FEB34866}\ShellFolder" /f > NUL 2>&1 REG DELETE "HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{04271989-C4D2-416C-6D07-E541FEB34866}" /f > NUL 2>&1 pause
Comentario