[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1241
  • Last Modified:

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?
0
NetToken
Asked:
NetToken
  • 2
1 Solution
 
Paul SCommented:
logon scripts are common and short work fine on a terminal server. Have you done a google search?

http://www.google.com/search?q=logon+script+howto

this one was pretty good
http://www.computerperformance.co.uk/Logon/logon_script_assign.htm#Find_the_Logon_Script_Container_in_Group_Policy
0
 
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.
0
 
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.
0

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now