| View previous topic :: View next topic |
| Author |
Message |
dmonckton Contributor


Joined: 09 Aug 2002 Posts: 117 Location: Lewes, U.K.
|
Posted: Thu Apr 08, 2010 9:05 am Post subject: Wake on Lan |
|
|
Hi All
Does anybody know how re-enable Wake On Lan on a range of different PC's. Our work network has a whole range of HP PC's, most of which have
Wake on Lan disabled. I need to re-enable it so I can patch them during the night. I have a VDS client running on all the PC's which can execute any VDS scripts I write and save to a file server.
Thanks
David.M |
|
| Back to top |
|
 |
Rubes_sw Valued Contributor


Joined: 11 Jun 2001 Posts: 625 Location: Northern Ireland
|
Posted: Thu Apr 08, 2010 9:09 am Post subject: |
|
|
If they are windows XP, goto the device manager, and then select the network card and you should be able to enable WOL, if the network card is built into the motherboard, you can also do it in the bios.
Nathan
I had a program once called Shut-It-Down, which was a server and client based VDS program, that allowed you to shutdown, reboot, logoff users/pcs and also wake up pcs automcatically and also based on a time shedule. |
|
| Back to top |
|
 |
dmonckton Contributor


Joined: 09 Aug 2002 Posts: 117 Location: Lewes, U.K.
|
Posted: Tue Apr 13, 2010 1:01 pm Post subject: |
|
|
Hi All
This is what I came up with...
| Code: |
:WOL
list create,7
runh powercfg.exe" /devicequery wake_programmable",pipe,wait
list append,7,@pipe()
rem NIC white list
if @match(7,Broadcom)
%%nic = @item(7)
elsif @match(7,Gigabit)
%%nic = @item(7)
elsif @match(7,NetXtreme)
%%nic = @item(7)
elsif @match(7,PRO/1000)
%%nic = @item(7)
elsif @match(7,Ethernet)
%%nic = @item(7)
elsif @match(7,Network)
%%nic = @item(7)
else
%%nic =
end
list close,7
if @null(%%nic)
rem no match found
else
runh powercfg.exe" /deviceenablewake "@chr(34)%%nic@chr(34),wait 60
rem runh powercfg.exe" /devicedisablewake "@chr(34)%%nic@chr(34),wait
end
exit
|
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|