windows系统bat批处理 查看当前电脑连接过的wifi名字和wifi密码

简介: windows系统bat批处理 查看当前电脑连接过的wifi名字和wifi密码

方法一:简单粗暴

直接上脚本

@echo off

chcp 437 >nul

for /f "tokens=1* delims=:" %%i in ('netsh wlan show profiles ^| findstr /c:"All User Profile"') do (

    call :GetPass %%j

)

pause

goto :eof

:GetPass

echo WiFi : %*

for /f "delims=" %%a in ('netsh wlan show profile name^="%*" key^=clear ^| findstr /c:"Key Content"') do (

    echo %%a

)

goto :eof

搞成bat文件 直接运行

效果下图

wifi名 密码

方法二:繁琐命令

netsh wlan show profiles

输入命令可以直接看到所有连接过的wifi名称

输入命令查看一个wifi的密码和其他信息

netsh wlan show profiles name="上图wifi的名字" key=clear

相关文章
|
9天前
|
数据安全/隐私保护
1076 Wifi密码 (15 分)
1076 Wifi密码 (15 分)
|
17天前
|
数据安全/隐私保护 Windows
windows系统bat批处理 笔记本开wifi 笔记本查看wifi密码
windows系统bat批处理 笔记本开wifi 笔记本查看wifi密码
|
1月前
|
Linux Windows
Windows Server 下文件同步
Windows Server 下文件同步
33 0
|
11天前
|
编解码 安全 网络安全
RealVNC的 VNC server在windows7系统下无法正确运行
在Windows 7上运行旧版VNC Server(如4.1.2)可能存在兼容性问题,但可通过调整配置解决。步骤包括:安装VNC Server,设置兼容性模式(选择Windows XP SP3),启动VNC Server,配置VNC连接参数。若遇到问题,检查防火墙设置,确保系统更新,并考虑升级到新版VNC Server以提高性能和兼容性。
|
25天前
|
开发框架 .NET API
在Windows Server 2008 R2上运行.Net 8应用
在Windows Server 2008 R2上成功运行.Net 8程序,需安装三个补丁:Windows Server 2008 R2 SP1 (KB976932)是基础更新;VC_redist.x64提供MSVC库支持;KB3063858解决.NET运行时加载`kernel.dll`的路径问题。KB3063858可能需要KB2533623。详细信息和下载链接在文中给出。
|
29天前
|
网络协议 Unix Linux
【技术分享】Server / Server Software / Unix Windows OS
Server / Server Software / Unix Windows OS
54 2
|
1月前
|
开发框架 .NET 数据库
修改windows server 2008 时间和日期格式
修改windows server 2008 时间和日期格式
18 1
|
1月前
|
开发框架 JavaScript 安全
WIndows Server 2016 部署 Web服务(简单篇)
WIndows Server 2016 部署 Web服务(简单篇)
|
1月前
|
安全 测试技术 网络安全
WIndows Server 2016 部署 PKI + 证书
WIndows Server 2016 部署 PKI + 证书