I don't think you ever need to create a file in this location, especially with Windows 7.
You cannot create permissions out of nothing in your code. If you need to know how to run a program with elevated privileged (just logging as administrator is not enough), you need to know this:
http://www.sevenforums.com/tutorials/11841-run-administrator.html[
^].
Please see my comment to the question. The problem here is this: if you don't know how to create file, I don't know what do you know. Well, there are
many ways, see
System.IO
,
http://msdn.microsoft.com/en-us/library/system.io.aspx[
^].
I also don't know how this is related to "app.config". Do you have a problem understanding how this thin works? — read this:
http://msdn.microsoft.com/en-us/library/1xtk877y.aspx[
^].
—SA