09-02
                                0
                            
                            win命令
1.删除休眠文件
Powercfg -h off2.Win系统修复
Dism /Online /Cleanup-Image /ScanHealth 
Dism /Online /Cleanup-Image /CheckHealth 
DISM /Online /Cleanup-image /RestoreHealth 3.清空Windows缓存
C:\Windows\SoftwareDistribution\Download
C:\Users\Administrator\AppData\Local\Temp4.保留空间
启用系统保留空间
DISM.exe /Online /Get-ReservedStorageState
释放保留空间
DISM.exe /Online /Set-ReservedStorageState /State:Disabled5.终端历史记录
C:\Users\Administrator\AppData\Roaming\Microsoft\Windows\PowerShell\PSReadLine6.资源监视
- 可以通过 Win + R 打开运行窗口,输入 resmon 直接启动资源监视器。
7.端口查询
查看占用端口的进程ID
netstat -ano | findstr
通过PID找到对应的进程名称
tasklist | findstr8.激活
win10
slmgr /ipk 密钥
slmgr /skms kms.03k.org
slmgr /atowin7
slmgr.vbs -ipk <你的产品密钥>
slmgr.vbs -ato 
                            