Windows 10: Uninstall OneDrive.

Discus and support Uninstall OneDrive. in Windows 10 Software and Apps to solve the problem; I performed a Test Install a few days ago to get ready for a Clean Install in a couple of days, BUT, I must admit that I was lazy, and in order to... Discussion in 'Windows 10 Software and Apps' started by Paul Black, May 4, 2021.

  1. Uninstall OneDrive.


    I performed a Test Install a few days ago to get ready for a Clean Install in a couple of days, BUT, I must admit that I was lazy, and in order to Uninstall OneDrive, I only ran . . . Code: taskkill /f /im OneDrive.exe C:\Windows\SysWOW64\OneDriveSetup.exe /uninstall -ErrorAction SilentlyContinue Bearing that in mind, I have put the following Batch Script together [ with info where needed ] ready to use on my actual Clean Install. Unfortunately, I can NOT test it. Maybe someone could look at it please and tell me if I have excluded anything important, or included anything that is NOT required. Code: @Echo off setlocal EnableDelayedExpansion set "params=%*" cd /d "%~dp0" && ( if exist "%Temp%\getadmin.vbs" del "%Temp%\getadmin.vbs") && fsutil dirty query %systemdrive% 1>nul 2>nul || ( echo Set UAC = CreateObject^("Shell.Application"^) : UAC.ShellExecute "cmd.exe", "/k cd ""%~sdp0"" && %~s0 %params%", "", "runas", 1 >> "%Temp%\getadmin.vbs" && "%Temp%\getadmin.vbs" && Exit /b) %windir%\system32\reg.exe query "HKU\S-1-5-19" 1>nul 2>nul || ( echo. & echo ERROR: This Batch file MUST be run in an ELEVATED cmd prompt [ Administrator ] & echo. & echo Right-click the Batch file and click ^<Run as Administrator^>. & echo. & echo ^>Press ANY key to EXIT . . . & pause >nul & Exit ) set x86="%SystemRoot%\System32\OneDriveSetup.exe" set x64="%SystemRoot%\SysWOW64\OneDriveSetup.exe" echo. & echo Processing [ Uninstalling OneDrive ] . . . taskkill /f /im OneDrive.exe >nul 2>&1 ping 127.0.0.1 -n 5 >nul 2>&1 if exist %x64% ( %x64% /uninstall ) else ( %x86% /uninstall ) ping 127.0.0.1 -n 8 >nul 2>&1 :: >>> Uninstall OneDrive <<< rmdir "%UserProfile%\OneDrive" /q /s >nul 2>&1 rmdir "C:\OneDriveTemp" /q /s >nul 2>&1 rmdir "%LocalAppData%\Microsoft\OneDrive" /q /s >nul 2>&1 rmdir "%ProgramData%\Microsoft OneDrive" /q /s >nul 2>&1 :: >>> Remove OneDrive from Win Explorer [ Left-Hand Side Panel ] <<< :: This belongs to OneDrive reg delete "HKEY_CLASSES_ROOT\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}" /f >nul 2>&1 reg delete "HKEY_CURRENT_USER\Software\Classes\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}\ShellFolder" /f >nul 2>&1 :: This belongs to Win 10 reg delete "HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}" /f >nul 2>&1 reg delete "HKEY_CURRENT_USER\Software\Classes\Wow6432Node\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}\ShellFolder" /f >nul 2>&1 echo Processing Complete. echo. & echo ^>Press ANY key to EXIT . . . & pause >nul & Exit [1] I am pretty sure that this will survive a Reboot, but obviously I can NOT test it. [2] This should also remove OneDrive from the right-click File Explorer dropdown menu on This PC for example. Thanks in advance.

    :)
     
    Paul Black, May 4, 2021
    #1

  2. Windows 10 - OneDrive

    Right click on the app and one of the properties has an option to not automatically start it. Uncheck, restart the computer, and it should stop. If you want to go another step further, find the OneDrive app in the start menu, right click on it and uninstall.

    If that is still insufficient, there is a batch uninstaller for OneDrive available online. I can copy the code here if you need it.
     
    FordGT90Concept, May 4, 2021
    #2
  3. eve wang Win User
    Unable to uninstall Onedrive For Business

    OneDrive can be uninstalled from some versions of Windows 10:

    1. Select the Start button, type Programs in the search box, and then select Add or remove programs in the list of results.
    2. Under Apps & features, find and select Microsoft OneDrive, and then select Uninstall.

    As OneDrive is built in to some versions of Windows and can't be uninstalled. As a workaround, you can hide it. Reference “Turn off or uninstall OneDrive” for detail steps:
    Turn off, disable, or uninstall OneDrive
     
    eve wang, May 4, 2021
    #3
  4. Uninstall OneDrive.

    How do you uninstall chipset drivers?

    I'm installing a new mobo so I need to uninstall the intel 865g drivers to make way for the P35 drivers.

    Can't find any uninstall options in add/remove programs and intel chipset inst listed in driver cleaner.

    Any suggestions? *Confused Uninstall OneDrive. :confused:
     
    oli_ramsay, May 4, 2021
    #4
Thema:

Uninstall OneDrive.

Loading...
  1. Uninstall OneDrive. - Similar Threads - Uninstall OneDrive

  2. Desktop acts as OneDrive desktop as opposed to local, OneDrive already uninstalled

    in Windows 10 Gaming
    Desktop acts as OneDrive desktop as opposed to local, OneDrive already uninstalled: I'm frankly going insane. I want nothing to do with OneDrive anymore, and if I am to use it before I remove any and all files I do still have on my OneDrive, I don't want it installed on my computer.I have 1 TB of storage total on my OneDrive account. I previously used it for...
  3. Desktop acts as OneDrive desktop as opposed to local, OneDrive already uninstalled

    in Windows 10 Software and Apps
    Desktop acts as OneDrive desktop as opposed to local, OneDrive already uninstalled: I'm frankly going insane. I want nothing to do with OneDrive anymore, and if I am to use it before I remove any and all files I do still have on my OneDrive, I don't want it installed on my computer.I have 1 TB of storage total on my OneDrive account. I previously used it for...
  4. HELP! ONEDRIVE uninstalled, OneDrive path returns to Windows %userprofile% Folder...

    in Windows 10 Gaming
    HELP! ONEDRIVE uninstalled, OneDrive path returns to Windows %userprofile% Folder...: TitlePROGRAMS STILL SAVING IN ONEDRIVE! ONEDRIVE uninstalled, windows still uses OneDrive path to save Folder Directory. Programs like Snipping Tool, Screenshots, Audio Design Plugins and other programs recreating ONEDRIVE Folders that cannot be RESET TO DEFAULT without...
  5. HELP! ONEDRIVE uninstalled, OneDrive path returns to Windows %userprofile% Folder...

    in Windows 10 Software and Apps
    HELP! ONEDRIVE uninstalled, OneDrive path returns to Windows %userprofile% Folder...: TitlePROGRAMS STILL SAVING IN ONEDRIVE! ONEDRIVE uninstalled, windows still uses OneDrive path to save Folder Directory. Programs like Snipping Tool, Screenshots, Audio Design Plugins and other programs recreating ONEDRIVE Folders that cannot be RESET TO DEFAULT without...
  6. I want to uninstall onedrive because it's making it impossible to go through files

    in Windows 10 Gaming
    I want to uninstall onedrive because it's making it impossible to go through files: I recently got a new laptop and thought onedrive would be helpful, it was not. It's putting red x's on my folders and making certain folders unable to load. Images don't load unless I click on them. I want to uninstall onedrive but when I click the cloud icon nothing happens....
  7. I want to uninstall onedrive because it's making it impossible to go through files

    in Windows 10 Software and Apps
    I want to uninstall onedrive because it's making it impossible to go through files: I recently got a new laptop and thought onedrive would be helpful, it was not. It's putting red x's on my folders and making certain folders unable to load. Images don't load unless I click on them. I want to uninstall onedrive but when I click the cloud icon nothing happens....
  8. OneDrive Uninstallation Messed Up My Basic Windows System - Help To Restore

    in Windows 10 Gaming
    OneDrive Uninstallation Messed Up My Basic Windows System - Help To Restore: I recently uninstalled Onedrive after experiencing a whole lot of conflict from 3rd party applications. Not the issue.On installation, I was left with a OneDrive folder in my Users/{username} folder. In there had everything I had stored in my OneDrive.I managed to move all my...
  9. OneDrive Uninstallation Messed Up My Basic Windows System - Help To Restore

    in Windows 10 Software and Apps
    OneDrive Uninstallation Messed Up My Basic Windows System - Help To Restore: I recently uninstalled Onedrive after experiencing a whole lot of conflict from 3rd party applications. Not the issue.On installation, I was left with a OneDrive folder in my Users/{username} folder. In there had everything I had stored in my OneDrive.I managed to move all my...
  10. I uninstalled OneDrive from my Windows 11 PC but Registry Entries still point to OneDrive...

    in Windows 10 Gaming
    I uninstalled OneDrive from my Windows 11 PC but Registry Entries still point to OneDrive...: I don't want One Drive so I uninstalled it. However, %APPDATA% still points to OneDrive, which is breaking my program code. Looks like the problem is with %USERPROFILE%? Where is that defined?Looking at the registry HKEY_CURRENT_USER, apparently a number of User Shell Folders...