Solved

Wireless Profiles - Domain Wide

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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

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.
When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup" or a blinking cursor with black screen. A loop for Auto repair will start but fix nothing.  You will be panic as there are no back…
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
This Micro Tutorial will give you basic overview of the control panel section on Windows 7. It will depth in Network and Internet, Hardware and Sound, etc. This will be demonstrated using Windows 7 operating system.

777 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