Wireless Profiles - Domain Wide

I know you can setup a GPO to push out Wireless profiles; however, you cannot include the WPA2 passphrase.

What we need to do is push out to all of our users, the same exact profiles each time.

I've discovered that the profiles are held within the AppData folder and are all held in XML files; even the key apparently.

So what I did as a test was built a batch file to delete all profiles if they exist and then add these profiles using the XML files.

The problem though - it doesn't seem to be remembering the passphrase. I'll run the script and it builds all of the profiles but then when I fire up my wifi it asks for the passphrase for whatever network I'm connecting too that was imported using the script.

Anyone know of a good way of doing what I am trying to do??
HospiceChesapeakeAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
HospiceChesapeakeConnect With a Mentor Author Commented:
I actually figured this out on my own.

For anyone who is curious, you need to export the profiles using the additional command: key=clear.

For example:

netsh wlan export profile name="yourprofile" folder=C:\yourfolder key=clear

Unfortunately this decrypts the key, but it's the only way to get it to import into another machine (and in our case, organizational wide) and maintain the key so the users wont need to re-enter it.

Hope this helps you all.
0
 
HospiceChesapeakeAuthor Commented:
How to export wireless profiles and import them with WPA key in tact. Great for building a script to use at logon.
0
 
HospiceChesapeakeAuthor Commented:
Ok here's a new problem to go along with all of this.

I have the script working well in that it deletes old profiles and adds new ones WITH the key in tact.

BUT, for some reason since doing this, the Wireless will connect, but only for a short period of time before it drops Internet connectivity and only local network access is available.

How weird is this???

Only started after we began using this script....

Please god someone help, we have so many angry Nurses right now.
0
All Courses

From novice to tech pro — start learning today.