Einstein197 Posted March 13, 2018 Posted March 13, 2018 In command prompt I use netsh wlan set hostednetwork mode=allow ssid=NETWORKNAME key=PASSWORD How do I do that in autoit also I want to hide the network ie turn off broadcast
Moderators JLogan3o13 Posted March 13, 2018 Moderators Posted March 13, 2018 @Einstein197 search function broken? A simple forum search of netsh shows several hundred threads on the subject. "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum!
Einstein197 Posted March 14, 2018 Author Posted March 14, 2018 Search here nothing I search for I can find y this Earthshine 1
Moderators JLogan3o13 Posted March 14, 2018 Moderators Posted March 14, 2018 Really? How odd... Earthshine 1 "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum!
Einstein197 Posted March 14, 2018 Author Posted March 14, 2018 And not anything useful at least not wat I was looking for
Subz Posted March 14, 2018 Posted March 14, 2018 Didn't we answer this in the last post? Just need to change the parameters.
Einstein197 Posted March 14, 2018 Author Posted March 14, 2018 U mean instead of wlan start just change the array to wlan set etc But any way to turn off broadcast
Subz Posted March 14, 2018 Posted March 14, 2018 To disable broadcast I believe you change the mode to disallow for example: RunWait(@ComSpec & " /c netsh wlan set hostednetwork mode=disallow ssid=NETWORKNAME key=PASSWORD", "", @SW_HIDE)
Einstein197 Posted March 14, 2018 Author Posted March 14, 2018 I tot the mode was to allow making a hotspot
Moderators JLogan3o13 Posted March 15, 2018 Moderators Posted March 15, 2018 Why do an AutoIt script to run CMD line code when you can just use Run or ShellExecute and do it in AutoIt directly? ShellExecute("netsh.exe", "wlan set hostednetwork mode=allow ssid=mynetworkname key=password") works just fine "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum!
Subz Posted March 15, 2018 Posted March 15, 2018 Not sure if I'm on the same page, are referring to hiding the routers ssid so it can't be seen? Normally you can hide the ssid via your router settings.
Einstein197 Posted March 15, 2018 Author Posted March 15, 2018 12 minutes ago, JLogan3o13 said: Why do an AutoIt script to run CMD line code when you can just use Run or ShellExecute and do it in AutoIt directly? ShellExecute("netsh.exe", "wlan set hostednetwork mode=allow ssid=mynetworkname key=password") works just fine I have a different command that works with CMD bt I want to do it with autoit and turn off the broadcast
Moderators JLogan3o13 Posted March 15, 2018 Moderators Posted March 15, 2018 Ok, but that is the command you led the OP with. So what you're really saying is that you want to turn off broadcast with netsh and don't know how. "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum!
Einstein197 Posted March 15, 2018 Author Posted March 15, 2018 Yup right on I found this post c if u can fig it out
Subz Posted March 15, 2018 Posted March 15, 2018 They're referring to: https://www.tenforums.com/tutorials/49466-enable-disable-projecting-pc-windows-10-a.html
Einstein197 Posted March 15, 2018 Author Posted March 15, 2018 I guess I'll try bt if it's already disabled it doesn't Could u help me out here https://www.autoitscript.com/forum/topic/192929-instagccomvideos/?do=findComment&comment=1384405
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now