Remove 'Move to OneDrive ' from legacy context menu.


4k3or3et

Well-known member
Local time
3:22 PM
Posts
12
OS
Windows 11
Hi All,

I am trying to figure out how to remove "Move to OneDrive" from legacy context menu:

1633795106805.png

The old trick:

Code:
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Blocked]
"{CB3D0F55-BC2C-4C1A-85ED-23ED75B5106B}"="OneDrive"

does not work anymore.


Any clues guys how to get rid of that on Windows 11?'

Thanks.
 

My Computer My Computer

At a glance

Windows 11
OS
Windows 11
If you do not use onedrive disable it in group policy; you can always use the onedrive app and it does not have the move to onedrive

 

My Computer My Computer

At a glance

Windows 11 Pro 64-bitIntel Core i9-14900KF64 GB4083MB NVIDIA GeForce RTX 4090
OS
Windows 11 Pro 64-bit
Computer type
PC/Desktop
Manufacturer/Model
Alienware Aurora R16
CPU
Intel Core i9-14900KF
Motherboard
Alienware 0RF96M (U3E1)
Memory
64 GB
Graphics Card(s)
4083MB NVIDIA GeForce RTX 4090
Monitor(s) Displays
ROG XG43UQ 43 inch monitor
Screen Resolution
(3840x2160@120Hz)
Hard Drives
Samsung SSD 870 EVO 2TB
NVMe Samsung 2048GB
If you do not use onedrive disable it in group policy; you can always use the onedrive app and it does not have the move to onedrive

I use OneDrive and I want to keep using desktop version. All i want to achieve here is to get rid of mentions context menu option.

Anyone has a clue how do that?
 

My Computer My Computer

At a glance

Windows 11
OS
Windows 11
Hi,
Nope not yet @Brink
I was wondering about removing the onedrive folder in explorer just forgot about it :oops:
 

My Computer My Computer

At a glance

Win-7-10-11Pro's10900k & 9940x & 5930kTrident-Z Royal 4000c16 2x16gb & Trident-Z 36...Titan Xp & 1080ti FTW3 & evga 980ti gaming
OS
Win-7-10-11Pro's
Computer type
PC/Desktop
Manufacturer/Model
Acer 17" Nitro 7840sn/ 2x16gb 5600c40/ 4060/ stock 1tb-os/ 4tb sn850x
CPU
10900k & 9940x & 5930k
Motherboard
z490-Apex & x299-Apex & x99-Sabertooth
Memory
Trident-Z Royal 4000c16 2x16gb & Trident-Z 3600c16 4x8gb & 3200c14 4x8gb
Graphics Card(s)
Titan Xp & 1080ti FTW3 & evga 980ti gaming
Sound Card
Onboard Realtek x3
Monitor(s) Displays
1-AOC G2460PG 24"G-Sync 144Hz/ 2nd 1-ASUS VG248QE 24"/ 3rd LG 43" series
Screen Resolution
1920-1080 not sure what the t.v is besides 43" class scales from 1920-1080 perfectly
Hard Drives
2-WD-sn850x 4tb/ 970evo+500gb/ 980 pro 2tb.
PSU
1000p2 & 1200p2 & 850p2
Case
D450 x2 & 1 Test bench in cherry Entertainment center
Cooling
Custom water loops x3 with 2x mora 360mm rads only 980ti gaming air cooled
Keyboard
G710+x3
Mouse
Redragon x3
Internet Speed
xfinity gigabyte
Browser
Firefox
Antivirus
mbam pro
found the solution. if you have ccleaner you can open tools and then uninstall, scroll down and you'll find onedrive without thumbnail, uninstall it then all onedrive context menu is gone. but after a reboot the'll be back. hope someone have time to make this permanent.
 

My Computer My Computer

At a glance

win 11
OS
win 11
I have disabled onedrive and uninstalled it. However I use the Onedrive app. I have found it to be less annoying. Oh yes the move to onedrive is gone this wya
 

My Computer My Computer

At a glance

Windows 11 Pro 64-bitIntel Core i9-14900KF64 GB4083MB NVIDIA GeForce RTX 4090
OS
Windows 11 Pro 64-bit
Computer type
PC/Desktop
Manufacturer/Model
Alienware Aurora R16
CPU
Intel Core i9-14900KF
Motherboard
Alienware 0RF96M (U3E1)
Memory
64 GB
Graphics Card(s)
4083MB NVIDIA GeForce RTX 4090
Monitor(s) Displays
ROG XG43UQ 43 inch monitor
Screen Resolution
(3840x2160@120Hz)
Hard Drives
Samsung SSD 870 EVO 2TB
NVMe Samsung 2048GB
Prefer using group policy over registry treaks. It is much easier to reverse and no risk to registry corruption
 

My Computer My Computer

At a glance

Windows 11 Pro 64-bitIntel Core i9-14900KF64 GB4083MB NVIDIA GeForce RTX 4090
OS
Windows 11 Pro 64-bit
Computer type
PC/Desktop
Manufacturer/Model
Alienware Aurora R16
CPU
Intel Core i9-14900KF
Motherboard
Alienware 0RF96M (U3E1)
Memory
64 GB
Graphics Card(s)
4083MB NVIDIA GeForce RTX 4090
Monitor(s) Displays
ROG XG43UQ 43 inch monitor
Screen Resolution
(3840x2160@120Hz)
Hard Drives
Samsung SSD 870 EVO 2TB
NVMe Samsung 2048GB
check this out...
The attached file no longer works. Does anyone know a more recent method to remove OneDrive from the contextual menu?
 

My Computer My Computer

At a glance

Windows 11i5-8265U12 GBNVIDIA GeForce MX150 2GB
OS
Windows 11
Computer type
Laptop
Manufacturer/Model
ASUS Vivobook S15
CPU
i5-8265U
Memory
12 GB
Graphics Card(s)
NVIDIA GeForce MX150 2GB
Antivirus
NOD32
run this
Powershell:
Remove-Item "Registry::HKEY_CLASSES_ROOT\PackagedCom\Package\Microsoft.OneDriveSync*" -Confirm:$false -Force -Recurse
in powershell as admin, to have it working after onedrive updates you should set acl on HKEY_CLASSES_ROOT\PackagedCom\Package\Microsoft.OneDriveSync key and change command to
Code:
Remove-Item "Registry::HKEY_CLASSES_ROOT\PackagedCom\Package\Microsoft.OneDriveSync*\*" -Confirm:$false -Force -Recurse
I did not look into how to change acl on registry, maybe someone else can add it
 

My Computer My Computer

At a glance

11
OS
11
It works perfectly, thank you very much!!!!!
 

My Computer My Computer

At a glance

Windows 11i5-8265U12 GBNVIDIA GeForce MX150 2GB
OS
Windows 11
Computer type
Laptop
Manufacturer/Model
ASUS Vivobook S15
CPU
i5-8265U
Memory
12 GB
Graphics Card(s)
NVIDIA GeForce MX150 2GB
Antivirus
NOD32
I have disabled onedrive and uninstalled it. However I use the Onedrive app. I have found it to be less annoying. Oh yes the move to onedrive is gone this wya
aside from getting rid of the context menu item, what else is removed/changed when you disable onedrive using GP? also.. you say you uninstalled it but you use the app.. idk what that means.. ive always used the same program, the one that ends up in your system tray and gives you the onedrive directory links in explorer.. is there some other onedrive app?
 

My Computer My Computer

At a glance

Windows 11 ProAMD Ryzen 9 5900XG.Skill TridentZ DDR4-3200MHz 64GB (4x16)EVGA RTX 3080 Ti FTW3 Ultra
OS
Windows 11 Pro
Computer type
PC/Desktop
CPU
AMD Ryzen 9 5900X
Motherboard
ROG Crosshair VIII Dark Hero
Memory
G.Skill TridentZ DDR4-3200MHz 64GB (4x16)
Graphics Card(s)
EVGA RTX 3080 Ti FTW3 Ultra
Sound Card
SupremeFX ALC1220
Monitor(s) Displays
Dell Alienware AW3418DW 3440x1440 (21:9)
Screen Resolution
1440P Ultrawide
Hard Drives
2TB Mushkin Pilot NVMe PCIe 3.0
8TB WD Black
8TB WD Black
PSU
be quiet! Dark Power Pro 12 1500W Digital
Case
Lian-Li O11-Dynamic XL (white/silver)
Cooling
EKWB Custom Loop (720mm Cooling Power), Corsair QL120 Fans (x9)
Keyboard
Logitech G513 Carbon (Red Switches)
Mouse
Logitech G503 Lightspeed, Logitech G Pro
Internet Speed
1 Gbps
Browser
MS Chromium Edge
Antivirus
MS Defender
Back
Top Bottom