Solved

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

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

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

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…
The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
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…
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…

752 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