Link to home
Start Free TrialLog in
Avatar of NetToken
NetToken

asked on

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?
ASKER CERTIFIED SOLUTION
Avatar of Paul S
Paul S
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of NetToken
NetToken

ASKER

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.
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.