win11 使用记录

自动维护

https://jingyan.baidu.com/article/f3ad7d0f0dc26b09c3345b8c.html

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\Maintenance

- 新建 - DWORD(32位)
- 值为1

需要重启

docker

  • 无法使用某些端口

https://blog.csdn.net/u012558210/article/details/127999746

net stop winnat

net start winnat

也有说法可以

https://www.cnblogs.com/uncmd/p/16056993.html

netsh int ipv4 add excludedportrange protocol=tcp startport=3306 numberofports=1 store=persistent

ssh记录密码

plink 192.168.1.1 -l root -pw password

ssh user@host -P port

https://blog.csdn.net/wwwwwwgame/article/details/127722877

ssh保持连接 (未验证)

https://blog.csdn.net/humanbeng/article/details/120062468
%USERPROFILE%/.ssh/config 文件中添加

Host *
    ServerAliveInterval 30

wsl

wsl2无法启动

Error code: Wsl/E_INVALIDARG

win11的wsl2还是不稳定啊,这个垃圾玩意还是不可靠

打开文件卡顿

智能应用控制

安全中心-应用和浏览器控制-关闭

此处评论已关闭