Group Policy Object to run batch file at Terminal Server Login.

Posted on 2011-10-10
Last Modified: 2012-05-12
I have a batch file that I want to have all 40 Remote Desktop users run when they login to the Windows 2008 R2 Terminal Server.  I would like to have the batch file centrally located on the server's hard drive so I that only one file needs to be used for all 40 clients.

I've been looking at Local Computer Policy in MMC but can't see any options for this.

If this can't be done through a GPO, does anyone know of a registry modification that can do this?
Question by:NetToken
    LVL 11

    Accepted Solution

    logon scripts are common and short work fine on a terminal server. Have you done a google search?

    this one was pretty good

    Author Comment

    Thanks for the link The_Computer_Guru_777:, unfortunately our Windows 2008 R2 terminal server is not on a domain so the Group Policy Management Console is unavailable as an option.  although your suggestion provides another good reason for the terminal server to be joined to a domain.  Unfortunately the decision to do so is not up to me.

    Unless there's an easier way, it looks like I may end up logging into each user console and setting a batch file shortcut in the Startup program group of every profile.  It will be a bit of a pain, but (so far) there's only 40 of them.

    Author Closing Comment

    Thanks for the lnks The_Computer_Guru_777.  I'm going to close this inquiry and award you the points for making the effort.  I'm sure the company I work for will eventually be moving into Active directory for all servers and then I can do more things with GPO's.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Highfive + Dolby Voice = No More Audio Complaints!

    Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

    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…
    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 show how to inventory, catalog, and restore media from legacy versions of Backup Exec into both 2012 and 2014 versions of the software. Select Storage from the tabs along the ribbon bar as the top: Ensure the proper storage devi…
    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…

    761 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

    8 Experts available now in Live!

    Get 1:1 Help Now