ok well no wi think i know how the icon got there, but how do i get to NOT be there?

and i know there is a tweak that collapses the tree each time regedit is reopened because i have had it before but i cant find it since i reformatted