The Computer Oracle

How do I remove the "Undo" option from Windows' right-click context menu?

--------------------------------------------------
Hire the world's top talent on demand or became one of them at Toptal: https://topt.al/25cXVn
and get $2,000 discount on your first invoice
--------------------------------------------------

Music by Eric Matyas
https://www.soundimage.org
Track title: Techno Bleepage Open

--

Chapters
00:00 How Do I Remove The &Quot;Undo&Quot; Option From Windows' Right-Click Context Menu?
00:22 Accepted Answer Score 9
01:46 Answer 2 Score 0
02:25 Answer 3 Score 0
02:46 Thank you

--

Full question
https://superuser.com/questions/397795/h...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#windows7 #windowsregistry #contextmenu #rightclick

#avk47



ACCEPTED ANSWER

Score 9


Here is a hack which might do what you ask for, but is somewhat risky.
I have not tested it, for obvious reasons, but it might work.

  1. Download and install Resource Hacker
  2. Go to C:\Windows\en-US and take ownership of (if required) and then copy the explorer.exe.mui to somewhere safe. If you are running a 64-bit system you should also modify the explorer.exe.mui which is located in C:\Windows\SysWOW64\en-US. To find all the copies: Go to Start Menu and do an extended search for explorer.exe.mui. You will need to repeat the procedure for each of them. If you have no success with saving the files you will also need to take ownership of the containing folder.
  3. Open your explorer.exe.mui(s) in Resource Hacker and navigate to Menu / 205 / 1033 : image
  4. Select and delete the Undo line
  5. Press Compile Script and save
  6. Go to your original folder(s) again and rename your original explorer.exe.mui file(s) (explorer0ld.exe.mui?) then copy and paste your modified explorer.exe.mui file(s) into place.
  7. Go to Start Menu / Run and execute mcbuilder.
  8. Once the window closes, restart your computer.

I take no responsibility for the result of the above or their effects. I suggest taking good backups first and creating a system restore point, just in case.




ANSWER 2

Score 0


I don't know how to remove that previous actions like undo move/ undo delete/ paste etc. But I can tell you how to prevent it from adding it to the menu option.

Once you are done with moving/cutting/copying any file/folder and you paste it to another location, the action is recorded but to remove it, just move/cut/copy that file/folder in the current folder (where you just moved your file recently) again, and a dialogue box appears, just click skip and you will see, that annoying options are disappeared.




ANSWER 3

Score 0


Here is the answer I found that removes "Undo Copy", "Undo Rename" & "Undo Move" from the Context Menu (src) -

 

remove_undo_items.reg:

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
"MaxUndoItems"=dword:00000000

 

Should work immediately as tested with Win11 v23H2