Pass user credentials in vbscript

I have vbs script that:
-reads csv files with filepath and filename,
-copies the files to my archive storage
-adds entry for filename "copy start" (timestamp), "copy end" (timestamp) the log file,
and repeats the task for each entry in the csv.
It can take up to 3 days to copy all my files across.

source backups files are stored at multiple servers that are stand alone (not members of AD)  local username/password is requires.

I don't want to hard code logon credentials in my script. how do I:
1 capture logon credentials as variable for each source server
2 authenticate to source server to copy source files.
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.

Robberbaron (robr)Commented:
you either have to ask for each and every one when starting the script (which defeats much of usefulness of scripting) or store them in a text file in some encrypted format.

not great security but at least someone will need your script that decrypts as well as the encrypted list
Rafal_MituraAuthor Commented:
I need equivalent of powershell "get-credental" and store it as variable natively in vbs
or call powershell from vbs to do get-credental
or rewrite entire logic in powershell natively (trying to avoid it).

what would you suggest?
Robberbaron (robr)Commented:
in vbs, you can ask for the list of usernames and passwords via InputBox.

but using it as a learning excercise for powershell is probably worthwhile as that is the future.  (im too old to learn PS too much now !)
Rafal_MituraAuthor Commented:
I found answer in here:

user will be queried for logon details and stored as variable in ram until script is terminated (finish running).
Thanks for your help.

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
Rafal_MituraAuthor Commented:
answer identified elsewhere on forum
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
VB Script

From novice to tech pro — start learning today.