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. How to uninstall OneDrive and close 2 user accounts

    in Windows 10 Software and Apps
    How to uninstall OneDrive and close 2 user accounts: When I installed Windows 10 I created the user account Kenneth Cavanaugh. Administrator. For some reason now there are two users in C:/Users; one of them appears in Advanced User Profiles. Kenneth Cavanaugh, Administrator still appears in Control Panel / Users. I would like...
  3. How to restore default location of Documents folder, after uninstalling OneDrive?

    in Windows 10 Network and Sharing
    How to restore default location of Documents folder, after uninstalling OneDrive?: After uninstalling OneDrive, Windows refuses to let me restore the user Documents folder back to the original location.I am doing so by clicking on the "Restore Default" button from the Properties menu, on the This PC > Documents folder:First, it tells me the folder does not...
  4. New Documents still saving to a OneDrive folder even after uninstalling OneDrive

    in Windows 10 Gaming
    New Documents still saving to a OneDrive folder even after uninstalling OneDrive: I have kind of an odd problem. The newest update 20H2 reinstalled OneDrive to my computer, and I then proceeded to uninstall it, then realized that my documents still saved under the folder C:\Users\camer\OneDrive. I did a registry fix, and successfully changed the location...
  5. Task scheduler and Onedrive (uninstalled) question.

    in Windows 10 Ask Insider
    Task scheduler and Onedrive (uninstalled) question.: [ATTACH] scheduler Is it normal to still have a schedule for it even if it's not installed anymore? submitted by /u/wiseude [link] [comments] https://www.reddit.com/r/Windows10/comments/lpl8o3/task_scheduler_and_onedrive_uninstalled_question/
  6. OneDrive uninstalled but still syncing with files

    in Windows 10 Software and Apps
    OneDrive uninstalled but still syncing with files: i deleted one drive last week but my pictures and documents are still running on OneDrive idk what to do https://answers.microsoft.com/en-us/windows/forum/all/onedrive-uninstalled-but-still-syncing-with-files/87135908-0f6e-4ef3-b51c-842d841d52d9
  7. Files, App Can't stay on desktop even though uninstalled OneDrive & Disconnect it from PC

    in Windows 10 BSOD Crashes and Debugging
    Files, App Can't stay on desktop even though uninstalled OneDrive & Disconnect it from PC: Everything worked fine until I made the CHANGE OF OWNERSHIP. When I turned the computer on, I could use LOCAL administrator account to sign in to the desktop. However, all the apps and programs i installed before are not shown on the desktop. For some reason, after the...
  8. Uninstalled OneDrive on Windows 10 before unlinking PC

    in Windows 10 Installation and Upgrade
    Uninstalled OneDrive on Windows 10 before unlinking PC: Microsoft Support tells me to reinstall OneDrive, but when I do it ends up being the OneDrive PWA version looks like a folder with a blue cloud on the task bar and the correct version which looks like a blue cloud on the taskbar. Right clicking does NOT allow access to Help...
  9. How do I uninstall Edge/OneDrive/Skype?

    in Windows 10 Ask Insider
    How do I uninstall Edge/OneDrive/Skype?: I have searched around, but all the supposed "solutions" I've found don't work. I have never used Microsoft Edge, and have no intention to, but it still runs in the background on my system all the time. Most of the time it has many copies of itself running in the...
  10. OneDrive Uninstall

    in Windows 10 Customization
    OneDrive Uninstall: I have tried to completely uninstall and remove OneDrive from my computer using Uninstall in Windows, Revo Uninstaller, Unlink in OneDrive account, edit Registry keys, and it appears that OneDrive is successfully removed. The one remaining issue is in my File Explorer with...