Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

running apps on a remote pc 1

Status
Not open for further replies.

jmerencilla

Programmer
Joined
Jul 17, 2002
Messages
123
Location
SG
hello. i know that invoking task manager displays all running applications on my pc. i just want to know if is it possible to see all running applications on a remote computer using task manager? if yes, how do i do that? if not, is there any other way to do that?

thanks.

:)
 
Using a Terminal Services client is one way CitrixEngineer@yahoo.co.uk
 
thanks CitrixEngineer. but still i need to enable the Terminal Services on the remote pc if the service is disabled to use the terminal service client. is there any
other way?

:)
 
There are all manner of apps that do something similar - I haven't tried any of them, but most offer a time-constrained demo;


I'd guess, since so many companies make such a product, that it is not too hard to DIY in VB, VC++, Delphi or similar.

Or you could telnet into the remote PC, if telnet is enabled, and do a net start of T/S, if installed...

HTH

CitrixEngineer@yahoo.co.uk
 
thanks CitrixEngineer for the support :)
 
You should check out the microsoft help file "System Administration Scripting Guide". It's listed as a WinXP download, but many of the scripts work on Win2k workstations, and some work on Win9x if WBEM/WMI is installed.

The script below is almost exactly the same as a script in that help file. I modified it slightly so that all the processes show up in 1 box, rather than 1 box for each process. Change "computername" to the PC you want to see process info for, and save this as ps.vbs. You must run this as a domain administrator, and the remote "computername" must be a member of that same NT/2000 domain.

strComputer = "computername"
strList = strComputer & "'s processes" & vbcrlf

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

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

For Each objProcess in colProcessList
colProperties = objProcess.GetOwner(strNameOfUser,strUserDomain)
strList = strList & vbcrlf & "Process " & objProcess.Name & " is owned by " _
& strUserDomain & "\" & strNameOfUser & "."
Next

Wscript.Echo strList
 
jmerencilla,

Open Computer Management-Connect to another computer(Remote pc) then drill down--System Information-Software Enviroment-Running Tasks. This will show the same tasks as Task Manager would on the remote pc.

N.B. This is assuming your not running 9x/nt4 clients, if so disregard...
 
hey, thanks Titleist for the tip! this will definitely help me. :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top