You are on page 1of 4

1

Executing AT-commands under Windows




In order to execute AT-commands, you first have to install drivers for your 3G
device. During driver installation several specific virtual interfaces will be created, which will
appear under Windows as serial COM ports or as a modem.
After drivers have been installed, you need to find out the required COM port in Windows
device manager, as described below:
1. Open the Windows device manager
o Windows XP:
1. Click Start, click Control Panel, click Performance and Maintenance,
and then click System.
2. On the Hardware tab, click Device Manager. Double-click the type of
device you want to change.
o Windows Vista:
1. Click Start, click Control Panel, click System and Maintenance, and
then click Device Manager. If you are prompted for an administrator
password or confirmation, type the password or provide confirmation.
2. In Windows device manager you will find the required port depending on your
modem's manufacturer:
o Huawei devices:
expand the "Modems" section
right-click the item "HUAWEI Mobile Connect - 3G modem" (or similar)
and select "properties"
click the "modem" tab
There you should see the "port", which is the required port.
o Sierra Wireless devices:
expand the "Ports (COM & LPT)" section
2

There you should see an entry called "Sierra Wireless AT Commnd Port
(UMTS) (COM ?)", where ? is the required port.
o ZTE devices:
expand the "Modems" section
right-click the item "ZTE Proprietary USB Modem" (or similar) and
select "properties"
click the "modem" tab
There you should see the "port", which is the required port.
3. Now that you know the port, where to address your AT-commands to, you just need
a terminal application by which you can send those commands to your device. The
best choice is perhaps PuTTY, a universal terminal program also capable of Telnet
and SSH, on which the following instructions will base. So first download putty by
right-clicking this link and saving it to some folder on your harddisk, where you will
find it later again (perhaps just on the desktop).
4. After having downloaded putty.exe, make sure all other applications (especially
dashboards like Huawei's Mobile Partner, Vodafone Mobile Connect, MWconn or
MDMA), that may access your device are completely closed, because otherwise such
applications will occupy the required COM port.
5. If you are sure, that no other application, that may access your device, is running,
start PuTTY by doubleclicking putty.exe
6. Not the PuTTY Configuration appears:
o select "Serial" as connection type
o under "Serial line" enter the COM port, which you have looked up earlier (e.g.
COM6)
3

o click on "Open" to establish the terminal connection to your device


7. Now you will see the following empty black window:

4

8. To check if everything is working type ATZ (= resetting the device) and press [enter]
and your modem should answer with "OK" (depending on if command echo is
enabled or not, you might not see what you are typing, so don't wonder if the screen
remains unchanged while typing).
Afterwards try the command ATI [enter], which will output information on your
device:

9. If you have come so far, you are ready for entering just any AT-command you desire
to.