PC Review


Reply
Thread Tools Rate Thread

Closing Logon Sessions After Completing Task

 
 
Phil Galey
Guest
Posts: n/a
 
      1st Feb 2005
To access and work with data on the server, I user LogonUser and
ImpersonateLoggedOnUser to access and also RUNAS to execute commands that
need to be done in DOS.

These of course open logon sessions on the server. The problem is that
after finishing the RUNAS or after closing the LogonUser by using
RevertToSelf, the authentication is removed, but the logon session(s) remain
open on the server for a minute or two. If the logon sessions are added
quicker than they disappear, we quickly run out of Windows licenses on the
server.

Does VB.NET or the .NET Framework provide a way of removing such logon
sessions, and hopefully with the ability to specify which workstation the
logon session came from? We have programs that run on multiple
workstations. It would be good if a program running on one workstation
could programmatically remove its own logon session(s) on the server without
affecting logon sessions from other workstations. Thanks.


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Task Scheduler Not Completing =?Utf-8?B?REhJQ0tT?= Windows XP General 1 10th Oct 2006 04:04 AM
Task Scheduler Not Completing =?Utf-8?B?REhJQ0tT?= Windows XP Customization 1 9th Oct 2006 06:46 PM
Scheduled Task not completing =?Utf-8?B?REhJQ0tT?= Windows XP General 7 18th Apr 2006 11:29 PM
impossible to update field on completing task vonclausowitz@gmail.com Microsoft Outlook VBA Programming 4 10th Oct 2005 02:53 PM
Re: Closing open files \ sessions Microsoft Windows 2000 CMD Promt 0 26th Jun 2005 01:58 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:46 AM.