Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm working on a script that will automatically connect users to our organization's wireless network, and I need a way to automatically prompt users for their credentials on the first connection to the network.

For example, in Win7 I can get a balloon notification to pop up, and once a user clicks on that notification a window pops up asking for a user's credentials.

My issue is that I can't seem to get a balloon notification to pop up on Win8, and even when I run
netsh wlan connect ssid=################
nothing happens. Command prompt tells me the command executed successfully, but I don't get any prompts.

However, if I manually enter credentials (go to the sidebar, click connect, etc.) and then run the netsh command, it will connect. Is there a way for me to prompt for user credentials without having the user go through the process of clicking the sidebar, then clicking connect, then entering their credentials?

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.