To Setup computers to come on and go off automatically
1> Enable PXE in the Bios of all computers. Some older drivers may require you to enable PXE in the software of the network cards although XP should work automatically for most. Set the default to boot to the Harddrive (not the network as that is booting to NIC - see PXE boot in other section)
2> Download the WOL.exe application from here.
3> On the Primary DC create a folder called Shutdown on the C:\ and copy the wol.exe application into it.
4> Download the two scripts shutdown.bat and startup.bat and copy into the C:\Shutdown folder.
5> You need a list of all the MAC address of all your computers in your network. The Easiest way to do that is to go into DHCP and right click the Address Leases and choose "export list". You will have to clean it up of course using Excel.
6> If you add :: before the name you can have it as a reference in the list so you know what Mac Address goes with what computer. I have found that using Excel and getting things all setup and then exporting to csv and then removing all the commas is the easiest way to set up the startup.bat file.
7> The Shutdown.bat file only needs to be modified to include all the names of your computers. You will have to add them to the list as you get them.
8> Once you have your batch files setup and ready to go (I have multiple ones for different locations) you can set them up as a Scheduled Task to run the batch files at 7:30am to startup and at 8:00pm to shutdown.