All Forums >> [Scripting] >> WSH & Client Side VBScript >> Need Help Hiding / Masking Password Input For This Script Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
The script below is used to join a computer to a domain. It prompts for the Computer Name (which I do later want to generate automatically), a User Name and Password.
The script works perfectly. The only problem is that I would like a way to hide the input for the password. I thought there was a simple way of doing this, but I have come to believe that I was mistaken.
I have looked for days trying to find a solution that will work within this script. I was told once that there was a way to hide the entire input box, but I haven't found a way to actually do that.
I have tried every script that I can find to hide input text, but haven't been able to get any of them to work even by themself, let alone with my script.
The ONLY exception is this script that I found. I can get it work on its own, but when I tried to use it along with my script I just got a bunch of errors.
I would really rather not use the IE input box, but if it gets the job done I am totally ok with that.
Any help, advice, examples or whatever would be greatly appreciated.
I got it to work on my second attempt at joining those two scripts together. I would still like to find a way to do it without the IE input box, but I am happy at the moment! It would be helpful if someone could tell me a way to possible have the curser already in the input field of the IE box (does that make sense? Sorry my brain is a bit fried from 6 hours of messing with my script.)
Two other changes that I would like to add to this script is 1) Adding a computer description. I've got no idea on how to do this. and 2) Having the computer name be filled in automatically. I do have a pretty good idea of how to do this.