Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2013-12-17
3
Medium Priority
?
668 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 26

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

New Windows 7 Installations take days for Windows-Updates to show up and install. This can easily be fixed. I have finally decided to write an article because this seems to get asked several times a day lately. This Article and the Links apply to…
A procedure for exporting installed hotfix details of remote computers using powershell
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…
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…

876 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