- 快速配置路由,同时使用内网和外网
Windows外网内网并用,配置路由
使用情况:在需要使用外网的同时要能访问内网,可进行以下操作,场景:如需要给其他人开远程且又需要访问内网服务器,即可进行该操作
内网:是指某一区域内由两台以上计算机互联成的计算机组,局域网是封闭型的,可以由两台计算机组成,也可以由上千台计算机组成。
外网:即广域网,又称公网。是连接不同地区局域网或城域网计算机通信的远程网。
如下步骤:
1.打开本机cmd,快捷键CTRL+R
cmd
2.在本机cmd输入route -f //清除所有不是主路由
route -f
3.在本机cmd输入route add -p 0.0.0.0 mask 0.0.0.0 本机ip
route add -p 0.0.0.0 mask 0.0.0.0 本机ip
4.在本机cmd输入route add -p 内网ip地址 mask 子网掩码 默认网关
route add -p 内网ip地址 mask 子网掩码 默认网关
5.重启本机电脑即可
6.重启成功后可使用ping 内网ip 进行查看内网是否通,外网测试打开浏览器能搜索即可
为Internet 协议版本4截图,也是配置内网网关参数

原文链接:https://blog.csdn.net/weixin_48588665/article/details/126553124
- Windows11更改右键菜单
Restore old Right-click Context menu in Windows 11
Starting with Windows 11, the context menu in the File Explorer is refreshed, which is compact and is based on Modern design. However, the refreshed context menu shows fewer items compared to the Legacy Context menu. This article discusses how to restore the Legacy Context menu in Windows 11, showing up by default.
Recycle bin modern context menu
You can show the Legacy Right Click Context menu by clicking Show more options at the end of the list or pressing Shift+F10. If you want it by default, you need to add a registry entry below so that every time you right-click a File or Folder, it shows the Legacy Context menu by default.
Restore the old Context Menu in Windows 11
- Right-click the Start button and choose Windows Terminal.
- Copy the command from below, paste it into Windows Terminal Window, and press enter.
- reg.exe add “HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32” /f /ve
- Restart File Explorer or your computer for the changes to take effect.
- You would see the Legacy Right Click Context menu by default.
Command in Windows Terminal to Restore old context menu
The Registry change masks the new COM object that executes the compact menus with the “Show more options” entry. Once you get this performed, Explorer reverts to the Legacy context menu.
Restore Modern Context menus in Windows 11
To undo this change, in a Terminal Window, execute this command:
reg.exe delete “HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}” /f
Restart the File Explorer or Computer for the changes to take effect.
These steps can help you to enable the old context menu in Windows 11.
Reference link click here
- Windows system remove hiberfil.sys and disabled hibernate feature
Run the command in cmd:
Disable: powercfg -h off
Enable:powercfg -h on
Reduce the hibernate file szie:Powercfg –h –size %70 (At least 40%)