Jump to content
DeployCentral
dparish

Preconfigure Wireless Network Settings ?

Recommended Posts

On a workstation that's connected to the network, run the following command: (You may need to verify your interface name) 

      netsh wlan export profile name="NameOfWirelessNetwork" folder=c:\temp interface="Wireless Network Connection"

Then copy the NameOfWirelessNetwork.xml file to a place on your reference VM like C:\Temp\

Then you'd add a 'At First Logon' task to your Answer File, using the Tasks tab in the Advanced settings of the Answer File wizard with the following command:

      cmd /c netsh wlan add profile filename="C:\Temp\NameOfWirelessNetwork.xml"

Alternatively, you could keep the xml on a network share, and use GPO to import the wlan profile. You may also need to do some tweaking to the xml file dpending on which security method you use. You an find examples on TechNet for this. 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×