![]() |
|
|
|||||||
![]() |
ASP Net - Re: Restart service - Terminal Services |
|
|
Thread Tools | Search this Thread |
|
|
#1 |
|
Interesting question... the answer is maybe... .NET, in general, has the
ability to interact with services, provided that Identity Impersonation is turned on and using an account that has administrator rights to the server. Using this knowledge, you could stop and restart the TS Service from ASP.NET. The other thing you could do is to stop and start the process from the System.Diagnostics namespace. http://msdn.microsoft.com/library/de...nstances.a sp HTH, Bill Priess eCircle Software, LLC "Justin Rich" <> wrote in message news:%2301Zu%... > Since i have my server in a remote location i cant ever be at the keys. > Every now and then i will get disconnected twice from terminal services and > will be locked out. This is a pain to deal with because they dont ever seem > to time out. > Is there a way i can write an ASP page that will allow me to kick the > disconnected sessions off or a way to just restart the terminal service so > that it removes those sessions? > > Thanks > Justin > > Bill Priess |
|
|
![]() |
| Thread Tools | Search this Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Novice needs help with Adserver.Adtech.de | CPU Rookie | General Help Related Topics | 3 | 05-10-2008 05:54 PM |
| Am new here and need help with virus/spyware | cm punk | General Help Related Topics | 1 | 11-13-2006 11:04 AM |
| Trojan Horse! AHHH! | okstatefan@swbell.net | A+ Certification | 11 | 02-08-2005 07:12 PM |
| Chicago Sun Times: Bush's draft is very POSSIBLE | Jasmine | DVD Video | 63 | 09-30-2004 04:55 PM |
| Re: High Gasoline Prices Create A+ Service Opportunities | Frederic | A+ Certification | 3 | 01-17-2004 11:38 PM |