+ Post New Thread
Results 1 to 2 of 2
Scripts Thread, Hiding password box in VBS in Coding and Web Development; I have a small script that will map network drives for users, but I would like to be able to ...
  1. #1
    kestrel1's Avatar
    Join Date
    Jul 2005
    Location
    New Forest
    Posts
    294
    Thank Post
    3
    Thanked 11 Times in 11 Posts
    Rep Power
    20

    Hiding password box in VBS

    I have a small script that will map network drives for users, but I would like to be able to hide the password when it is typed.
    I also need it to recognize the domain, as it currently only works for machines that are on the domain, which isn't much use to them as it is all done via the login script
    Essentially this will be used on some laptops for students, but the login via the domain is taking for ever & they now want them off of the domain.
    Hope this makes sense.
    Here is the script as it stands:

    Code:
    Set objNetwork = WScript.CreateObject("WScript.Network")
    strLocalDrive = "T:"
    strRemoteShare = "\\server\share"
    strPer = "FALSE"
    strPas = InputBox("Username for T: drive:")
    strPas = InputBox("Password for T: drive:")
    objNetwork.MapNetworkDrive strLocalDrive, strRemoteShare, strPer, strUsr, strPas

  2. #2
    kestrel1's Avatar
    Join Date
    Jul 2005
    Location
    New Forest
    Posts
    294
    Thank Post
    3
    Thanked 11 Times in 11 Posts
    Rep Power
    20
    Anyone with any ideas?



SHARE:
+ Post New Thread

Similar Threads

  1. Password changes in Server 2003
    By Mr_M_Cox in forum Windows
    Replies: 2
    Last Post: 7th April 2008, 12:42 PM
  2. Restoring Single Mail Box in Exchange
    By Jamie_a in forum Windows
    Replies: 3
    Last Post: 27th November 2007, 01:56 PM
  3. Replies: 1
    Last Post: 8th November 2007, 01:44 PM
  4. Escape quotations in VBS
    By CyberNerd in forum Scripts
    Replies: 7
    Last Post: 1st December 2006, 11:21 AM
  5. Replies: 4
    Last Post: 7th December 2005, 09:09 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •