Forgot your corporate Wi-Fi password, and your colleagues are on sick leave? Or do you need to connect a new device to the office network, but the password is only stored in the head of the system administrator, who is currently working remotely? Situations vary, but there is a solution: you can retrieve the password for your current Wi-Fi network directly from your work computer—if it's already connected. In this article, we'll explore this. legitimate methodsthat do not violate company security policy and do not require administrator rights (if you already have access to the network).
It is important to understand: all methods work only for networks to which the computer has already connectedIf the PC has never been connected to this Wi-Fi network, you won't be able to extract the password—it simply isn't in the system. Also, keep in mind that some corporate networks use dynamic passwords (for example, through 802.1X or WPA-Enterprise), which change with each connection. In this case, the old methods won't work—you'll need to contact the IT department.
Before you begin, please check:
- 🔹 Your computer currently connected to the target Wi-Fi network (or was previously connected).
- 🔹 You have rights local user (not necessarily an administrator).
- 🔹 Installed on PC Windows 7/10/11 (For macOS or Linux the methods will be different).
If everything matches, let's get started. Let's start with the simplest and safest method.
1. View the password through “Windows Settings” (without administrator rights)
This is the most universal method that works on Windows 10/11 No additional software required. Suitable for home and office networks. static password (not dynamic).
Instructions:
- Open
Start → Settings (⚙) → Network & Internet. - In the section
Wi-FiclickManaging known networks. - Select the desired network from the list and click
Properties. - Scroll down to the block
Security parametersand pressShow symbolsnext to the fieldNetwork security key.
Done! The password will be displayed in text form. If the button Show symbols Inactive — your account doesn't have sufficient rights. In this case, proceed to the next method.
Try the PowerShell method|Run the command prompt as administrator (if you have rights)|Use third-party utilities (see section 5)|Contact the company's IT department-->
⚠️ Attention: In some corporate networks, passwords are encrypted at the domain level (Active Directory). If you see a set of characters like••••••••orN/A, this means the network uses server-based authentication—it is impossible to extract the password locally.
2. Extracting the password via the command line (CMD)
If the GUI does not show the password, try to get it through command lineThis method works even on Windows 7 and does not require installation of additional software.
Open CMD as administrator (click Win + X and select Terminal (administrator)) and run the command:
netsh wlan show profile name="NETWORK_NAME" key=clear
Replace NETWORK_NAME the name of your Wi-Fi network (case-sensitive!). For example:
netsh wlan show profile name="Office_WiFi" key=clear
In the execution results, find the line Key content — this is the password. If you see an empty field or an error message instead, it means:
- 🔴 The network uses WPA-Enterprise (password is not stored locally).
- 🔴 Your account does not have permission to view this information.
- 🔴 The computer has never connected to this network (check the name!).
3. Using PowerShell to extract the password
PowerShell — a more powerful tool than CMD, and sometimes it can handle tasks where the command line fails. For example, it can display passwords for networks that aren't displayed in the graphical interface.
Launch PowerShell as administrator and run:
(netsh wlan show profile name="NETWORK_NAME" key=clear) -match'Key Contents'
If you need to display passwords all saved networks right away, use this script:
$profiles = netsh wlan show profiles | Select-String "All user profiles"foreach ($profile in $profiles) {
$name = $profile.ToString.Split(":")[1].Trim
$password = (netsh wlan show profile name="$name" key=clear) -match'Key contents'
Write-Host"Network: $name"
Write-Host"Password: $password" -ForegroundColor Green
}
The script will automatically scan all networks and display their passwords (if available). Please note: in corporate networks with 802.1X instead of a password you may see PSK or Absent - this means that authentication takes place through the server.
⚠️ Attention: Running scripts in PowerShell may be blocked by company security policies. If you see an errorExecution Policy, try temporarily allowing the command to runSet-ExecutionPolicy RemoteSigned -Scope Process(requires administrator rights).
4. View the password in the router settings (if you have access)
If your work computer is connected to Wi-Fi via an office router, and you have access to its web interface (for example, as a remote administrator), you can view the password in the device settings.
Standard steps:
- Find out Router IP addressFor this purpose,
CMDcompleteipconfigand find the lineMain gateway(For example,192.168.1.1). - Open your browser and enter this IP into the address bar.
- Log in (usually the login/password is indicated on the router sticker or in the documentation).
- Go to the section
Wi-Fi(orWireless) →Security(Security). - The password will be in the field
PSK password,KeyorPassphrase.
| Router brand | Wi-Fi password path | Default login/password |
|---|---|---|
| TP-Link | Basic → Wireless |
admin/admin |
| ASUS | Wireless → General |
admin/admin |
| MikroTik | Wireless → Security Profiles |
admin (password is empty) |
| D-Link | Wi-Fi → Security Settings |
admin/admin or empty |
If the router was configured by the IT department, the default password has likely been changed. In this case, this method will not work without the web interface login credentials.
TP-Link|ASUS|MikroTik|D-Link|Other|I don't know-->
5. Third-party password extraction programs (if nothing else helps)
When standard methods fail, specialized utilities come to the rescue. They can extract passwords even from WPA-Enterprise networks (if the computer has previously connected to them). Important: use only proven programsto avoid catching viruses.
Top 3 Wi-Fi Password Viewing Utilities:
- 🔧 WirelessKeyView (from NirSoft) is portable and requires no installation. It displays all saved passwords in a table.
- 🔧 WiFi Password Revealer - simple interface, export passwords to a file.
- 🔧 Magical Jelly Bean WiFi Password Revealer - supports Windows 11 and networks with WPA3.
How to use (using example) WirelessKeyView):
- Download the program from NirSoft official website (take it
Zip version, so as not to install). - Unzip the archive and run
WirelessKeyView.exe. - Find the required network in the table - the password will be in the column
Key (Ascii).
⚠️ Attention: Some antiviruses (for example, Kaspersky or ESET) can block WirelessKeyView as "potentially unwanted software." This is a false positive—the utility simply reads system data. If necessary, add it to the exceptions.
What should I do if the program doesn't show the password?
If in the column Key (Ascii) empty or characters are displayed •••••, this means:
1. The network uses 802.1X (corporate authentication) - the password is stored on the server, not on the PC.
2. The password was changed after the last connection (relevant for dynamic networks).
3. Your account does not have permission to read this information (restrictions Group Policy).
6. Alternative methods (for advanced users)
If none of the methods work, there are more complex options. These require technical skills and sometimes administrator rights.
Method 1: Export Wi-Fi settings to a file
IN CMD (as administrator) run:
netsh wlan export profile name="NETWORK_NAME" folder="C:\WiFi_Backup" key=clear
In the folder C:\WiFi_Backup a file will appear NETWORK_NAME.xmlOpen it with notepad - the password will be in the tag <keyMaterial>.
Method 2: View the password in the Windows registry
Open regedit (click Win + R, enter regedit) and follow the path:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Wlansvc\Interfaces\
In the subfolders, find the section with the name of your network - the password may be stored in binary format (conversion will be required).
Method 3: Using Linux Live USB
If your computer has strict restrictions, you can boot from Linux Live USB (For example, Ubuntu) and extract the password through the terminal:
sudo grep psk= /etc/NetworkManager/system-connections/*
⚠️ Attention: The last two methods (registry and Linux) may violate corporate security policies. Use them only with permission from your IT department or on personal equipment.
7. What to do if nothing works?
If all the above methods have failed, you are most likely facing one of the following situations:
- 🔒 The network uses 802.1X (enterprise) or Radius- authentication - the password is stored on the server, not on the device.
- 🔒 Your account is restricted by policies Group Policy (for example, in the domain Active Directory).
- 🔒 The password was changed since the last connection (relevant for dynamic networks in hotels or coworking spaces).
- 🔒 The computer is connected to the network via VPN or proxy, not directly.
In these cases, all that remains is:
- Contact us IT department companies with an official request.
- Use guest network (if available in the office).
- Connect via Ethernet cable (if allowed by security policy).
FAQ: Frequently asked questions about viewing Wi-Fi passwords
❓ Is it possible to find out the password for a Wi-Fi network that the computer has never connected to?
No. All the methods in this article only work for networks the device has previously connected to. If a network isn't in the list of saved networks, it's impossible to extract its password (unless you hack it, which is illegal).
❓ Why is the "Show characters" button in Windows Settings grayed out?
This means your account doesn't have sufficient privileges. Either you're not an administrator, or the network is using enterprise authentication (WPA-Enterprise), where the password is not stored locally.
❓ Will these methods work on MacBook or Linux?
No, the instructions are for Windows. For macOS need to use Keychain Access, and for Linux - commands like sudo cat /etc/NetworkManager/system-connections/*If necessary, we can prepare a separate article for these operating systems.
❓ Is it possible to extract the password from a phone if it is connected to this network?
Yes, but the methods are different. Android will be required root rights or a file manager with access to /data/misc/wifi/WifiConfigStore.xmlOn . iPhone This is impossible without jailbreaking—iOS doesn't provide access to Wi-Fi passwords.
❓ Is it legal to use programs like WirelessKeyView on a work computer?
Legally, yes, as long as you don't violate the company's security policy. However, many organizations prohibit the use of third-party software without permission from the IT department. To avoid problems, first check your company's policies.