>Anyone know how to delete reg keys with subkeys present? I have some work to get rid of all franchise keys and I have to enumerate all sub keys killing them one at a time and I would much rather prune higher on the branch.
It varies according to OS; RegDelete() behaves differently under Win9x and WinNT derived OSes. Your best bet is to use the Wscript.Shell's RegDelete() method, or read the docs regarding the API calls implementing registry deletions.