Solved

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

Posted on 2013-12-17
3
559 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
  • 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 24

Accepted Solution

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

Don't lose your head updating email signatures!

Do your end users still have the wrong email signature? Do email signature updates bore you or fill you with a sense of dread? You can make this a whole lot easier on yourself by trusting an Exclaimer email signature management solution. Over 50 million users do...so should you!

Join & Write a Comment

INTRODUCTION The purpose of this document is to demonstrate the Installation and configuration of the Data Protection Manager product. Note that this demonstration was prepared on the basis of Windows OS is 2008 R2 and DPM 2010. DATA PROTECTI…
Citrix XenApp, Internet Explorer 11 set to Enterprise Mode and using central hosted sites.xml file.
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…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

757 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

20 Experts available now in Live!

Get 1:1 Help Now