Need vbscript to run in user mode
Add your rating:
Hi All,
I need to create a vb script which will be executed through a shortcut. This shortcut will be executed under restricted account occasionally to stop a service by the end users to perform certain updates. While this service is running, they can't perform the update, that is why the service must be stopped by the end users. As the restricted accounts don't have the permission to stop a service.. I need to write a vb script which needs to Runas Administrator..
Can any one help one this...
Regards,
Sanhivi
I need to create a vb script which will be executed through a shortcut. This shortcut will be executed under restricted account occasionally to stop a service by the end users to perform certain updates. While this service is running, they can't perform the update, that is why the service must be stopped by the end users. As the restricted accounts don't have the permission to stop a service.. I need to write a vb script which needs to Runas Administrator..
Can any one help one this...
Regards,
Sanhivi
0 Comments
[ + ] Show comments
Answers (6)
Please log in to answer
Posted by:
anonymous_9363
13 years ago
Posted by:
mazessj
13 years ago
It might be better if you didn't let your users update their software at all and instead handled it via packaging & distribution. Your package could handle automatically stopping the service, replacing the files, and starting it back up again. If your updates are frequent, you'll probably want to implement a process where you apply patches or design the package so that you can easily recompile it with new versions of the files and rev it for distribution.
Posted by:
sanhivi
13 years ago
Posted by:
itolutions
13 years ago
Posted by:
rich0864
13 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.