Sunday, January 19, 2014

Changing Windows Wifi key for the multiple machines in Network

In one of the places I have been working, the IT team was using the Network Wifi WPA Key for a couple of years. The biggest problem was that there were perhaps hundreds of devices connected on Wifi but no central way of managing these centrally. At the end they decided to bite the bullet and changed the keys.

Now as people started coming to office, the IT department was supposed to set the key instead of giving it away. In Windows 8, MS has removed the feature if "Managing Wireless networks". So to give a new Key, it would take some time.

To make things simple, we found out a very elegant solution which works for Windows 7 and 8.

Step 1: Set one Laptop with the Wifi key manualy
Step 2: Export the Key
netsh wlan export profile key=clear

Step 3: Write a simple batch file that would delete the old profile and set the new one.
netsh wlan delete profile name=[profile-name]
netsh wlan add profile filename="WiFi-[profile-name].xml"
netsh wlan connect [profilename]

Copy the profile-file and the batch file into a USB key and simply run it on every machine.

I am sure this could be extended to OSX and Linux but will update you if I find out.


  1. thank You for Sharing Happy Wheel game with us

    Happy wheels School Trip is best game for Kid i want to download latest version of Happy wheel game 
    Total Jerkface Happy Wheel

  2. Settling this expects one to; Reset the switch, clear the web program's reserve and flush DNS settings. These are the certain means that will successfully clear up any glitches and reset the association subsequently speedier WiFi broadband.dual band vs tri band

  3. Thank you so much for sharing this great blog.Very inspiring and helpful too.Hope you continue to share more of your ideas.I will definitely love to read. best-embroidery-machines

  4. I have looked couple of days and discovered some spellbinding formed work on it. In any case, it is the best of all.

  5. Great job for publishing such a beneficial web site. Your web log isn’t only useful but it is additionally really creative too. There tend to be not many people who can certainly write not so simple posts that artistically. Continue the nice writing vpn netflix

  6. We have sell some products of different custom is very useful and very low price please visits this site thanks and please share this post with your friends. Unique wifi names

  7. The most inspiring stuff commonly is probably the most dull or boring concern. a single rooster may not be in the same woody plant strip very long, and also the pets within the pine is a kind of weight, always want to consult the next stars, the particular fowl because the plants are really hesitant to facial expression an equal beautiful places day by day.