How to get rid of this context menu entry for OneDrive Solved

Page 3 of 3 FirstFirst 123
  1.    #21

    @Brink

    Oops the permissions trick still shows the OneDrive context menu on folder right click. It is hidden for files but not folder right click. I even tried your method in your guide but setting the permissions to the Everyone group. There must be another entry for folders
      My ComputerSystem Spec

  2. Brink's Avatar
    Posts : 37,128
    64-bit Windows 10 Pro build 18860
       #22

    Ultra Male said: View Post
    @Brink

    Oops the permissions trick still shows the OneDrive context menu on folder right click. It is hidden for files but not folder right click. I even tried your method in your guide but setting the permissions to the Everyone group. There must be another entry for folders
    Yep, there were more registry entries hiding. I've updated the tutorial to include all the ones I could find.

    Add or Remove Move to OneDrive Context Menu in Windows 10 | Tutorials
      My ComputersSystem Spec

  3.    #23

    Brink said: View Post
    Yep, there were more registry entries hiding. I've updated the tutorial to include all the ones I could find.

    Add or Remove Move to OneDrive Context Menu in Windows 10 | Tutorials
    Perfect chief! Worked like charm!!
      My ComputerSystem Spec

  4. Brink's Avatar
    Posts : 37,128
    64-bit Windows 10 Pro build 18860
       #24



    You really got work at it now. LOL
      My ComputersSystem Spec

  5.    #25

    Disable 'Move to OneDrive' Context Menu

    That is the update reg file which removes the new entries you mentioned. I don't know how to make one to readd them again though but hey, I tried.
      My ComputerSystem Spec

  6. Brink's Avatar
    Posts : 37,128
    64-bit Windows 10 Pro build 18860
       #26

    Too bad that. reg file won't work though since you have to leave the registry key with the permission changes to keep it from being added back by OneDrive.

    The .reg file I have in Option 2 of the tutorial will add them back.
      My ComputersSystem Spec

  7.    #27

    Brink said: View Post
    Too bad that. reg file won't work though since you have to leave the registry key with the permission changes to keep it from being added back by OneDrive.

    The .reg file I have in Option 2 of the tutorial will add them back.
    Right, thank you. This was a challenging one.
      My ComputerSystem Spec

  8. Brink's Avatar
    Posts : 37,128
    64-bit Windows 10 Pro build 18860
       #28

    Yeah it was. OneDrive didn't want to give up without a fight.
      My ComputersSystem Spec

  9.    #29

    Brink said: View Post
    Yeah it was. OneDrive didn't want to give up without a fight.
    Finally got the script from MDL Forum but I need to test it:

    To "automate" the process you would need to have SetACL in windows directory...(and Nsudo to restore key in case)
    then would be something like this:

    OneDriveBlock.bat

    Code:
    @echo off%windir%\system32\whoami.exe /USER | find /i "S-1-5-18" 1>nul && (
    goto :START
    ) || (
    NSudoG -U:T -P:E "%~dpnx0"& exit /b >NUL 2>&1
    )
    :START
    SetACL -on "HKCR\*\shellex\ContextMenuHandlers\ FileSyncEx" -ot reg -actn setprot -op "dacl:p_nc" -actn clear -clr "dacl" -actn setowner -ownr "n:Everyone" >NUL 2>&1
    SetACL -on "HKCR\Directory\Background\shellex\ContextMenuHandlers\ FileSyncEx" -ot reg -actn setprot -op "dacl:p_nc" -actn clear -clr "dacl" -actn setowner -ownr "n:Everyone" >NUL 2>&1
    SetACL -on "HKCR\IE.AssocFile.URL\shellex\ContextMenuHandlers\ FileSyncEx" -ot reg -actn setprot -op "dacl:p_nc" -actn clear -clr "dacl" -actn setowner -ownr "n:Everyone" >NUL 2>&1
    SetACL -on "HKCR\lnkfile\shellex\ContextMenuHandlers\ FileSyncEx" -ot reg -actn setprot -op "dacl:p_nc" -actn clear -clr "dacl" -actn setowner -ownr "n:Everyone" >NUL 2>&1
    
    exit /b


    OneDriveRestore.bat

    Code:
    @echo off%windir%\system32\whoami.exe /USER | find /i "S-1-5-18" 1>nul && (
    goto :START
    ) || (
    NSudoG -U:T -P:E "%~dpnx0"& exit /b >NUL 2>&1
    )
    :START
    SetACL -on "HKCR\*\shellex\ContextMenuHandlers\ FileSyncEx" -ot reg -actn setprot -op "dacl:np" -actn clear -clr "dacl" -actn rstchldrn -rst "dacl" >NUL 2>&1
    SetACL -on "HKCR\Directory\Background\shellex\ContextMenuHandlers\ FileSyncEx" -ot reg -actn setprot -op "dacl:np" -actn clear -clr "dacl" -actn rstchldrn -rst "dacl" >NUL 2>&1
    SetACL -on "HKCR\IE.AssocFile.URL\shellex\ContextMenuHandlers\ FileSyncEx" -ot reg -actn setprot -op "dacl:np" -actn clear -clr "dacl" -actn rstchldrn -rst "dacl" >NUL 2>&1
    SetACL -on "HKCR\lnkfile\shellex\ContextMenuHandlers\ FileSyncEx" -ot reg -actn setprot -op "dacl:np" -actn clear -clr "dacl" -actn rstchldrn -rst "dacl" >NUL 2>&1
    
    exit /b

      My ComputerSystem Spec

  10. Brink's Avatar
    Posts : 37,128
    64-bit Windows 10 Pro build 18860
       #30

    Too bad you can't do it natively without 3rd party software.
      My ComputersSystem Spec


 
Page 3 of 3 FirstFirst 123

Related Threads
I just noticed a new context menu entry in the new W10 Update. It is visible when right-clicking image files. 206893 Is there some easy way to get rid of this? Perhaps some reg files, Brink? :D
Edit: I figured it out. All you needed to do was add: Powershell.exe -WindowStyle Hidden -Command "& {Start-Process powershell.exe -ArgumentList '-nologo -noexit -command ""& {set-location (split-path ''"""%1"""'' -parent) ; & ''"""%1"""''}""'...
I am a constant user of Textpad test editor, in every context, but their setup option to have "Open with Textpad" on every context menu is broken in Windows 10. Occasionally, I also use Notepad++, but it is not a substitute because of the...
Solved delete context menu entry in Customization
Hello every one,cannot delete specific entry 28621 have uninstalled,cleaned registry entries with RevoUninstaller and CCleaner,manually looked for all entries in Registry Editor,used Shellex and Shellview,nothing seems to handle it.Any hints?
Hello from Germany. Is it possible to create a new entry in the context menu in "new"? I often need an empty paint-pic. For example: 62745 Thank you.
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 09:33.
Find Us