Hi,
i am using my central HTPC in the livingroom as a fileserver for all clients, so there are some needed features which I am missing so far.
- Wakeup the HTPC if a client goes online
- Keep the HTPC running if a client is online or different other terms are fullfilled
- Automatically go to standby if no client is running
- Send server to standby even if ther is network traffic (for example filesharing tools)
Most of this I can do with the MP integrated Powerscheduler, but not all So I have created the attached VBS Script which can do:
- Monitoring of local processes
- Monitoring of PC names or IPs (online or not)
- Monitoring a Folder (Files existent or not)
- Monitoring a cmd program output (for example a portquery: is a remote port listening or not?)
If one of this term is fulfilled the script will automatically configure the Powerscheduler not to go to sleep, if none is fulfilled Powerscheduler will send the HTPC to sleep.
Installation on the server side:
- Configure Mediaportal DB parameters in the script
- Configure needed terms in the script (client ip's, ...)
- Create a task on the Server-HTPC which starts the VBS script every user logon or on system start
- Configure the network card energy parameters to wake up only by administratorstation packets (wol packets)
Installation on the client side:
- Configure the server MAC in the cmd-File
- Copy wol.exe and wol.cmd to c:\programme\wol\
- Put a link of wol.cmd to your Autostart folder
That's it Now the client is starting the server automatically and the script keeps the server up as long as the client is running or because of other configured terms. For me this is the perfect solution for using the HTPC as a fileserver for all my clients.
Regards,
nicx...
i am using my central HTPC in the livingroom as a fileserver for all clients, so there are some needed features which I am missing so far.
- Wakeup the HTPC if a client goes online
- Keep the HTPC running if a client is online or different other terms are fullfilled
- Automatically go to standby if no client is running
- Send server to standby even if ther is network traffic (for example filesharing tools)
Most of this I can do with the MP integrated Powerscheduler, but not all So I have created the attached VBS Script which can do:
- Monitoring of local processes
- Monitoring of PC names or IPs (online or not)
- Monitoring a Folder (Files existent or not)
- Monitoring a cmd program output (for example a portquery: is a remote port listening or not?)
If one of this term is fulfilled the script will automatically configure the Powerscheduler not to go to sleep, if none is fulfilled Powerscheduler will send the HTPC to sleep.
Installation on the server side:
- Configure Mediaportal DB parameters in the script
- Configure needed terms in the script (client ip's, ...)
- Create a task on the Server-HTPC which starts the VBS script every user logon or on system start
- Configure the network card energy parameters to wake up only by administratorstation packets (wol packets)
Installation on the client side:
- Configure the server MAC in the cmd-File
- Copy wol.exe and wol.cmd to c:\programme\wol\
- Put a link of wol.cmd to your Autostart folder
That's it Now the client is starting the server automatically and the script keeps the server up as long as the client is running or because of other configured terms. For me this is the perfect solution for using the HTPC as a fileserver for all my clients.
Regards,
nicx...