windows 7 script

I have a win7 enterprise computer that will be off site. I installed our VPN client and it tested fine. before I deploy it, I want to see if there is a way to make a script that will launch the VPN client, and when prompted, put the name and password in, but my real concern is, if there is a way for the password to not be stored in plain text. Would it be possible to do this in something like visual basic or powershell?
or is it not possible to put a password in a script without it being plain text?
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

With a bit of encryption you can save the password as an encrypted string. However, since it's in a script, you need to decode it using the script itself. In the end, one of the last lines will contain the variable with the DECRYPTED string (the user doesn't even have to hack the decryption scheme, only getting the last instance of that variable is enough).
Probably takes any scripter 10 to 20 seconds. I.E. it's a false sense of security.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Kanti PrasadCommented:

Please see if the below script will be of some help
Ignore that link, it's plain text storage.
JeffBeallAuthor Commented:
thank you for the help
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.