当前位置: 首页 > news >正文

如何查看电脑连接的wifi的密码

问题

很多时候我们电脑连上wifi之后就把密码忘记了,这个时候如果同事问自己密码是多少,如果作为程序员说不知道是不是感觉有点不好意思,哈哈……

解决

我使用的是windows电脑,就以windows为例说明下自己是如何查看的。

  1. 打开windows命令行。按下windows + r快捷键,然后输入cmd回车就打开了
  2. 命令行输入netsh wlan show profiles 可以看到电脑已经配置了wifi。效果如下
C:\Users\username>netsh wlan show profiles

Profiles on interface WLAN:

Group policy profiles (read only)
---------------------------------
    <None>

User profiles
-------------
    All User Profile     : test-5G
  1. 然后输入netsh wlan show profiles name="profileName" key=clear就可以看到密码了。效果如下。Security settings中的Key Content后面的内容就是密码
C:\Users\username>netsh wlan show profiles name="test-5G" key=clear

Profile gc on interface WLAN:
=======================================================================

Applied: All User Profile

Profile information
-------------------
    Version                : 1
    Type                   : Wireless LAN
    Name                   : gc
    Control options        :
        Connection mode    : Connect automatically
        Network broadcast  : Connect only if this network is broadcasting
        AutoSwitch         : Do not switch to other networks
        MAC Randomization  : Disabled

Connectivity settings
---------------------
    Number of SSIDs        : 1
    SSID name              : "test-5G"
    Network type           : Infrastructure
    Radio type             : [ Any Radio Type ]
    Vendor extension          : Not present

Security settings
-----------------
    Authentication         : WPA2-Personal
    Cipher                 : CCMP
    Authentication         : WPA2-Personal
    Cipher                 : GCMP
    Security key           : Present
    Key Content            : aa123456

Cost settings
-------------
    Cost                   : Unrestricted
    Congested              : No
    Approaching Data Limit : No
    Over Data Limit        : No
    Roaming                : No
    Cost Source            : Default

相关文章:

  • Python爬虫html网址实战笔记
  • Linux(三)--文件系统
  • Quantitative Analysis: PIM Chip Demands for LLAMA-7B inference
  • AutoKeras(Python自动化机器学习)多模态数据和多任务
  • phpstrom创建thinkphp项目
  • Python 数据分析库之polars使用详解
  • AI:128-基于机器学习的建筑物能源消耗预测
  • 纯CSS实现3D立体文字“龙年大吉”源码附注释(文字内容可编辑)
  • (12)Hive调优——count distinct去重优化
  • 鸿蒙开发第3篇__大数据量的列表加载性能优化
  • Linux学习笔记(centOS)—— 文件系统
  • Windows平台git clone文件路径太长报错
  • 命令行参数和环境变量
  • C++ STL->list模拟实现
  • 【C++】实现Date类的各种运算符重载
  • 【机器学习笔记】 9 集成学习
  • 第73左侧菜单实现
  • 【NI-DAQmx入门】调整数据记录长度再进行数据处理
  • 第二节 zookeeper基础应用与实战
  • 多维时序 | Matlab实现TCN-RVM时间卷积神经网络结合相关向量机多变量时间序列预测
  • 2025年“投资新余•上海行”钢铁产业“双招双引”推介会成功举行
  • “90后”樊鑫履新乌兰察布市察右中旗副旗长人选
  • 北京公园使用指南
  • 宣称防老年痴呆的“原装进口”保健品McPee被指涉假,未获澳方销售批准
  • 王一博赛车故障退赛冲上热搜,工作室回应:下次再战
  • 关键词看中国经济“一季报”:稳,开局良好看信心