Solved

Creating a terminal server only login script/batch file

Posted on 2010-08-13
3
1,224 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

Join & Write a Comment

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…
A safe way to clean winsxs folder from your windows server 2008 R2 editions
This tutorial will give a short introduction and overview of Backup Exec 2012 and how to navigate and perform basic functions. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as conne…
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…

747 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