bat file help


i'm trying write bat file enable windows 7 home user access files have on domain (without upgrading them pro) i'd bat file prompt them username , password , theyll able access network folders need.

while don't know offhand of way have user enter username, password easy do:

net use * \\servername\sharename /user:domain\user *

you have them enter username when start batch, parameter, work if launch batch command line.  double-clicking (which suspect want) won't that.

maybe @ doing powershell script?  i'm 99% sure can powershell ask them enter info...


jason a.



Windows Server  >  Security



Comments

Popular posts from this blog

DCOM received error "2147746132" from...

DFSR RPC replication errors 5014 1726 with large files over VPN

ADFS 3.0 Event ID 4625 | An Error occurred During Logon | Status: 0xC000035B