Jump to content
DeployCentral
Sign in to follow this  
EndUser1

Automate Wifi Connection

Recommended Posts

Hello, I am kind of new to some of SmartDeploy.  I was wondering if there was a way to setup a post install task to have a laptop that I put my image on connect to a specified Wi-Fi network.

 

Thanks

Share this post


Link to post
Share on other sites

How about somebody actually post it up in the support forums because I see this as a useful task? Where can the masses find this information because I'm curious as well. 

Share this post


Link to post
Share on other sites

The documentation has some pictures that make it more useful and this forum isn't always the best about pictures. But you're right, we should have it somewhere on the site or at least write a blog to show. We are in the process of updating more documentation as well.

Thanks,

SmartDeploy Support

Share this post


Link to post
Share on other sites

(UpdateD)

You could do something like this; 

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
Sign in to follow this  

×