Jump to content

Recommended Posts

Hello.

 

Basically i work in a organisation and there are many rooms of computers all on the same network. So basically i want to know if the following is possible.

 

What we would like is a web front end to be able to shut them down, either all of them or room by room. So, is it possible to run a command on the webserver (also on the network) to tell a certain computer or groups of computers (mac addresses can be found, along with computer names and IP addresses) to shutdown, or would i have to try and pass a variable to some software to do it?

 

Any advice or code is welcomed?

 

Thanks.

Link to comment
https://forums.phpfreaks.com/topic/127822-is-it-possible/
Share on other sites

Webserver for now will be running on xp with appserv till the new one comes in. The main server is server 2007 and all machines are XP.

 

We have a global administrator username and password for all machines so presumably we can just use that?

 

Thanks for any advice.

Link to comment
https://forums.phpfreaks.com/topic/127822-is-it-possible/#findComment-661759
Share on other sites

in theory you would have a db of the login of all the machines on the local machine, you would then use this to log in to each machine and turn it off with function

 

string shell_exec  ( string $cmd  )

 

i belive in linux or windows i cant rember the command to log into another computer its -o server username password or somnthing similar

 

this is a hard way

Link to comment
https://forums.phpfreaks.com/topic/127822-is-it-possible/#findComment-662030
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.