Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Creating a terminal server only login script/batch file

Posted on 2010-08-13
3
Medium Priority
?
1,231 Views
Last Modified: 2013-12-06
Hi guys,

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.

Many thanks,

Ambrish
0
Comment
Question by:ambri5h
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 1

Assisted Solution

by:PaulJP
PaulJP earned 2000 total points
ID: 33431627
Setup a Group Policy that runs a login script with the password in it
0
 
LVL 2

Accepted Solution

by:
ambri5h earned 0 total points
ID: 33433468
@ PaulJP -

The problem is that its going to be multiple users, meaning they won't all have the same passwords... and it should only be running when they are on Terminal Server not when they ordinarily sign in to their machines.
0
 
LVL 2

Author Closing Comment

by:ambri5h
ID: 34031721
It was good but as per my comments to use user afterwards, it wasn't what I wanted.
0

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article provides a convenient collection of links to Microsoft provided Security Patches for operating systems that have reached their End of Life support cycle. Included operating systems covered by this article are Windows XP,  Windows Server…
Compliance and data security require steps be taken to prevent unauthorized users from copying data.  Here's one method to prevent data theft via USB drives (and writable optical media).
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
Suggested Courses

722 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question