Your reg created a second reference (doubled) in the context menu, i need to find the non working one,
plus, your version doesn't work either but i don't get an error (an empty dos window quickly appears & disappears..
when i used to take ownership on folders, it would do it for all folders & sub folders & files. nothing happens
with your reg.
C:\Program Files\AVAST Software < leftovers