Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Log Off when Application Closes

2 views
Skip to first unread message

Joshua A. Booker

unread,
Aug 15, 2003, 4:57:54 PM8/15/03
to
Users who get an Access App instead of a desktop on TS can't log off
properly. At one point, it was logging off after Access was closed, but now
it just stays with the blue screen and in TS manager it says disconnected.
The server shuts old sessions after a certain interval, but why doesn't it
log off properly as it once did?

Is there a way to control the session and tell it to log off in VBA? Is
this a result of choosing NT compatable in the TS config?

TIA,
Josh


Matthew Harris [MVP]

unread,
Aug 15, 2003, 6:17:41 PM8/15/03
to
Instead of calling the Access application directly, why
don't you have the terminal server call a batch script
first. You can make this batch script bring up Access.
You can also force the batch script to wait until Access
is closed, then have it call the logoff.exe.

Something like...

Start /wait c:\path\to\access.exe

-M

>.
>

Joshua A. Booker

unread,
Aug 16, 2003, 10:05:16 AM8/16/03
to
Thanks for the logoff.exe tip.

I'd like to know why it doesn't do what the documentation says it will. Why
doesn't it logoff automatically as it once did? Is it because the app is
started from the environment settings of the AD Users and Groups on the DC
now instead of Local Users on the TS box? There must be a reason does
anyone know?

Josh

"Matthew Harris [MVP]" <har...@crocker.ucdavis.edu> wrote in message
news:032f01c3637b$0b2b2510$a501...@phx.gbl...

Vera Noest [MVP]

unread,
Aug 16, 2003, 2:36:25 PM8/16/03
to
Some process must still be running in the user context, preventing
the connection from closing. When you have closed the Access
application, but still have the window open, can you bring up Task
Manager and check if you see any running processes there?
Could be an antivirus program or something like that.

--
Vera Noest
MCSE, CCEA, Microsoft MVP - Terminal Server
http://hem.fyristorg.com/vera/IT
--- please respond in newsgroup ---

"Joshua A. Booker" <joshuaab...@mail.com> wrote in
news:#hVMzBAZ...@TK2MSFTNGP10.phx.gbl:

Brianos

unread,
Aug 18, 2003, 6:09:29 AM8/18/03
to
does access.exe itself close???

if not, there is a sysmodules registry poke to ensure that apps get
closed by on exit.

cheers, Brianos

Joshua A. Booker

unread,
Aug 19, 2003, 9:14:52 PM8/19/03
to
Vera,

When a user has closed Access, they can't bring up TaskMgr because there is
no desktop or start menu it's just a Blue screen. CrtlAltDel brings up
TaskMgr on my client workstation.

TIA,
Josh

"Vera Noest [MVP]" <vera....@remove-this.hem.utfors.se> wrote in message
news:Xns93D9D1A0FABDve...@207.46.248.16...

Vera Noest [MVP]

unread,
Aug 20, 2003, 4:26:43 PM8/20/03
to
The equivalent to Ctrl-Alt-Del in a terminal server session is
Ctrl-Alt-End. That should give them the standard security dialogue
box, where they can choose Task Manager.
If that shouldn't work, can you monitor the processes in their
session from the server (in TS Administration)?

--
Vera Noest
MCSE, CCEA, Microsoft MVP - Terminal Server
http://hem.fyristorg.com/vera/IT
--- please respond in newsgroup ---

"Joshua A. Booker" <joshuaab...@mail.com> wrote in

news:uHqxBmr...@TK2MSFTNGP09.phx.gbl:

> Vera,
>
> When a user has closed Access, they can't bring up TaskMgr
> because there is no desktop or start menu it's just a Blue
> screen. CrtlAltDel brings up TaskMgr on my client workstation.
>
> TIA,
> Josh
>
> "Vera Noest [MVP]" <vera....@remove-this.hem.utfors.se> wrote
> in message
> news:Xns93D9D1A0FABDve...@207.46.248.16...
>> Some process must still be running in the user context,
>> preventing the connection from closing. When you have closed
>> the Access application, but still have the window open, can you
>> bring up Task Manager and check if you see any running
>> processes there? Could be an antivirus program or something
>> like that.
>>

Joshua A. Booker

unread,
Aug 20, 2003, 5:00:49 PM8/20/03
to
Vera,

Thank you for your response. I checked TaskMgr and found the following
processes:

WINLOGON.EXE
CSRSS.EXE
fxrdpclp.exe
taskmgr.exe

When I end task fxrdpclp then close taskmgr, it logs off. Does this mean
Microsoft's clipboard fix is at fault? Can I uninstall this since the
shared clipboard thing still doesn't work anyway?

If so, how do I uninstall it.

TIA,
Josh

"Vera Noest [MVP]" <vera....@remove-this.hem.utfors.se> wrote in message

news:Xns93DDE454A5149ve...@207.46.248.16...

Vera Noest [MVP]

unread,
Aug 21, 2003, 3:36:22 PM8/21/03
to
Yes, that's the problem, then.
Have you tried to uninstall through Add / Remove programs? You
might have to undo some changes that were made after installation:

244732 - How to: Install the File Copy Tool Included with the
Windows 2000 Resource Kit
http://support.microsoft.com/?kbid=244732

Or maybe those changes were never made and that's the reason it
doesn't work?

--
Vera Noest
MCSE, CCEA, Microsoft MVP - Terminal Server
http://hem.fyristorg.com/vera/IT
--- please respond in newsgroup ---

"Joshua A. Booker" <joshuaab...@mail.com> wrote in

news:udUsv81Z...@TK2MSFTNGP12.phx.gbl:

> Vera,
>
> Thank you for your response. I checked TaskMgr and found the
> following processes:
>
> WINLOGON.EXE
> CSRSS.EXE
> fxrdpclp.exe
> taskmgr.exe
>
> When I end task fxrdpclp then close taskmgr, it logs off. Does
> this mean Microsoft's clipboard fix is at fault? Can I
> uninstall this since the shared clipboard thing still doesn't
> work anyway?
>
> If so, how do I uninstall it.
>
> TIA,
> Josh
>
> "Vera Noest [MVP]" <vera....@remove-this.hem.utfors.se> wrote
> in message
> news:Xns93DDE454A5149ve...@207.46.248.16...
>> The equivalent to Ctrl-Alt-Del in a terminal server session is
>> Ctrl-Alt-End. That should give them the standard security
>> dialogue box, where they can choose Task Manager.
>> If that shouldn't work, can you monitor the processes in their
>> session from the server (in TS Administration)?
>>

>> "Joshua A. Booker" <joshuaab...@mail.com> wrote in
>> news:uHqxBmr...@TK2MSFTNGP09.phx.gbl:
>>

>> > When a user has closed Access, they can't bring up TaskMgr
>> > because there is no desktop or start menu it's just a Blue
>> > screen. CrtlAltDel brings up TaskMgr on my client
>> > workstation.
>> >

0 new messages