NetSh MBN set pin RRS feed

  • Question

  • Hi,

    i want to make a script that helps a user to connect with the mobile network.

    Until now the script can connect and test the connection if the simcard is unlocked. If i use a locked card (PIN code) the scripts stops with a error code (0x139f). Is there a possibility to unlock the card with the pin and connect afterwards?

    Thanks in advance

    • Edited by Aggi85 Thursday, August 25, 2016 1:52 PM
    Thursday, August 25, 2016 1:48 PM

All replies

  • What do you need the script for? It's easier to just connect. Windows remember the wireless networks.

    In what situation do you encounter a SIM that needs a PIN?

    Best regards, George

    Thursday, August 25, 2016 2:04 PM
  • Where to start...

    First the mobile Network is not an public network. We have an own Cloud from an carrier where only specialised cards can connect with an explicit username and passwort. So if the user is connect he is directly connected to our network without the need of an extra vpn tunnle.

    Until now Windows 10 only gives me the possibility to connect througt the setting menu. So if the User will connect he have to open the connection button in the bottom, click on the mobile Network. After that he can finaly connect. If he want to disconnect the same procedure starts again. With the script it's just shorter (my opinion). I know the anniversary update change this but until now we have problems with this update so that have to wait. It should be as easy as possible for the user

    The user should not be connected all the time and so he have to disconnect. This eleminate the "always connect" or automatic connect.

    Maybe is oversee something. If so feel free to correct me (same with grammar).

    I forgot..... the script is written in batch

    • Edited by Aggi85 Thursday, August 25, 2016 3:07 PM
    Thursday, August 25, 2016 2:16 PM
  • Hi ,

    If you are looking for a script, I suggest you contact our script forum for help. They are more familiar with script, they may have more suggestions for you.

    Best regards

    Please remember to mark the replies as an answers if they help and unmark them if they provide no help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    Friday, August 26, 2016 8:42 AM