|
I'm trying to have everyone in CDNTUsers group connect to these drives as a specific user. Does this look correct and complete? How does the USE syntax differ from the syntax for the NET USE command which is what I followed - USE [Device] [Location] [password] /USER:[domain name\username]
This is because - quite simply - I don't administrate the other system and only have 1 account with the proper privilages on the other machine (which is not part of a domain) to map these drives so I want them to always map AS IF the current user was TSBCDADM. The TSBCDADM account is in SYNC with the local PC account and thus allows seemless use of drives (no username password prompt)
---------------------- IF InGroup("CDNTUsers") USE "*" /DELETE USE K: "\\192.0.0.100\Test" mdadcbst /USER:(Machine Name)\TSBCDADM USE M: "\\192.0.0.100\Prod" mdadcbst /USER:(Machine Name)\TSBCDADM ENDIF ----------------------
|