are you a programmer?

YouTube

Member
Mar 26, 2007
60
0
0
The security company where I work has asked me to develop a tool that can gather information from several hundred computers running Windows XP Professional. The tool needs to verify whether a computer is left running at certain hours in the evening. because the management request all computers be turned off no later than 6.00pm

i need to tell my supervisor the programming language I would use to develop this tool and the method of verifying the request...

Any suggestions? Thanks
 

FoBoT

No Lifer
Apr 30, 2001
63,084
15
81
fobot.com
i would write a tiny program that hits a url on a web server every fifteen minutes and then just parse the web logs to determine what machines hit it when they are supposed to be off

install the program on all the target machines
 

DaveSimmons

Elite Member
Aug 12, 2001
40,730
670
126
You might look at desktop management applications from Altiris, Microsoft, etc. since they can do other things like "push out" software updates to all of the PCs at once.

They cost, but they don't cost developer time to write from scratch. The extra features might also reduce time for other management tasks like software installs.

Edit: FoBot's suggestion would be easy to write with the Internet Transfer Control in VB or the Wininet library for VIsual C++. Just do a HTTP GET to a static web page.

If your PCs have dynamic IPs you'll need some way to map them though, maybe by running a log script page on the server instead of a static page, and having each PC do the GET with an ID ( ...url...?myid=pc10234 ).
 

Reel

Diamond Member
Jul 14, 2001
4,484
0
76
Why not use readily available tools such as NetBIOS or networking tools and just do it in a simple scripting language? These are company-controlled systems with known firewall parameters and configurations so it shouldn't be a problem to determine if it will respond to a ping.
 

YouTube

Member
Mar 26, 2007
60
0
0
Thanks, you guys got some pretty neat suggestions!

i am not familiar with programming but it seems like my supervisor want me to write a mall program.... like what FoBoT said, what kind of language would you recommend?
 

puffff

Platinum Member
Jun 25, 2004
2,374
0
0
If your company assigns static IPs to all its computers, you could just ping each machine at the specified time and see which ones respond. This could be simpler in that you don't need to go around and install something at each desktop.
 

YouTube

Member
Mar 26, 2007
60
0
0
Originally posted by: DaveSimmons
You might look at desktop management applications from Altiris, Microsoft, etc. since they can do other things like "push out" software updates to all of the PCs at once.

They cost, but they don't cost developer time to write from scratch. The extra features might also reduce time for other management tasks like software installs.

Edit: FoBot's suggestion would be easy to write with the Internet Transfer Control in VB or the Wininet library for VIsual C++. Just do a HTTP GET to a static web page.

If your PCs have dynamic IPs you'll need some way to map them though, maybe by running a log script page on the server instead of a static page, and having each PC do the GET with an ID ( ...url...?myid=pc10234 ).


Thanks... i'll try C++

is this syntax correct??

for (computerid=0; computerid<totalcomputerid; computerid++)
{
record(computerid);
}



 

Garet Jax

Diamond Member
Feb 21, 2000
6,369
0
71
Originally posted by: YouTube
Thanks, you guys got some pretty neat suggestions!

i am not familiar with programming but it seems like my supervisor want me to write a mall program.... like what FoBoT said, what kind of language would you recommend?

You won't need to write anything.

Install Apache (or equivalent web server - Apache is free)
Configure a scheduled task to run after 6:00pm on every machine using the iexplore.exe executable with a parameter that points to the machine where you installed Apache. Check the access logs to see which machines have hit the webserver.
 

Alphathree33

Platinum Member
Dec 1, 2000
2,419
0
0
Exactly what position do you hold where you're "not familiar with programming" and are asked to write and deploy software to hundreds of computers?
 

Alphathree33

Platinum Member
Dec 1, 2000
2,419
0
0
Originally posted by: YouTube
Originally posted by: DaveSimmons
You might look at desktop management applications from Altiris, Microsoft, etc. since they can do other things like "push out" software updates to all of the PCs at once.

They cost, but they don't cost developer time to write from scratch. The extra features might also reduce time for other management tasks like software installs.

Edit: FoBot's suggestion would be easy to write with the Internet Transfer Control in VB or the Wininet library for VIsual C++. Just do a HTTP GET to a static web page.

If your PCs have dynamic IPs you'll need some way to map them though, maybe by running a log script page on the server instead of a static page, and having each PC do the GET with an ID ( ...url...?myid=pc10234 ).


Thanks... i'll try C++

is this syntax correct??

for (computerid=0; computerid<totalcomputerid; computerid++)
{
record(computerid);
}

Yes -- just copy that exact code into VC++ and compile it to an executable and deploy it to all of the computers. Everything will work like magic.

P.S. You completely missed DaveSimmons' point. He was suggesting that you have each computer that you want to track automatically call up a web page on a central server at 6pm each day.

Then you just check the server logs and see who the culprits are.

This wouldn't require any iteration over computer IDs. It would require iteration through the server logs, either manually or automatically.
 

YouTube

Member
Mar 26, 2007
60
0
0
Originally posted by: Alphathree33
Originally posted by: YouTube
Originally posted by: DaveSimmons
You might look at desktop management applications from Altiris, Microsoft, etc. since they can do other things like "push out" software updates to all of the PCs at once.

They cost, but they don't cost developer time to write from scratch. The extra features might also reduce time for other management tasks like software installs.

Edit: FoBot's suggestion would be easy to write with the Internet Transfer Control in VB or the Wininet library for VIsual C++. Just do a HTTP GET to a static web page.

If your PCs have dynamic IPs you'll need some way to map them though, maybe by running a log script page on the server instead of a static page, and having each PC do the GET with an ID ( ...url...?myid=pc10234 ).


Thanks... i'll try C++

is this syntax correct??

for (computerid=0; computerid<totalcomputerid; computerid++)
{
record(computerid);
}

Yes -- just copy that exact code into VC++ and compile it to an executable and deploy it to all of the computers. Everything will work like magic.

:|
 

DarkThinker

Platinum Member
Mar 17, 2007
2,822
0
0
Originally posted by: puffff
If your company assigns static IPs to all its computers, you could just ping each machine at the specified time and see which ones respond. This could be simpler in that you don't need to go around and install something at each desktop.

That was what I was going to suggest, it is extremley easy to write a script that would ping the addresses (or hostnames that way no need for static ips) and parse for specific responses then log the data into a nicely formatted text file.
 

Atheus

Diamond Member
Jun 7, 2005
7,313
2
0
Originally posted by: Reel
Why not use readily available tools such as NetBIOS or networking tools and just do it in a simple scripting language? These are company-controlled systems with known firewall parameters and configurations so it shouldn't be a problem to determine if it will respond to a ping.

^ that one
 
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |