/build/static/layout/Breadcrumb_cap_w.png

Is it possible to add and WiFi SSID to both Mac and Windows via KACE

I'm trying to remotely (via KACE) add a WiFi SSID to both Windows and Mac computers. I've found a way to obtain the current SSID but running up against some roadblocks when it comes to knowing which interface and its name, and also applying the config.


0 Comments   [ + ] Show comments

Answers (2)

Answer Summary:
Posted by: Nico_K 3 years ago
Red Belt
2

For Windows it is not hard:

Prerequisites:
1. go to a system which already is in the WLAN.
2. run the command

netsh wlan export profile key=clear folder=c:\temp (or wherever you need it) This produces a bunch of xml files with all nessesary info to import a profile. One per WLAN.

KACE:
1. create an Online Script
2. add the xml from Prerequisites-step 2 as Dependency
3. Verify: 
    1. Verify a file exists
        Directory: $(KACE_SYS_DIR)
        File: cmd.exe
4. On Success:
    1. Launch a program
         Directory: $(KACE_SYS_DIR)
         File: cmd.exe
         check "Wait for completion"
         Parameters: /c netsh wlan add profile filename="WLAN-YOURWLAN" users=all

5. Add the labels and times you need.

After the script is ran the device can use the WLAN.
If you use RADIUS it is a bit more complicated (see netsh documentation for Windows)
You can also use an encrypted XML (see netsh documentation for Windows), but for showing it it is easier with clear passwords.

Posted by: KevinG 3 years ago
Red Belt
1

For the Mac, you may want to look at the Mac Profiles feature of the SMA.

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ