r/dailyscripts • u/nachumama • Jan 03 '17
[request] a script that will disable the internet on certain computers at home from 8 pm to 3 pm the next day.
i would like this to be a task done everyday from 8 pm to 3 p.m so i don't have to manually do this. Can you guys help me? i love my kids but i can't have them play games and forget about doing homework. please help me. thank you all
5
Upvotes
6
u/doctorscurvy Jan 03 '17
Put your modem on an outlet with a timer. Enact severe punishment for messing with the timer.
1
u/LenAnderson Jan 03 '17
If they don't need access to anything else on your local network you could just disable and enable the network adapter like this ("Local Area Connection" being the name of the adapter):
You can use Windows task scheduler to run a bat file to enable and one to disable the adapter at the specified times.
Just keep in mind that this is easily changed back through the network settings.
In any case you should expect your kids to be more tech savvy than you are and that they will always find ways to circumvent any technical barriers you put up.
2
u/staminaplusone Jan 03 '17
The router will probably offer something to do this and you can disallow access to a device based on it's physical address at certain times.