Removing Cut/Copy/Delete from contextual menu


  1. Posts : 4
    Windows 10 Home
       #1

    Removing Cut/Copy/Delete from contextual menu


    Basically title, I've come very close to deleting them but I'm stuck at (what I believe is) the last step.

    The file which contains the hard coded contextual menu items is located at C:\Windows\System32\en-US\shell32.dll.mui
    I've copied the file, and with resource hacker I deleted the relevant data.
    Removing Cut/Copy/Delete from contextual menu-0793672ef4042de27d02966365f55ca9.png


    Now comes the hard part. This original file is always in use, I cannot easily replace it.
    Removing Cut/Copy/Delete from contextual menu-595d38bba5af47d192c11ffaf7a990d2.png

    I've tried to replace it on system startup with a .bat file using task scheduling and it would not go through. Someone told me I should boot from another drive with a separate operating system and edit the system32 files that way. It seems like a logical answer, but that is not something I can afford to do at the moment. It was possible in the past to replace files in use but I don't think it is anymore.

    I don't know much about sysadmin so its very possible that I'm not as close as I think I am but I would be very grateful for any information on how I could finish this tweak!
      My Computer


  2. Posts : 9,789
    Mac OS Catalina
       #2

    The biggest question is why. Those three are more widely used than anything rlse.
      My Computer


  3. Posts : 4
    Windows 10 Home
    Thread Starter
       #3

    bro67 said:
    The biggest question is why. Those three are more widely used than anything rlse.
    Personally never use the contextual menu for them. Always used keyboard shortcuts
      My Computer


  4. Posts : 42,979
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #4

    Please have a look at this where Phrab apparently documents a way,

    Rearranging the context menu (right click)

    This question has been asked before- often worth searching tenforums and using it as a recource.
      My Computers


  5. Posts : 16,946
    Windows 10 Home x64 Version 22H2 Build 19045.4170
       #5

    If your modified file is your chosen solution then you can substitute it for the original whilst booted from another OS such as your Windows installation USB, Macrium boot disk or any other boot disk that allows you to get into a command prompt or FileExplorer-equivalent.

    Whilst booted from the other OS, do be careful to check the identity of disks using, for example, their disk labels.
    Their drive letters may not be their normal ones whilst that other OS is in charge [but will revert to normal when you boot back into Windows afterwards].

    In the Windows installation USB, you can access a command prompt by choosing Repair your PC [instead of Install now] then following the menus through to Troubleshooting, Advanced.
    You can then, if you wish, issue the command Notepad.exe to make use of Notepad's Open file dialog as a FileExplorer substitute so you don't need to use the command prompt itself for the substitution.
    See Use InstallUSB Notepad as a rudimentary File explorer to backup files [post #33] - TenForums


    All the best,
    Denis
      My Computer


  6. Posts : 4
    Windows 10 Home
    Thread Starter
       #6

    dalchina said:
    Please have a look at this where Phrab apparently documents a way,

    Rearranging the context menu (right click)

    This question has been asked before- often worth searching tenforums and using it as a recource.
    Thank youuuu. This is exactly what I needed! I'll be sure to use the search here instead. I was spending time using google and not finding anything.

    Removing Cut/Copy/Delete from contextual menu-untitled.png
    Isn't it beautiful

    I ran into the same problem Phrab had where the properties option was not working as intended. I was able to return its functionality though by adding it back like this:
    Removing Cut/Copy/Delete from contextual menu-untitled-1-.png

    As a side note for anyone who wants to do this, I found that I had to restart my system every time I went to replace the file. Make sure you have rights to the file, and folder if needed. If you get the error "Unable to remove the file to be replaced" in ReplaceThis, it means something is wrong and you probably have to check the rights and/or restart your system. Additionally I found the shell32.dll.mui file present in SysWOW64 but turns out that I did not have to edit this file at all for it to work.

    Thanks again to Dalchina, Phrab.
      My Computer


  7. Posts : 2,911
    Windows 10 Pro for the Bro
       #7

    sugihara said:
    Now comes the hard part. This original file is always in use, I cannot easily replace it.
    Removing Cut/Copy/Delete from contextual menu-595d38bba5af47d192c11ffaf7a990d2.png
    Have you tried this: LockHunter is a free 64/32 bit tool to delete files blocked by any processes
      My Computer


  8. Posts : 42,979
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #8

    Great- there are some members who make very useful contributions.

    As for replacing files- you can readily do that by booting to a command prompt, or by booting your PC from a live boot disk for example.

    Or there's this free utility:
    Download EMCO MoveOnBoot - MajorGeeks
      My Computers


 

  Related Discussions
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 04:16.
Find Us




Windows 10 Forums