tried to solve this issue by 2 methods
method 1:
i put in my manifest file the below code
i tried to make the registry has full control for users so i can write into registry regardless of user type using this code
string user = Environment.UserDomainName + "\\" + Environment.UserName; RegistrySecurity rs = new RegistrySecurity(); // Allow the current user to read and delete the key. // rs.AddAccessRule(new RegistryAccessRule(user, RegistryRights.ReadKey | RegistryRights.WriteKey | RegistryRights.Delete, InheritanceFlags.None, PropagationFlags.None, AccessControlType.Allow));
it solve the error in many computers but there are many other computer has the same error.
i want to solve this error but i can not make it in all versions of windows.
please advice as soon as possible
Anuradha SadhPosted May 3, 2016, 7:41 AM