Solved

Creating a terminal server only login script/batch file

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

How our DevOps Teams Maximize Uptime

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us. Read the use case whitepaper.

Question has a verified solution.

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

While rebooting windows server 2003 server , it's showing "active directory rebuilding indices please wait" at startup. It took a little while for this process to complete and once we logged on not all the services were started so another reboot is …
Recently, Microsoft released a best-practice guide for securing Active Directory. It's a whopping 300+ pages long. Those of us tasked with securing our company’s databases and systems would, ideally, have time to devote to learning the ins and outs…
To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…

738 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