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

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

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?
Answered 11/24/2010 by: VBScab
Red Belt

Please log in to comment
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?
Answered 11/24/2010 by: cmi2000
Senior Purple Belt

Please log in to comment
0
Nobody has any idea??
Answered 11/29/2010 by: cmi2000
Senior Purple Belt

Please log in to comment
Answer this question or Comment on this question for clarity