1

I am searching for a way to unlock a SIM card using it's PIN in a mobile broadband adapter via the command line (in a batch script).

All I have found so far were any AT commands which I cannot send to this specific adapter (Intel 7360 LTE-A). It has two serial interfaces but both of them are locked and can never be opened.

Is tried a software for handling SIM cards from https://awx.black-it.eu/en/software/mobile%20broadband%20sms%20toolkit/index.htm which WAS ABLE to unlock the SIM card. So there must be a way to do this without using the Windows interface.

I know I could remove the PIN via the Windows interface, but I do not want to do that. The laptop is encrypted, meaning even if it got stolen, no one could get to the "hardcoded" PIN. But if I remove it from the SIM card, the card would be easily usable.

Does anyone know, how to send AT commands to the adapter itself, or know a utility/tool or commandline or powershell way to do automatically unlock the SIM card at boot?

1 Answers1

1

Something like can do the work:

First open Device manager to get the COM port of you SIM. Can be something like: COM21

Then set the connection parameters: mode COM21 BAUD=115200 Try with other values, 9600 is also good candidate. Your software may tell you what is the speed of connection.

and next send unlock command set /p x="AT+CPIN=1234" >\\.\COM21 where 1234 is your pin. The answer should be OK if SIM card is unlocked.

Romeo Ninov
  • 7,848