查看连接过哪些无线网
1 | netsh wlan show profile |
查看无线网密码
1 | netsh wlan show profile name="301-1" key=clear |
查看所有连接过的无线密码
1 | for /f "skip=9 tokens=1,2 delims=:" %i in ('netsh wlan show profiles') do @echo %j | findstr -i -v echo | netsh wlan show profiles %j key=clear |
windows 命令行改无线密码
1 | netsh wlan connect name= ssid=linglong interface="Wireless Network Connection" key=12345678 |
创建SSID:linglong的无线连接配置
1 | netsh wlan set profileparameter name=linglong SSIDname=linglong keytype=passphrase keyMaterial=Soltiude |
连接SSID:linglong的无线网
1 | netsh wlan connect ssid=linglong name=linglong |
断开无线连接
1 | netsh wlan disconnect |
禁用/启用WLAN无线网卡
1 | netsh interface set interface name=wlan admin=disable/enable |
将无线连接导出为.xml模式的文件
1 | netsh wlan export profile name=301-1 |
导入无线网配置文件
1 | Netsh WLAN add profile filename="存放路径" |
删除无线网密码
1 | netsh wlan delete profile name=linglong |
把本机做为无线热点
netsh wlan show drivers //先查看网卡属性如果支持承载网络,则下面命令可用
netsh wlan set hostednetwork mode=allow ssid=tests key=tests123
netsh wlan start hostednetwork
netsh wlan show hostednetwork
查看历史记录
1 | doskey/history |
修改windows用户名
1 | control userpasswords2 |
修改windows密码
1 | net user admin 123456 |
把admin用户加入Administrator组
1 | net localgroup Administrators admin /add |
修改windows DNS
1 | netsh interface ip del dns name="以太网" addr=172.16.16.1 |
修改windows 路由
1 | route -p add 172.16.0.0 mask 255.255.0.0 172.16.16.254 |
查看设备ID
1 | devcon find pci/* findstr 1521 |
devcon 工具
下载:放到system32下
http://ftp-new-pc.pconline.com.cn/5e89cca8560f44f65d34039e83a9f995/pub/download/201010/pconline1482488683971.zip