Erreur installation OneDrive : Une nouvelle version OneDrive est installée

Accueil Forums Le forum Windows Logiciels et programmes Erreur installation OneDrive : Une nouvelle version OneDrive est installée

Ce sujet a 4 réponses, 3 participants et a été mis à jour par  Yeaks12, il y a 2 mois et 2 semaines.

5 sujets de 1 à 5 (sur un total de 5)
  • Auteur
    Messages
  • #5266

    Eva
    Participant

    Bonjour,

     

    Je n’arrive pas à installer OneDrive sur mon ordinateur. Quand j’essaie de le faire j’ai un message qui me dit “Une nouvelle version OneDrive est installée”

    2019-05-07-07_46_17-Configuration-de-Microsoft-OneDrive.png

    Je précise que dans le panneau de configuration je ne vois pas le programme.

    Merci

    Publicité:

    #5267

    Leopal
    Participant

    Salut

    Essaie d’aller directement dans le registre Windows et de supprimer la clé OneDrive.

    C’est dans HKEY_CURRENT_USER\Software\Microsoft\OneDrive , une fois à ce niveau tu fais un clic droit sur OneDrive et tu fais “Supprimer”.

    Redis-moi

    #5270

    Yeaks12
    Participant

    Tu peux aussi si jamais créer un script nommé OneDrive.bat et tu copies-colle ce contenu dedans. Ensuite, tu l’exécutes en administrateur.

    @rem OneDrive Complete uninstaller batch process for Windows 10.
    @rem Run as administrator to completely delete all OneDrive components and files.
    @rem Written by TERRA Operative - 2016/08/31. V1.2
    @rem Feel free to distribute freely as long as you leave this entire file unchanged and intact,
    @rem and if you do make changes and adaptions, don't be a dick about attributing where due.
    @rem And most importantly, peace out and keep it real.
    
    @echo OFF
    
    @REM Set variables for coloured text
    SETLOCAL EnableDelayedExpansion
    for /F "tokens=1,2 delims=#" %%a in ('"prompt #$H#$E# & echo on & for %%b in (1) do     rem"') do (
      set "DEL=%%a"
    )
    
       echo ------Windows 10 OneDrive Uninstaller V1.2------
       echo.
       
    @rem This code block detects if the script is being running with admin privileges. If it isn't it pauses and then quits.
    NET SESSION >nul 2>&1
    IF %ERRORLEVEL% EQU 0 (
    
    
       echo        Administrator Privileges Detected!
       echo.
    ) ELSE (
    
       echo.
       call :colorEcho 0C "########### ERROR - ADMINISTRATOR PRIVILEGES REQUIRED #############"
       echo.
       call :colorEcho 0C "#                                                                 #"
       echo.
       call :colorEcho 0C "#"
       call :colorEcho 07 "    This script must be run as administrator to work properly."
       call :colorEcho 0C "    #"
       echo.
       call :colorEcho 0C "#"
       call :colorEcho 07 "    If you're seeing this after clicking on a start menu icon,"
       call :colorEcho 0C "   #"
       echo.
       call :colorEcho 0C "#"
       call :colorEcho 07 "  then right click on the file and select 'Run As Administrator'"
       call :colorEcho 0C " #"
       echo.
       call :colorEcho 0C "#                                                                 #"
       echo.
       call :colorEcho 0C "###################################################################"
       echo.
       echo.
    
       PAUSE
       EXIT /B 1
    )
    
       echo -----------------------------------------------
       call :colorEcho 0C "                    WARNING"
       echo.
       call :colorEcho 0C "  This script will completely and permanently"
       echo.
       call :colorEcho 0C "      remove OneDrive from your computer."
       echo.
       call :colorEcho 0C "        Make sure all OneDrive documents"   
       echo.
       call :colorEcho 0C "       that are stored locally are fully"
       echo.
       call :colorEcho 0C "          backed up before proceeding."   
       echo.
       echo -----------------------------------------------
       echo.
    
       SET /P M=  Press 'Y' to continue or any other key to exit. 
    	if %M% ==Y goto PROCESSKILL
    	if %M% ==y goto PROCESSKILL
    
       EXIT /B 1
    
    
    @rem The following is based on info from here written by 'LK':
    @rem https://techjourney.net/disable-or-uninstall-onedrive-completely-in-windows-10/
    
    
    @rem Terminate any OneDrive process
    :PROCESSKILL
       echo.
       echo Terminating OneDrive process.
       
    taskkill /f /im OneDrive.exe
    
    
    @rem Detect if OS is 32 or 64 bit
    reg Query "HKLM\Hardware\Description\System\CentralProcessor\0" | find /i "x86" > NUL && set OS=32BIT || set OS=64BIT
    
    if %OS%==32BIT GOTO 32BIT
    if %OS%==64BIT GOTO 64BIT
    
    
    @rem Uninstall OneDrive app
    :32BIT
       echo.
       echo This is a 32-bit operating system.
       echo Removing OneDrive setup files.
       
    %SystemRoot%\System32\OneDriveSetup.exe /uninstall
    GOTO CLEAN
    
    :64BIT
       echo.
       echo This is a 64-bit operating system.
       echo Removing OneDrive setup files.
       
    %SystemRoot%\SysWOW64\OneDriveSetup.exe /uninstall
    GOTO CLEAN
    
    
    @rem Clean and remove OneDrive remnants
    :CLEAN
       echo.
       echo Removing remaining OneDrive folders.
       
       rd "%UserProfile%\OneDrive" /Q /S
       rd "%LocalAppData%\Microsoft\OneDrive" /Q /S
       rd "%ProgramData%\Microsoft OneDrive" /Q /S
       rd "C:\OneDriveTemp" /Q /S
       
       echo.
       call :colorEcho 0C "If you see 'access denied' errors here, reboot and run this batch file again."
       echo.
    
    
    
    @rem Delete and remove OneDrive in file explorer folder tree registry key
       echo.
       echo Removing OneDrive registry keys.
       
       IF EXIST "HKEY_CLASSES_ROOT\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}" REG Delete "HKEY_CLASSES_ROOT\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}" /f
       IF EXIST "HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}" REG Delete "HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}" /f
       REG ADD "HKEY_CLASSES_ROOT\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}" /v System.IsPinnedToNameSpaceTree /d "0" /t REG_DWORD /f
       
       echo.
       echo OneDrive Uninstall and cleaning completed.
       echo.
    
       PAUSE
       echo So long and thanks for all the fish...
       PING -n 2 127.0.0.1>nul
       EXIT /B 1
    
       
    @rem Settings for text colour
    
    :colorEcho
    echo off
    <nul set /p ".=%DEL%" > "%~2"
    findstr /v /a:%1 /R "^$" "%~2" nul
    del "%~2" > nul 2>&1i
    OneDrive.bat

    #5271

    Eva
    Participant

    Salut à tous

    Merci.

    J’ai pas essayé le script, mais le fait de supprimer la clé de registre à suffit.

    Merci beaucoup ???

    #5272

    Yeaks12
    Participant

    J’ai testé le script si jamais chez moi et ça fonctionne.

5 sujets de 1 à 5 (sur un total de 5)

Vous devez être connecté pour répondre à ce sujet.