Raphire / Win11Debloat

A simple, easy to use PowerShell script to remove pre-installed apps from Windows, disable telemetry, remove Bing from Windows search as well as perform various other changes to declutter and improve your Windows experience. This script works for both Windows 10 and Windows 11.
MIT License
14.27k stars 619 forks source link

Disable OneDrive's "Start back up" in File Explorer on Windows 11 #25

Closed mriot closed 9 months ago

mriot commented 10 months ago

This shows up on windows 11 in the file explorer path while browsing certain folders such as documents.

zJ8Kv

The responsible reg value is located here: Path: Computer\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\StorageProvider\OneDrive Name: StorageProviderKnownFolderSyncInfoSourceFactory

And once overwritten with any value, this "feature" is immediately disabled. However, after a reboot (if one drive starts) it will enable it again.

I followed the instructions of this answer and set a deny permission for "set value" on the key and this worked like a charm.

Would be a nice feature to add to your awesome tool!

Raphire commented 10 months ago

Heya,

This definitely seems like something I can look into adding. We'll have to see if this'll continue to work in the future though. Microsoft can be quite stubborn in their habit of force-enabling stuff like this to continue to push their product.

Raphire commented 9 months ago

After looking into this a bit more I have decided not to include this feature for now. Messing with permissions of keys in the registry can cause unintended consequences that I'd rather avoid with this script.

I am definitely open to revisit this if and when a better way is found or introduced to disable this element.