[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Need to monitor running processes.

Posted on 2007-07-23
9
Medium Priority
?
201 Views
Last Modified: 2010-04-18
Hello, I have a Windows 2003 R2 x64 SP1 server that runs complex analytical software. I was wondering if anyone knew of a way that various users could check the running processes for ALL users. All the engineers that use the rools have a need to check the processes. It appears that only an administrator can do this via the checkbox in Task Manager. I don't want to make everyone an admin, and I don't want everyone logging into the server. Is there a method to export all the running processes on the server to a file? I would like this file to possibly be updated frequently. Or maybe some kind of website that has the active content? I looked at Sysinternals Process Explorer, but didn't see a way to export the info automatically.
Thanks for any help.
0
Comment
Question by:Macom
  • 3
  • 3
  • 2
  • +1
9 Comments
 
LVL 63

Expert Comment

by:SysExpert
ID: 19550475
See process explorer from sysinternal.com

0
 
LVL 63

Expert Comment

by:SysExpert
ID: 19550486
0
 

Author Comment

by:Macom
ID: 19550539
Process Explorer didn't get me what I need.
0
NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

 
LVL 63

Expert Comment

by:SysExpert
ID: 19550801
AUtomatically, maybe not, but in combination with a batch file and

Auto-it   FREE scripting tool, keyboard macros

http://www.autoitscript.com/autoit3/

you should be able to do this.

0
 
LVL 31

Expert Comment

by:merowinger
ID: 19550805
What about a script which is executed via Task Scheduler frequently?


'~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Dim objWMIService, objProcess, colProcess
Dim strComputer, strList
Dim objFSO, file

strComputer = "."

Set objFSO = CreateObject("Scripting.FileSystemObject")
Set file= objFSO.CreateTextFile("C:\CurrentRunningProcesses.txt")


Set objWMIService = GetObject("winmgmts:" & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")

Set colProcess = objWMIService.ExecQuery ("Select * from Win32_Process")

For Each objProcess in colProcess
      file.writeline objProcess.Name & vbCrlf
Next
'~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
0
 
LVL 15

Accepted Solution

by:
JimboEfx earned 1000 total points
ID: 19551010
0
 

Author Comment

by:Macom
ID: 19556598
JimboEfx, your solution gave me exactly what I needed. I just had to add some users to the Power Users group and then give the PU group rights to the Perflib key in the remote servers registry and now those users can access it from there pc's using pslist.
Thanks to the rest of you for your answers also.
0
 

Author Comment

by:Macom
ID: 19556659
Merowinger,
Not to leave you out, because I know you put together that script, I did try it and couldn't get it to work. I am not a scripter by any means. How would I make that one work? Is it cscript? Do I name it a bat file?
Thanks
0
 
LVL 31

Expert Comment

by:merowinger
ID: 19556701
no u save it as a .vbs file

it should work as it is listed...i dont think/hope that there arent any errors in! :P
0

Featured Post

Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

Question has a verified solution.

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

The HP utility "HP Lights-Out Online Configuration Utility for Windows Server 2003/2008" could be of great use when it comes to remotely configure a HP servers ILO WITHOUT rebooting the server. We would only need to create and run scripts using thi…
I've always wanted to allow a user to have a printer no matter where they login. The steps below will show you how to achieve just that. In this Article I'll show how to deploy printers automatically with group policy and then using security fil…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …

873 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