r/techsupport • • 2d ago

Open | Windows OneDrive installs again automatically when you delete it

What's going on with Windows 11? It is the third time in the year that I delete OneDrive and after certain months it automatically reinstalls it. Does anyone know if this problem has a solution? I haven't had any Windows update, it was just reinstalled for no reason

14 Upvotes

19 comments sorted by

•

u/AutoModerator 2d ago

Making changes to your system BIOS settings or disk setup can cause you to lose data. Always test your data backups before making changes to your PC.

For more information please see our FAQ thread: https://www.reddit.com/r/techsupport/comments/q2rns5/windows_11_faq_read_this_first/

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

12

u/msalah9190 2d ago • Bravo

Uninstalling alone doesn't stick, Windows can bring OneDrive back. To keep it gone:

  1. Unlink it first: OneDrive settings > Account > Unlink this PC, then uninstall it from Settings > Apps.
  2. Block it from coming back. In gpedit.msc go to Computer Configuration > Administrative Templates > Windows Components > OneDrive and enable "Prevent the usage of OneDrive for file storage". On Windows Home (no gpedit), create a DWORD named DisableFileSyncNGSC with value 1 under HKLM\SOFTWARE\Policies\Microsoft\Windows\OneDrive instead.

With that policy set, OneDrive won't start or sync even if Windows reinstalls the app.

1

u/Mangoneso_vhs 2d ago

Thank you very much for the useful answer

14

u/Pristine-Pangolin-61 2d ago

Im not at my pc right now, but i disabled that crap immediately and it never came back for me.

You need to disable it completely not just delete it, windows will reenable it after updates

3

u/Total-Schedule-4494 2d ago

did you disable it through group policy or just the task manager startup tab?

2

u/Pristine-Pangolin-61 2d ago

If i recall right i did this from the registry of windows.

Simply denying it to start wont do as some elements of it remain active

2

u/MrNightwood 2d ago

I know this isn't particularly useful advice for your current situation, but seeing as you've already been given an answer I'll throw it out there: the best way to go about it is to avoid letting OneDrive establish itself in the first place by setting up the PC with a local account. Microsoft does its best to make this difficult, but there are options, such as bypassNRO (hit or miss whether the script is still available in your version) or a Rufus disk, which allows you to select a local account setup. Windows 11 Pro also lets you set up a local account without any workarounds.

Once OneDrive digs in it can be a bit of a headache to root out, so I'd recommend looking into one of the above for any future machines you set up if you don't want to have to deal with it again.

1

u/Allen_Ludden 2d ago

just turn it off and ignore it.

1

u/Internal_Explorer591 2d ago

Yes, the 'default' necessary apps on W11 like Edge, Copilot and OneDrive have persistence settings deep within the system. If you don't meddle and fiddle deeply with the OS's registry (only the necessary things of course) you won't be able to get rid of them

1

u/simagus 2d ago

It's not really uninstallable, but you can disable it.

1

u/raju_msc 1d ago

Delete onedrive tasks in task scheduler... Also onedrive related applications from windows.

1

u/Merhart666 2d ago

Verwijderen dus wissen is onvoldoende. Bij instellingen moet je het ook uitschakelen. Anders komt het bij een update gewoon terug.

0

u/RealDoubleudee 2d ago

Same with copilot and some games. Just Microslop things.

-4

u/LemmysCodPiece 2d ago

I found not using Windows helps with this.

-1

u/CampingMonk 2d ago

You really thought Microsoft would let you just remove OneDrive?

lol