I am looking to create a logins script for some of our users who will be logging into your Terminal Server both internally for Mac/Linux users and/or externally for Windows users.
We have setup the server now, so I am working on the login scripts. We use a webdav provider as our network drives. I can connect to these manually using a NET USE command, and the user is then prompted to enter their credentials.
I would like to have it so that when the users login to the TS server they get their drives mapped but should the login normally i.e. on their work laptops when in the office, it gets ignored.
How can I go about achieving this? I am not so good on scripting so any assistance would be appreciated. I was told this can be achieved by both VBScript or Batch file commands but again I don't know enough about scripting to do this.