Solved

Remoting

Posted on 2004-09-20
2
232 Views
Last Modified: 2010-04-23
I'd like to use remoting to shut down an application that is located on a server but runs on the client PC. Is something like this possible becasue I don't nesesarly know the IP address of the client using the application. I do know the IP of the server where the App runs from - any ideas?

thx Tom
0
Comment
Question by:thenrich
2 Comments
 
LVL 12

Expert Comment

by:fulscher
ID: 12105422
Tom,

There is a utility called PsKill from Mark Russinovich. Check this link: http://www.sysinternals.com/ntw2k/freeware/pskill.shtml

You could also try to kill the session: On the command line of the server, try
NET SESSION \\<COMPUTER>
or
NET SESSION \\<COMPUTER> /DELETE
(replace <COMPUTER> with the name of the machine).

However, in both cases need to know the remote machine.

HTH
Jan
0
 
LVL 7

Accepted Solution

by:
sj_hicks earned 500 total points
ID: 12107501
Tom,

Just posted a solution (with sample code) to a similar query in http://www.experts-exchange.com/Programming/Programming_Languages/Dot_Net/VB_DOT_NET/Q_21134542.html

This uses WMI to do the remote connection and kill processes.

Stephen.
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Well, all of us have seen the multiple EXCEL.EXE's in task manager that won't die even if you call the .close, .dispose methods. Try this method to kill any excels in memory. You can copy the kill function to create a check function and replace the …
Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now