Remove 'Move to OneDrive ' from legacy context menu.


4k3or3et

New member
Local time
11:37 PM
Posts
11
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

System One

  • OS
    Windows 11

timbobit

Member
Local time
5:37 PM
Posts
42
OS
Windows 11 Pro 64-bit
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

System One

  • OS
    Windows 11 Pro 64-bit
    Computer type
    PC/Desktop
    Manufacturer/Model
    Alienware Aurora Ryzem Edition R10 Gaming
    CPU
    AMD Ryzen 9 5950X 16-Core Processor
    Motherboard
    Alienware Model 0TYR0X (AM4) Version
    Memory
    64 GB
    Graphics Card(s)
    NVIDIA GeForce RTX 3090
    Monitor(s) Displays
    ROG XG43UQ 43 inch monitor
    Screen Resolution
    (3840x2160@120Hz)
    Hard Drives
    NVMe SK hynix 1TB (SSD)
    AMD-RAID WDC WD10EZEX-75W SCSI Disk
    Antivirus
    ESET Internet Security

4k3or3et

New member
Thread Starter
Local time
11:37 PM
Posts
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

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

System One

  • OS
    Windows 11

ThrashZone

Minor Threat
Power User
VIP
Local time
4:37 PM
Posts
1,118
OS
Linux-Mint-Cinnamon-20.2 Win-7-10-11Pro's
Hi,
Nope not yet @Brink
I was wondering about removing the onedrive folder in explorer just forgot about it :oops:
 

My Computer

System One

  • OS
    Linux-Mint-Cinnamon-20.2 Win-7-10-11Pro's
    Computer type
    PC/Desktop
    Manufacturer/Model
    asus x3
    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
    To many to list
    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

alamoedy

New member
Local time
4:37 AM
Posts
2
OS
win 11
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

System One

  • OS
    win 11

timbobit

Member
Local time
5:37 PM
Posts
42
OS
Windows 11 Pro 64-bit
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

System One

  • OS
    Windows 11 Pro 64-bit
    Computer type
    PC/Desktop
    Manufacturer/Model
    Alienware Aurora Ryzem Edition R10 Gaming
    CPU
    AMD Ryzen 9 5950X 16-Core Processor
    Motherboard
    Alienware Model 0TYR0X (AM4) Version
    Memory
    64 GB
    Graphics Card(s)
    NVIDIA GeForce RTX 3090
    Monitor(s) Displays
    ROG XG43UQ 43 inch monitor
    Screen Resolution
    (3840x2160@120Hz)
    Hard Drives
    NVMe SK hynix 1TB (SSD)
    AMD-RAID WDC WD10EZEX-75W SCSI Disk
    Antivirus
    ESET Internet Security

timbobit

Member
Local time
5:37 PM
Posts
42
OS
Windows 11 Pro 64-bit
Prefer using group policy over registry treaks. It is much easier to reverse and no risk to registry corruption
 

My Computer

System One

  • OS
    Windows 11 Pro 64-bit
    Computer type
    PC/Desktop
    Manufacturer/Model
    Alienware Aurora Ryzem Edition R10 Gaming
    CPU
    AMD Ryzen 9 5950X 16-Core Processor
    Motherboard
    Alienware Model 0TYR0X (AM4) Version
    Memory
    64 GB
    Graphics Card(s)
    NVIDIA GeForce RTX 3090
    Monitor(s) Displays
    ROG XG43UQ 43 inch monitor
    Screen Resolution
    (3840x2160@120Hz)
    Hard Drives
    NVMe SK hynix 1TB (SSD)
    AMD-RAID WDC WD10EZEX-75W SCSI Disk
    Antivirus
    ESET Internet Security

boromyr

Member
Local time
11:37 PM
Posts
25
OS
Windows 11
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

System One

  • 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

vlad

Member
Local time
11:37 PM
Posts
1
OS
11
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

System One

  • OS
    11

boromyr

Member
Local time
11:37 PM
Posts
25
OS
Windows 11
It works perfectly, thank you very much!!!!!
 

My Computer

System One

  • 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
Top Bottom