Who knows what are you trying to do? But chances are, you are right about permissions.
Fist of all, try to run your program using elevated privileges. Just to log in as administrator is not enough, and not even required. You should explicitly run the application as an administrator. Here are the options you can use:
http://www.sevenforums.com/tutorials/11841-run-administrator.html[
^].
—SA