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

x
?
Solved

Windows RDS Server - clients unable to run local VBS logon script

Posted on 2013-12-17
3
Medium Priority
?
646 Views
Last Modified: 2013-12-18
Greetings all,

I have an RDS Server (2008 R2 Enterprise) that I've taken over.  When clients log in to the RDS server, a batch file located in C:\Script is run that copies some files to their desktop.  I have been unable to find where the setting is that is causing the batch file to run when clients log in to the Terminal Server.

I needed to do more at logon so I created a VBScript that does everything I want.  I placed it in the C:\Script folder to see what would happen and of course, it does not run.

I can find another way to run my vbscript but I really would like to know how this batch file is being kicked off?  How does the client/server know to run that batch file in that folder at logon.

I have checked the GPOs and did not find anything in the Computer or User sections for logon scripts, they are empty.  Anyone know of another location in a GPO that one might tell RDS clients to run a script?  Anywhere in the RDS tools like (Session Manager etc) a setting might live that runs batch files in this C:\Scripts folder?

Thanks!
0
Comment
Question by:yccdadmins
[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
 

Author Comment

by:yccdadmins
ID: 39724604
Oops - forgot to mention this.  When I place the batch file in the C:\Script folder it runs.  When I place the VB script it does not run.  Something somewhere telling clients to run scripts from that folder and I'm just not locating it.
0
 
LVL 25

Accepted Solution

by:
Lionel MM earned 2000 total points
ID: 39726512
Have you looked in the user properties in Active Directory Computers and Users? See picture--there is place to place a logon script location--see picture
User-Logon-Script.jpg
0
 

Author Comment

by:yccdadmins
ID: 39726821
Thank you Lionelmm! I had checked AD Group Policy under Logon/Logoff scripts and found nothing but I had not checked this section of the user account properties.

Have a great week!
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

You might have come across a situation when you have Exchange 2013 server in two different sites (Production and DR). After adding the Database copy in ECP console it displays Database copy status unknown for the DR exchange server. Issue is strange…
After seeing many questions for JRNL_WRAP_ERROR for replication failure, I thought it would be useful to write this article.
This tutorial will show how to push an installation of Backup Exec to an additional server in both 2012 and 2014 versions of the software. Click on the Backup Exec button in the upper left corner. From here, select Installation and Licensing, then I…
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…

688 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