Windows XP Community - XPHeads



Re: checking if remote computer is running

microsoft.public.windowsxp.wmi


Reply
  #1 (permalink)  
Old 12-18-2007, 09:01 PM
guzarva
 
Posts: n/a
Re: checking if remote computer is running


"Gerry Hickman" wrote:

> Hi,
>
> > I'd like to check if a remote computer on local network is running. I
> > found some vbscript/javascript examples that used WMI to look for the
> > presence of a particular process on the remote machine. these scripts
> > were run locally via WSH. I adapted this solution to look for the
> > presence of a process named "System" on the remote computer, and it
> > worked...

>
> That seems like a lot of overhead to me, and anyway you may get lag if
> the computer is turned off. Why don't you just send a single ping packet
> and see if you get a reply?
>
> > My second question is related to the above: is it possible to change the
> > "presentation layer" from WSH-popup window to, for example, html page
> > that would display a table with the names of remote machines along with
> > their status (running/not running), and refreshing itself automatically?

>
> Yes, first of all you should change your default script host to CSCRIPT,
> this will make everything happen on the command line, allow command
> redirection, enable silent running (out of hours), and cut out about a
> million other problems.
>
> Second, if you want a web UI you should use either an HTA (running on
> the local box), or a web server based solution running on a web server.
>
> --
> Gerry Hickman (London UK)
>

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 04:55 AM.








Design by Vjacheslav Trushkin for phpBBStyles.com.
Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0

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 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74