I need to write a script for the following scenario.
The user of the script will be a restricted user. ClearCase client is install on his machine and running as windows service. Since he is an restricted user, he unable to start/stop that service. Only administrators are able to do that.
To avoid this, I need a script which will start the services as a privileged user. Something like 'Run as' option.
Can anybody tell me the way or resources(links) which will help me find a solution for this?