Go Back   Velocity Reviews > Newsgroups > ASP Net
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

ASP Net - Re: Restart service - Terminal Services

 
Thread Tools Search this Thread
Old 06-25-2003, 04:49 PM   #1
Default Re: Restart service - Terminal Services


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
  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

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

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




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46