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??
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)
Please log in to answer
Posted by:
anonymous_9363
14 years ago
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?
Sub-optimal...
Why would users need the ability to stop and start services, anyway?
Posted by:
cmi2000
14 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.