Windows 10: Disable/Remove SkyDrive Solved

  1.    29 Jul 2015 #1

    Disable/Remove SkyDrive


    So I found this script:

    @echo off
    cls

    set x86="%SYSTEMROOT%\System32\OneDriveSetup.exe"
    set x64="%SYSTEMROOT%\SysWOW64\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 > NUL 2>&1
    rd "C:\OneDriveTemp" /Q /S > NUL 2>&1
    rd "%LOCALAPPDATA%\Microsoft\OneDrive" /Q /S > NUL 2>&1
    rd "%PROGRAMDATA%\Microsoft OneDrive" /Q /S > NUL 2>&1

    echo Removeing 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

    pause
    But that does not remove it from the shell. How can I remove it completely?
      My ComputerSystem Spec


  2. Posts : 21
    Windows 10 Pro (15063.138)
       29 Jul 2015 #2

    Disabling it through gpedit.msc worked for me.

    Go to:

    Code:
    Local Computer Policy\Computer Configuration\Administrative Templates\Windows Components
    It should be there, set: "Prevent the usage of OneDrive for file storage" to Enable.

    Exit and run "gpupdate /force"
      My ComputerSystem Spec

  3.    29 Jul 2015 #3

    Does "gpupdate /force" even need to be ran? It vanished instantly.

    Also, do you have a .reg that can do that for me?
      My ComputerSystem Spec


  4. Posts : 21
    Windows 10 Pro (15063.138)
       29 Jul 2015 #4

    SightUp said: View Post
    Does "gpupdate /force" even need to be ran? It vanished instantly.

    Also, do you have a .reg that can do that for me?
    Unfortunately no mate.

    I do most of my work through gpedit.msc, I rarely work with .regs or .bats anymore.
      My ComputerSystem Spec

  5.    29 Jul 2015 #5

    Does that remove it in addition to stopping the service/program from running too?
      My ComputerSystem Spec

  6.    30 Jul 2015 #6

    Bump!
      My ComputerSystem Spec


  7. Posts : 21
    Windows 10 Pro (15063.138)
       30 Jul 2015 #7

    SightUp said: View Post
    Does that remove it in addition to stopping the service/program from running too?
    Yup!.

    At least on my end it does.
      My ComputerSystem Spec


 

Related Threads
Disable UAC in AntiVirus, Firewalls and System Security
With the earlier builds, I had UAC disabled in the registry( just as I do for my host machine Windows 8.0 Pro) and everything worked fine. It was in your sister forum eightforums tutorial that I learned how to disable UAC in Windows 8. I also...
Take a look at this http://img.tapatalk.com/d/14/02/13/5y4aby4u.jpg
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 16:32.
Find Us