PDA

View Full Version : Windows script



Rob van der Does
05-09-15, 10:33
To make sure my Windows 8.1 lappy goes to sleep, I run the script "powercfg -requestsoverride DRIVER srvnet System". That works fine.

Question: how can I automate the running of this script after every boot?

deleted
05-09-15, 10:38
Perhaps using Task Scheduler.

dpullen87
05-09-15, 10:39
Could you use local group policy and set it as a startup script?

Rob van der Does
05-09-15, 10:50
I should have said 'Windows 8.1 Home'; the home version has no group policy (editor).

Rob van der Does
05-09-15, 10:51
BTW: It doesn't necessarily to run at boot time, as long as it will be run within say 10 minutes after every boot.

deleted
05-09-15, 10:55
http://www.sevenforums.com/tutorials/67503-task-create-run-program-startup-log.html

ArowonA
05-09-15, 10:56
As Oscram said, task scheduler is probably the best option, you can set it to run things at login and with full admin rights

Rob van der Does
05-09-15, 11:05
Thanks, that seems to work.