Solved

Editing Group Policy for Terminal Services users

Posted on 2006-10-27
7
298 Views
Last Modified: 2010-04-18
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.
0
Comment
Question by:dwatkinsics
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
7 Comments
 
LVL 9

Expert Comment

by:SamuraiCrow
ID: 17822374
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
0
 

Author Comment

by:dwatkinsics
ID: 17822485
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.  
0
 
LVL 9

Expert Comment

by:SamuraiCrow
ID: 17822531
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?
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:dwatkinsics
ID: 17822565
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.
0
 
LVL 9

Expert Comment

by:SamuraiCrow
ID: 17822702
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?
0
 
LVL 9

Accepted Solution

by:
SamuraiCrow earned 250 total points
ID: 17822710
Of course when the computer name is not the terminal server name the timeclock and app install will run properly.  
0

Featured Post

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This may not be a text book method to resolve VSS backup issues but it seemed to have worked on few of the Windows 2003 servers we had issues while performing a Volume Shadow Copy backup. If you have issues while performing a shadow copy backup usin…
While rebooting windows server 2003 server , it's showing "active directory rebuilding indices please wait" at startup. It took a little while for this process to complete and once we logged on not all the services were started so another reboot is …
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…

630 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