UserPasswords2 help

thejeraldo

Well-known member
Joined
Jun 9, 2009
Messages
70
Location
Philippines
Programming Experience
1-3
ok here is my scenario. i need my users to automatically have access to a network computer that has a password. i want this process to be hidden to them.

i found out that one way to to this is by going to "Control UserPasswords2" by typing it at Run.

what i need is somewhat of a code that will automatically enter a username and password for a network address.

i really need help on this since im kinda having a hard time finding a Batch File that will do this for me. thanks.
 
OK. just an update to this. i can already automatically login to a network folder with credentials! i used this one:

VB.NET:
Shell("Net Use \\192.168.0.99\IPC$ /user:myusername mypassword", AppWinStyle.Hide, True, 10000)

but when i use this one to delete the credentials, i can still access the network folder through Run or windows explorer.

VB.NET:
Shell("Net Use \\192.168.0.99\IPC$ /delete /Y", AppWinStyle.Hide, True, 10000)
 
Back
Top