Click here to Skip to main content
15,886,199 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
i want to write registry key for all user using c# code.
Now i am in users not in administrator.
can any help me to sort this out.
i don't want to use app.manifest file.
Posted
Updated 13-May-14 0:16am
v3

1 solution

Don't.
You can pretty much only access the registry for writing in Admin mode - which means your app will need elevation, which invokes the UAE - and this will only get harder to do in future versions of the OS.
Instead, consider writing your own file: Where should I store my data?[^] should help.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900