Hacker News new | ask | show | jobs
by miles 1137 days ago
> Wish there was some way to outright disable Undo Copy

The article explains how to:

"Is there a way to prevent this?

Yes. Just disable this silly feature using the Windows Registry.

Create a DWORD entry named MaxUndoItems with a value of 0 under:

HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced

Alternatively you can run this equivalent command:

reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v MaxUndoItems /d 0 /t REG_DWORD /f

Log off or restart and the context menu option will be gone. The associated shortcut (Ctrl-Z) will be disabled too (note that this only applies to Explorer, Ctrl-Z will still work in other programs)."