LLAKW wrote:
Thank you for the reply as well. We are doing this by command line, so would there be something I need to set on the command line to run as admin? Or would I need maybe to check the run as admin on the exe? And I'll update the original question with the declaration.
Thank you very much
Sure.
Note that being logged as administrator won't be enough, unless you are using obsolete Windows XP which did not have UAC.
To me, the simplest way would be to create a batch file with the command line(s) you are using for application start and run it from the shell (any file manager, for example, such as Explorer) using the context menu item "Run As Administrator". You can use if with the application itself, or, say with the whole file manager, so all the application started from this instance of file manager process will also be started "As Administrator". It will show the UAC confirmation dialog, so you need to confirm your agreement to start the application with elevated privileges. The UAC dialog cannot be bypassed, as it could be unsafe.
For more information, please see:
http://www.sevenforums.com/tutorials/11841-run-administrator.html.
See also:
http://en.wikipedia.org/wiki/User_Account_Control.
Sorry, this is only a part of the answer, answering only to the comment to the question. But this is something important you need to know before you proceed.
—SA