Hi
Ok I need to run cluster.exe as administrator from a script which means basically that I need to go to a command prompt and be able to do, for example:
cluster localhost /ver
If I run this from a normal command prompt I get access denied, but if I open the command prompt via the "run as administrator" context menu then it works fine. I understand why this is but I want to stop it.
So is there a way to auto-elevate? Or even assign the right to a assign to a particular user so that user can run cmd.exe as administrator without interference?
I can see that you can modify a shortcut to always run as administrator but I want to do this on the application file itself.
Any help?
Thanks
Ok I need to run cluster.exe as administrator from a script which means basically that I need to go to a command prompt and be able to do, for example:
cluster localhost /ver
If I run this from a normal command prompt I get access denied, but if I open the command prompt via the "run as administrator" context menu then it works fine. I understand why this is but I want to stop it.
So is there a way to auto-elevate? Or even assign the right to a assign to a particular user so that user can run cmd.exe as administrator without interference?
I can see that you can modify a shortcut to always run as administrator but I want to do this on the application file itself.
Any help?
Thanks