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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...