It is impossible to work around. You need to avoid doing this operation, or the user need to run this application as administrator. Note that logging with an account with administration privileges is not enough, you need to request running with elevated privileges. Please see:
http://www.sevenforums.com/tutorials/11841-run-administrator.html[
^].
Try it out before going forward.
If running with elevated privileges is acceptable for you, you probably want to make a step further and automatically request elevated privileges in the application manifest. Please see:
http://msdn.microsoft.com/en-us/library/bb756929.aspx[
^].
—SA