Sharing Network Security Key

  1. Posts : 6
    Windows 10

    Sharing Network Security Key

    Hello everyone. I wish to connect my computer to a wireless router. Unfortunately, I don't not know the password for the wireless router. While I do know how to reset the password, other people will no longer be able to connect to the router, if I were to change the password. So if you would tell me how to access Windows 10, on a computer which is connected to the wireless router, and store the key on a thumb drive, I would very much appreciate it.

    Basically, how do I use Windows 10 to save the network security key on a flash drive?

    Thank you very much.
      My Computer

  2. Posts : 5,478

    From elevated command prompt:

    netsh wlan export profile key=clear folder="%UserProfile%\Desktop"

    Then copy the file(s) generated (one per interface) from the desktop to your thumb drive.

    Alternatively you can open the file in notepad and just write down the password (shown in red here).

    <?xml version="1.0"?>
    <WLANProfile xmlns="">
    	<MacRandomization xmlns="">
    More details here:
    Backup and Restore Wireless Network Profiles in Windows 10 - Windows 10 Network Sharing Tutorials
      My Computer

  3. Posts : 6
    Windows 10
    Thread Starter

    I don't currently have access to the network, I mentioned in the original post, but I look forward to trying out this solution. When I do I will let you know how well it works. Thank you for sharing this solution with me.
      My Computer

  4. Posts : 25,084
    10 Home x64 (21H2) (10 Pro on 2nd pc)

    perezprograms said:
    I don't currently have access to the network, I mentioned in the original post...
    Welcome to TenForums @perezprograms

    You don't need access. If you have successfully connected in the past you should already have the profile for it stored on your PC. Try...

    netsh wlan show profiles
      My Computers


  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 17:24.
Find Us

Windows 10 Forums