Enable access to registry in WinForms application of C# .Net -


by default : registry has been disabled "registry editing has been disabled administrator" in application want let users access registry when app runs , deny when app stops. looking forward advice on this.

to allow users edit registry settings not accessible, need use impersonation. i.e. need have application run different user, 1 more priviledges.

the easiest way achieve write .net windows service runs higher priviledges. service can still control registry settings allowed change. users start winforms app communicates service actual changes in registry.

this require user (or operations) install service on machine admin rights.


Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

html - Instapaper-like algorithm -

c# - How to execute a particular part of code asynchronously in a class -