Windows命令点滴

1、用于私网的IP地址段:

10.0.0.0/8: 10.0.0.0~10.255.255.255
172.16.0.0/12: 172.16.0.0~172.31.255.255
192.168.0.0/16: 192.168.0.0~192.168.255.255

2、汇总当前连接数:

C:\Users\Administrator>netstat -ano | find "4433" /C

3、桌面图标设置:

rundll32.exe shell32.dll,Control_RunDLL desk.cpl,,0

4、强制删除非空目录\文件:

C:\>rmdir /S /Q C:\YQTRACK\RemoteGather\RecordData\Html
C:\>del /F /A /Q C:\YQTRACK\RemoteGatherV6\libzmq.dll

5、Win2012打开网页速度慢:

netsh int tcp set global ecn=disable

6、关闭Win10自动更新:

运行 --> gpedit.msc --> 计算机管理 --> 管理模板 --> Windows组件 --> Windows更新 --> 配置自动更新(已禁用)

7、将Notepad2加入到右键[REG]

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\*\shell\Notepad2]

[HKEY_CLASSES_ROOT\*\shell\Notepad2\command]
@="C:\\tools\\Notepad2\\Notepad2.exe %1"

8、配置网络地址

配置静态IP:
netsh interface ip set address "Ethernet0" static 192.168.1.135 255.255.255.0 192.168.1.1

配置DNS:
netsh interface ip set dns "Ethernet0" static 202.96.134.133

显示IP地址和其他信息:
netsh interface ip show config

9、本地端口转发

netsh interface portproxy add v4tov4 listenaddress=172.16.1.119 listenport=7000 connectaddress=127.0.0.1 connectport=7000
netstat -ano | find "7000"

    如果不能正常转发,检查“IP Helper”及“WinHTTP Web Proxy Auto-Discovery Service”是否正常运行。

10、Windows动态端口修改:

查看动态端口:
netsh int ipv4 show dynamicport tcp
修改动态端口:
netsh int ipv4 set dynamicport tcp start=10000 num=50000

11、删除windows server backup备份

C:\>Wbadmin delete catalog

12、度盘助手:

https://chrome.google.com/webstore/category/extensions?hl=zh-CN  --> tampermonkey
https://greasyfork.org/scripts/23635-%E7%99%BE%E5%BA%A6%E7%BD%91%E7%9B%98%E7%9B%B4%E6%8E%A5%E4%B8%8B%E8%BD%BD%E5%8A%A9%E6%89%8B/code/%E7%99%BE%E5%BA%A6%E7%BD%91%E7%9B%98%E7%9B%B4%E6%8E%A5%E4%B8%8B%E8%BD%BD%E5%8A%A9%E6%89%8B.user.js

13、解决total commander中找不到迅雷下载目录“TDDOWNLOAD”的问题:

       cmd命令定位到下载目录所在盘。然后输入如下命令:

E:\Download>attrib -s TDDOWNLOAD

14、命令行重启SSVIP服务:

REM 停止SSVIP服务
taskkill /F /IM ***R-dotnet4.0.exe
REM 启动SSVIP服务
start /D "D:\SSVIP" ***R-dotnet4.0.exe

15、解决Office 2016打开网上下载文件,提示"文件已损坏"。

文件 --> 选项 --> 信任中心 --> 信任中心设置 --> 收保护的视图 -->去掉3个项目前边的对勾。

 

[THE END]

转载于:https://www.cnblogs.com/configure/p/5312137.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值