Solved

Wireless Profiles - Domain Wide

Posted on 2011-03-21
3
620 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
  • 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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Suggested Solutions

New Windows 7 Installations take days for Windows-Updates to show up and install. This can easily be fixed. I have finally decided to write an article because this seems to get asked several times a day lately. This Article and the Links apply to…
On some Windows 7 (SP1) computers, Windows Update becomes super slow even the computer is reasonably fast.  There's one solution that seemed to have worked well for me (after trying a few other suggested solutions).
This Micro Tutorial will show you how to maximize your wireless card to its maximum capability. This will be demonstrated using Intel(R) Centrino(R) Wireless-N 2230 wireless card on Windows 8 operating system.
This Micro Tutorial will give you a basic overview of Windows Live Photo Gallery and show you various editing filters and touches to photos you can apply. This will be demonstrated using Windows Live Photo Gallery on Windows 7 operating system.

920 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now