/build/static/layout/Breadcrumb_cap_w.png

VbScript to run services as admin

Hello everybody!
I need to do a vbscript to start and stop several windows services, I've reading a lot of post about that; but the point is that I need to run these script from a standard user profile, so I need to know how to include admin credentials inside the scpript. Has anyone some ideas about that??

0 Comments   [ + ] Show comments

Answers (3)

Posted by: anonymous_9363 12 years ago
Red Belt
0
From the very fact that you have asked the question, I'd guess that you're unlikely to have the knowledge to encrypt the password (and, best practice would do the same for the user ID) for an administrator-level account in a script. Without encryption, those account details would be viewable by anyone able to open the script.

Sub-optimal...

Why would users need the ability to stop and start services, anyway?
Posted by: cmi2000 12 years ago
Senior Purple Belt
0
I'm thinking to compile the file when it's working like I want, so nobody can view the code. The users that needs this ability are Support users that haven't admin rights but there is an incident that is solved restarting a service.

Have you some idea?
Posted by: cmi2000 12 years ago
Senior Purple Belt
0
Nobody has any idea??
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ