Jump to content

SCCM Task Sequence - How do you connect to wifi and workgroup (after domain)


Recommended Posts

Posted

I'd like to be able to connect a laptop to a particular wireless network during the tasksequence but the way I have tried doesnt appear to be working. I would also like to put the laptop in to a Workgroup at the end of the task sequence (after it already having been in a Domain during the first part of the task sequence so certain software packages can install).

 

 

Here's how I've tried to do the wireless:

 

Screenshot 2021-05-20 115103.png

 

It just errors out and not connect - do you do it a different/better way that works?

 

 

Here's the 2 different ways I've tried to do the Workgroup option:

 

Screenshot 2021-05-20 115417.png Screenshot 2021-05-20 115539.png

 

For some of the software to install it initially is joined to a Domain in the task sequence but these laptops need to be in a workgroup when they go out so if I can automate this at the end of the Task Sequence then that's one less thing to do.

 

:cool:

Posted
Have you got a stage that installs the Wi-Fi Drivers?

 

You know what, I think the Pandemic has done something to my brain! You're spot on - there's no Wireless driver installed as I've been doing that as part of running Windows Updates after the Task Sequence has completed.

  • Thanks 1
Posted
You know what, I think the Pandemic has done something to my brain! You're spot on - there's no Wireless driver installed as I've been doing that as part of running Windows Updates after the Task Sequence has completed.

 

No worries, just sometimes need a fresh pair of eyes to look at it! :)

Posted (edited)
No worries, just sometimes need a fresh pair of eyes to look at it! :)

 

Set one going last night and this morning I can confirm the wireless driver is now installed but it wasnt connected to the wireless network that I set in the task sequence. it does manually set OK so the driver is working.

 

[EDIT]

 

I've just manually run the command in the task sequence and it worked so not sure why it's not working in the task sequence.

Edited by Fazza
Posted
I'd like to be able to connect a laptop to a particular wireless network during the tasksequence but the way I have tried doesnt appear to be working.

 

:cool:

 

As part of our Task Sequence I copy the wireless profile to the local disk.

 

To do the connection my command is:

 

cmd /c net start wlansvc & cmd /c netsh wlan add profile filename=%windir%\Wifi\wifi.xml & cmd /c netsh wlan connect name=wifi_name ssid=wifi_name

 

After this, I have a step in the task sequence that deletes the Wifi folder from the local computer.

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



×
×
  • Create New...