If you follow this link you will find the code i have to change the permissions of a registry key.
http://www.vbforums.com/showthread.php?t=452607

I would like to know how to put it through a loop for every user. I have a code to get a list of usernames in to a list box. I just need to know how to loop it.

Thanks in advance Chris1990