Solved

Wireless Profiles - Domain Wide

Posted on 2011-03-21
3
626 Views
Last Modified: 2013-12-27
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??
0
Comment
Question by:HospiceChesapeake
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
3 Comments
 

Accepted Solution

by:
HospiceChesapeake earned 0 total points
ID: 35189257
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
 

Author Closing Comment

by:HospiceChesapeake
ID: 35189263
How to export wireless profiles and import them with WPA key in tact. Great for building a script to use at logon.
0
 

Author Comment

by:HospiceChesapeake
ID: 35189394
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

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

OfficeMate Freezes on login or does not load after login credentials are input.
There are many software programs on offer that will claim to magically speed up your computer. The best advice I can give you is to avoid them like the plague, because they will often cause far more problems than they solve. Try some of these "do it…
This Micro Tutorial will go in depth within Systems and Security in Windows 7 and will go into detail regarding Action Center, Windows Firewall, System, etc. This will be demonstrated using Windows 7 operating system.
This Micro Tutorial will give you a basic overview of Windows DVD Burner through its features and interface. This will be demonstrated using Windows 7 operating system.

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question