Also you can watch the video.
https://www.youtube.com/watch?v=8S7s-p_enSY
- Press
Win+Skeys, and searchregeditthen openRegedit (Registry Editor).
# Go to path of HKEY_CLASSES_ROOT\Directory\Background\shell
# Remove AnyCode key.
# Go to path of HKEY_CLASSES_ROOT\Directory\shell\
# Remove AnyCode key.
It currently deleted from the context menu.
You could also run batch commands to script this (especially if you frequently setup new machines):
This renames the key to AnyCode_Disabled in case you need it back. If you don't want that, then just use the delete commands.
You have to run these commands in an Admin shell.