I\'m trying to grant Write access to my application\'s registry settings to everyone or all users of a machine during the install process.
My application does not
try this
new System.Security.Permissions.RegistryPermission(System.Security.Permissions.PermissionState.Unrestricted).Assert(); try { //Your code }catch { }finally { System.Security.Permissions.RegistryPermission.RevertAssert(); }