背景
在内网开发了一个调用摄像头登录的web系统,在一次调整网络防火墙后,访问登录也是会出现chroma提醒:“您要使用的网络可能需要您访问其登录页面”:
image.png
点击链接后跳转到互联网连接,修改注册表后访问正常,特编写批处理,方便解决问题。
解决方案参考
https://jingyan.baidu.com/article/ad310e80620b535849f49ef9.html
防止未来连接丢失,特附图片
jingyan.baidu.com_article_ad310e80620b535849f49ef9.html.png
脚本编写参考
https://blog.csdn.net/dengcheng5745/article/details/101224413
防止未来连接丢失,特附图片
blog.csdn.net_dengcheng5745_article_details_101224413.png
实现效果脚本内容
reg add "HKLM\SYSTEM\CurrentControlSet\Services\NlaSvc\Parameters\Internet" /v "EnableActiveProbing" /t reg_dword /d "0" /f>null
shutdown -r -t 0