Solved

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

Posted on 2013-12-17
3
631 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 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

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

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

When you upgrade from Windows 8 to 8.1 or to Windows 10 or if you are like me you are on the Insider Program you may find yourself with many 450MB recovery partitions.  With a traditional disk that may not be a problem but with relatively smaller SS…
Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
This tutorial will give a an overview on how to deploy remote agents in Backup Exec 2012 to new servers. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as connecting to a remote Back…
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
Suggested Courses

624 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