RE: Windows 2003 Server Terminal Services



Vera,

Thanks for the suggestions. I'll try the script, but I'm fairly certain
that without being able to disable access to the taskmanager, it won't
suffice.

Also, the link you sent is broken. I did remove the linebreak but it did
not help.

http://www.microsoft.com/technet/treeview/default.asp?url=/technet/prodtechnol/winxppro/maintain/rstrplcy.asp

redirects to:

http://www.microsoft.com/technet/404/default.aspx?404;http://www.microsoft.com/technet/prodtechnol/winxppro/maintain/rstrplcy.asp

Which is a default technet 404 page.

"Vera Noest [MVP]" wrote:

Use NTFS permissions on the file system to keep users from
accessing applications which they should run. Or use Software
Restriction Policies:
http://www.microsoft.com/technet/treeview/default.asp?
url=/technet/prodtechnol/winxppro/maintain/rstrplcy.asp

To log users off:
Create a batch file, containing something like this:
cd <path_to_the_folder_containing_your_application>
start /wait <application_executable>
logoff

Now define this batch file as the starting application.
Or use the following vb script to launch your application, and
define the vb script as the starting application.

Dim objWshShell, objExec, strAppExe

strAppExe = "<path_to_the_folder_containing_your_application>
\<application_executable>"
Set objWshShell = CreateObject("WScript.Shell")
Set objExec = objWshShell.Exec(strAppExe)
Do While objExec.Status = 0
WScript.Sleep 500
Loop
Set objExec = objWshSHell.Exec("logoff")

_________________________________________________________
Vera Noest
MCSE, CCEA, Microsoft MVP - Terminal Server
TS troubleshooting: http://ts.veranoest.net
___ please respond in newsgroup, NOT by private email ___

=?Utf-8?B?TWFmaSBPc29yaQ==?= <MafiOsori@xxxxxxxxxxxxxxxxxxxxxxxxx>
wrote on 28 jun 2006 in
microsoft.public.windows.terminal_services:

I should add that I don't mean how do I write code to logoff
from within my program.

I mean, given program X that starts when someone logs in, how do
I force a logout when program X exits.

"Mafi Osori" wrote:

I thought I had seen it before. I thought Application Server
mode in the 2K Server had that ability.

I tightened the server down some, so it loads a program I wrote
after logon (using group policy).

I also disabled showing the desktop.

How do I initiate a logoff as soon as they close my program?
How do I disable their ability to press cntl+alt+del to get the
Windows Security screen? They can launch any program from
there.

Thanks.




"Tim" wrote:

I do not think this is a current functionality of Terminal
Services but it can be done with 3rd party tools or maybe
using Group Policy to limit which applications users can
execute.

Will someone please correct me if I have giving false
information.

"Mafi Osori" wrote:

Can I setup the terminal server to only serve a list of
applications I choose?

I have Windows 2003 Server Standard Edition with the
Terminal Server role and the Terminal Services Licensing
installed.

Everything is setup so that users can log in and get a full
desktop session.
What I really would rather is a list of applications they
can run, and
nothing else.

.



Relevant Pages

  • RE: Terminal Services stops responding on our Windows Server 2003
    ... Your terminal server issue appears to have several potential causes. ... first thing to check are the applications running. ... initiate a best practices for deployment of terminal services. ...
    (microsoft.public.windows.terminal_services)
  • Re: RPC Server Is Unavailable on 2003 TS but not on 2000 TS
    ... Windows Server 2003 and you receive an "The RPC service is ... MCSE, CCEA, Microsoft MVP - Terminal Server ... There are 2 major SQL applications running all the time ... They have tested logging the entire office in to the 2003 TS ...
    (microsoft.public.windows.terminal_services)
  • Re: RPC Server Is Unavailable on 2003 TS but not on 2000 TS
    ... number of things based on previous posts on Technet as well as posts found ... Windows Server 2003 and you receive an "The RPC service is ... MCSE, CCEA, Microsoft MVP - Terminal Server ... There are 2 major SQL applications running all the time ...
    (microsoft.public.windows.terminal_services)
  • Re: RPC Server Is Unavailable on 2003 TS but not on 2000 TS
    ... Check the troubleshooting tips on EventID.net, ... MCSE, CCEA, Microsoft MVP - Terminal Server ... applications loaded and they only put in the new 2003 TS ...
    (microsoft.public.windows.terminal_services)
  • RE: Windows 2003 Server Terminal Services
    ... I tried the first .bat idea, and though it worked, it left the batch file ... accessing applications which they should run. ... MCSE, CCEA, Microsoft MVP - Terminal Server ... Terminal Server role and the Terminal Services Licensing ...
    (microsoft.public.windows.terminal_services)