Share via

Getting wireless network to connect automatically with Sysprep

RockmanIT 256 Reputation points
2022-02-22T16:02:44.627+00:00

Hello. I am creating a Sysprep image using WSIM. I set it up so all OOBE settings are eliminated at bootup and it boots right into windows with the local admin account a setup. It works great however I notice that my image doesnt reconnect the SSID wireless settings that I setup in Windows which causes me to have to add it in everytime Windows loads to the desktop. Is there a way that I can do this with Sysprep so that the wireless SSID I set will connect everytime for all users?

Windows for business | Windows Client for IT Pros | User experience | Other
0 comments No comments

Answer accepted by question author

Limitless Technology 45,241 Reputation points
2022-02-25T16:28:10.693+00:00

Hi @RockmanIT

This is originated because you are trying to connect a WPA2 wireless network.

The solution would be to run the next:

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

to export all settings related to that wireless network, and then copying to a network location. And then run the following command to import it automatically during installation by creating a "run command" in the unattended answer file or in the task sequence as

netsh wlan add profile filename="\server\yourshare\wlanconfigfiles\Wireless Network Connection-NameOfWirelessNetwork.xml"

Hope this helps with your query,

--
--If the reply is helpful, please Upvote and Accept as answer-

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.