• callyral [he/they]@pawb.social
    link
    fedilink
    English
    arrow-up
    10
    ·
    edit-2
    7 months ago

    Does anyone know how to delete OneDrive (disable it and delete all the data in it) without deleting my Microsoft account? There’s random old pictures backed up there, I use my MS account for Minecraft and nothing else.

    I’ve tried but there’s no button for disabling it that I can find on the website?? All the instructions talk about some kind of OneDrive folder but I’m on Linux so of course I don’t have that.

    • Fungah@lemmy.world
      link
      fedilink
      English
      arrow-up
      7
      ·
      7 months ago

      Shit in a manilla envelope and mail it to Microsoft’s headquarters.

      It won’t help with your one drive issue but it’ll be hilarious and if enough people do it then it could become a real headache.

      • discusseded@programming.dev
        link
        fedilink
        English
        arrow-up
        2
        ·
        7 months ago

        While Microsoft deserves this, USPS workers don’t. Spend the money you would have getting a newer computer that can run Windows 11 to fly to their headquarters and take the dump at their doorstep. Bonus points for maintaining eye contact with the receptionist or security guard.

    • discusseded@programming.dev
      link
      fedilink
      English
      arrow-up
      2
      arrow-down
      1
      ·
      edit-2
      7 months ago

      Run a PowerShell session as admin and enter the following commands:

      Get-AppxProvisionedPackage -Online | Where-Object { $_.PackageName -match “OneDrive” } | Remove-AppxProvisionedPackage -Online -AllUsers

      Get-AppxPackage -AllUsers | Where-Object { $_.Name -match “OneDrive” } | Remove-AppxPackage -AllUsers

      Might be easier to do this in PowerShell ISE so you can edit these two commands. But this will first remove the installer package for OneDrive so that it can’t reinstall again, and then it removes the installed app from all profiles.

      I haven’t personally tested this, but I use PowerShell professionally and the commands are solid. If it didn’t work then it just means that Microsoft packaged OneDrive in a different manner than the other built-in apps. You can also remove other annoying apps that are pre-loaded this way. Just swap out “OneDrive” for the proper name or partial proper name of the appx app. Use Get-AppxPackage by itself to learn what the proper names are for the apps that are installed.