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

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?
Who is Participating?
Paul SDesktop Support Manager / Network AdministratorCommented:
logon scripts are common and short work fine on a terminal server. Have you done a google search?

this one was pretty good
NetTokenAuthor Commented:
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.
NetTokenAuthor Commented:
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.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.