Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Search or scan Subnet for Process

Posted on 2009-07-10
2
Medium Priority
?
274 Views
Last Modified: 2013-12-04
I would like to know if anyone has any ideas for what I am trying to do:

I would like to: scan an entire subnet for a specific process, once I compile a list, I will remotely kill that process from my desk one at a time, unless anyone has another idea of how I can do the scan, then initiate a kill?
for example, outlook.exe - scanning 192.168.0.0/24 for all pc's running outlook.exe. if no ideas on doing a global kill, no prob, the app Im looking to kill should be a short list of users so I can manually kill using dameware or something.

Thanks in advance!

0
Comment
Question by:jgreen1280
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 12

Accepted Solution

by:
Gary Dewrell earned 1000 total points
ID: 24825753
You should be able to write a vbscript to do that. Not one of my strong skills but a quick search turned this up that I think we get you going in the right direction.

http://www.freevbcode.com/ShowCode.asp?ID=4888
0
 
LVL 66

Assisted Solution

by:johnb6767
johnb6767 earned 1000 total points
ID: 24826101
PSExec can do this, with a simple batch file.
psexec @c:\PCNames.txt -c "findfile.bat"
PCNames.txt is a listing of PCNames, or IP Addresses
FindFile.bat is a simple script to detect an executable, and kill it....
Both these files go in the same directory you launch PSEXEC from, and ulaunch it from a useraccount with admin rights on teh targets....

@echo off 
setlocal
REM Change notepad.exe to the processname you want to search and destroy....
set app=notepad.exe
 
tasklist /svc | find /i "%app%" >nul
if not %errorlevel%==0 goto none
taskkill /f /im %app% >nul
echo %app% closed on %computername%
goto end
 
:none
echo %app% not running on %computername%
endlocal
exit
 
:end
endlocal
exit

Open in new window

0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup" or a blinking cursor with black screen. A loop for Auto repair will start but fix nothing.  You will be panic as there are no back…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

609 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