forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Wake on Lan

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
dmonckton
Contributor
Contributor


Joined: 09 Aug 2002
Posts: 117
Location: Lewes, U.K.

PostPosted: Thu Apr 08, 2010 9:05 am    Post subject: Wake on Lan Reply with quote

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
View user's profile Send private message
Rubes_sw
Valued Contributor
Valued Contributor


Joined: 11 Jun 2001
Posts: 625
Location: Northern Ireland

PostPosted: Thu Apr 08, 2010 9:09 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
dmonckton
Contributor
Contributor


Joined: 09 Aug 2002
Posts: 117
Location: Lewes, U.K.

PostPosted: Tue Apr 13, 2010 1:01 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
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

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group