Link to home
Start Free TrialLog in
Avatar of dwatkinsics
dwatkinsics

asked on

Editing Group Policy for Terminal Services users

I have 2 group policies in place on server 03 that installs a time clock application and then launches it when users login.  This works like it is supposed locally and over VPN. However I have users at these VPN locations that run terminal services applications and I do want the policy to run when they logon over terminal services.  How can I edit my current GP or add a new one to keep this from happening.
Avatar of SamuraiCrow
SamuraiCrow

Is there any way to launch it from the command line?  If so you can add the command syntax to the first line of the usrlogon.cmd located in the c:\windows\system32 directory on the server.  This will launch the app every time someone logs into the terminal server.  If you absolutely need to use group policy you can try to use loopback processing as discussed here:

http://support.microsoft.com/kb/231287
Avatar of dwatkinsics

ASKER

That is supposed to read I do NOT want the policy to run when they logon through terminal services using their standerd logins.  It hangs the software and they cannot continue with their session until that application is closed.  Sorry about the error.  
That makes a difference :)

How is the group policy constructed?  Does it call a login script that installs and launches the application or is it a software and registry based group policy?
We can remove the the GPO that installs the software but how can I make the app launch after a domain login but not when they login the the term server.  The app currently launches via command script in Group Policy.
If it is being launched from a script file you can add conditional processing such as:

If /i %computername%==TerminalServerName (goto Next)
<Install Timeclock App>
<Start Timeclock App>

:Next
<Standard Login Stuff>

This will cause the item between the if statement and the :Next statement to get skipped when the computername is equal to the terminal server name.  It's pretty low tech but it never breaks!

Is this more what you are looking for?
ASKER CERTIFIED SOLUTION
Avatar of SamuraiCrow
SamuraiCrow

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