Solved

Creating a terminal server only login script/batch file

Posted on 2010-08-13
3
1,225 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
  • 2
3 Comments
 
LVL 1

Assisted Solution

by:PaulJP
PaulJP earned 500 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

Does Powershell have you tied up in knots?

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

Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

932 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now