Send Wifi Profile Via kScript

I was hoping someone could help me with this. Right now I am using the script below as an XML file to send out the wifi profile. it adds the profile, but does not transfer the password nor set it to the preferred connection. if anyone has ant experience doing this I would greatly appreciate the help. I have also attached a screenshot of how I am deploying. Also if there is another way of doing this I am open to suggestions. thanks! 


<?xml version="1.0"?>
<WLANProfile xmlns="http://www.microsoft.com/networking/WLAN/profile/v1">

2 Comments   [ + ] Show comments
  • The only experience I have to draw from was that netsh was not very effective for us, others have had similar experiences with it. Sometimes it would work and sometimes it wouldn't. - nheyne 5 years ago
  • Hello,

    have you exported your profile in this way?
    netsh wlan export profile key=clear
    kind regards,
    Marco - StockTrader - StockTrader 5 years ago

Answers (1)

Posted by: SMal.tmcc 5 years ago
Red Belt
If these are 64bit machines it could be a sysnative problem.  the client is 32 bit so it will call the 32bit version of netsh on a 64bit machine.

try using:
c:\windows\sysnative\netsh ... in your script


Don't be a Stranger!

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

Sign up! or login

View more:


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