Remote Registry
Moderator: General Moderators
-
thekingster
- Forum Newbie
- Posts: 3
- Joined: Wed Dec 22, 2004 8:57 am
Remote Registry
Does anyone know if it is possible to access the registry on another machine on the network using php?
Rights are not an issue as the machine using it will be on as a domain admin.
I just want to query some keys to get information on version numbers and things like that.
Thanks in advance.
Rights are not an issue as the machine using it will be on as a domain admin.
I just want to query some keys to get information on version numbers and things like that.
Thanks in advance.
-
thekingster
- Forum Newbie
- Posts: 3
- Joined: Wed Dec 22, 2004 8:57 am
Well I can do it in VB so why not through a http frontend?
I think you are missing my point, this is for intranet use only.
I basically want to run a php page on the server that will use IIS, and it will query all the machines on the network for things like virus software versions and install dates etc. All this info is held in the registry on the workstations.
It would be no different from going into the registry on the server and going to connect to remote registry, except if I wanted to check all the workstations I would have to connect to every registry on the network and manually check the keys when I would like it to all be on a nicely formatted web browser
I think you are missing my point, this is for intranet use only.
I basically want to run a php page on the server that will use IIS, and it will query all the machines on the network for things like virus software versions and install dates etc. All this info is held in the registry on the workstations.
It would be no different from going into the registry on the server and going to connect to remote registry, except if I wanted to check all the workstations I would have to connect to every registry on the network and manually check the keys when I would like it to all be on a nicely formatted web browser
You might well be able to run a VB app on the server that queried the registry over the network and returned the data to PHP through an exec() or system() function call. But thats not really what you asked in your initial post, you asked if it was possible in PHP. Which its not.thekingster wrote:Well I can do it in VB so why not through a http frontend?
- John Cartwright
- Site Admin
- Posts: 11470
- Joined: Tue Dec 23, 2003 2:10 am
- Location: Toronto
- Contact:
What does Perl give me access to that PHP doesn't? PHP has the same level of socket and IO access as Perl, so I can't imagine what you mean. Obviously Perl has CPAN, so code may already have been written to do various things, but thats hardly the same as saying the same things can't be done in PHP.You are wrong there aswell. :O)
That's a word. I bet a round of Xmas cookies (good ones, not the crappy ones) against itJoe wrote:It was at college I seen this perl script in action and I will try to get it after xmas and show you guys.patrikG wrote:I'd be interested to see - show usJoe wrote: I can put a bet on it pal! :O)
Could be persuaded to change the cookies to a round of beers