I'm developing an application using .Net Framework 2.0...
In my application, I require to create a file to in C:\Windows folder and need to store some settings in registry (Read/Write Registry Both Operations)
I'm an administrator user but still I don't have rights to create folder from the application. Application throws "Access Denied" exception while creating a file/write data in registry. I only have rights to read file/read registry data.
My application works perfectly when I run that application as an administrator.
But every time end user can't run my application as an administrator.
So my problem is :
Is there a problem with windows 7 or .net framework has feature to bypass this security check and allow my application to create file/write data to registry.
I surf an internet a lot... but I didn't get proper solution...
This my permission dialog of HKEY_LOCALMACHINE Folder
You can see administrator has full permission..But I don't have...
View Complete Post