It looks like we check permissions but I am unsure how we can set permissions on a given registry key. I need ASPNET or NETWORK SERVICE to have access to a particular key but can not find a way to set it. This is not an occation to overwrite the keys as they can be different underneath. Any suggestions on how to get this done?
When you package up a registry key into a BLPackage you have the option to collect the ACL attributes. I believe once you do this you have full edit capabilities over those ACLs in the BLPackage. So, you could set the ACLs to whatever you wanted, and then deploy that back to your servers.
Is that what you're trying to do?