I have an application which will be distributed via click once.
As you are probably aware this results in the application running in a sandbox to ensure security.

What I need to do is to run a script on every machine that will need the application after logging on as administrator which will give it full permissions.

I have never done this type of thing befor and was hoping for a bit of advice.