禁用互联网而不接触硬件
我如何在不接触硬件(调制解调器、路由器等)并且不从控制面板的网络连接中禁用它的情况下禁用计算机上的互联网。有没有办法在注册表上调整它?
我想实现这个目标来控制我妹妹对家里电脑的使用。她有点上瘾了,所以我妈妈建议我制作一个应用程序,可以在到达特定时间时执行此类操作。 例如当时间到晚上 10 点时,互联网会自动禁用,这样她就无事可做,而是关闭了电脑。
我已经知道如何处理检查时间等,但我唯一缺少的是它所需的注册表调整。
谢谢那些愿意回答的人。
How would I go about disabling the internet on my computer without touching the hardware (modem, router, etc) and without disabling it from the Network Connections of the Control Panel. Is there a way to tweak it on the registry instead?
I'm wanting to achieve this to control my younger sister's usage of our computer at home. She's kinda getting addicted so my mom suggested that I make an application that can do such thing when a certain time is hit. E.g. when the time is 10pm the internet gets disabled automatically so she won't have anything to do and shut down the comp instead.
I already know how to deal with checking the time and such but the only thing I'm missing is the registry tweak required for it.
Thank you for those who'd answer.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
如何使用此处描述的命令行命令:http://www.asp101.com/articles/stanley/nicsettings/default.asp 将 IP 地址更改为无法工作的地址或伪造的 dns 服务器?您可以让时间检查应用程序调用批处理文件或简单地执行命令。
What about using the command line commands described here:http://www.asp101.com/articles/stanley/nicsettings/default.asp to change the ip address to something that won't work or a bogus dns server? You could have your time-checking application call the batch file or simply execute the command.
调整注册表几乎是一个坏主意,导致需要重新安装 Windows。您应该查看家长控制来设置访问时间限制。理想情况下,您的妹妹将在计算机上拥有自己的帐户,以便您设置限制。
Tweaking the registry is pretty much a bad idea, leading to the need to reinstall Windows. You should look at the parental controls to set access time restrictions. Ideally your sister will have her own account on the computer, allowing you to set restrictions.