banner

[TapiLocation]

Answer File = Unattend.txt and Sysprep.inf

The [TapiLocation] section contains entries for specifying the telephony API (TAPI). It is valid only if a modem is present on the computer.

If you use the Sysprep.inf file with Sysprep, the modem information (TAPI) and the Networking screens do not display during Mini-Setup. Setup uses the default networking components if you do not configure the networking components and if you do not specify them in Sysprep.inf.

To prevent the end user from being prompted for TAPI information during Windows Welcome, you can set TAPI location information in advance, and then set TapiConfigured to Yes.

Entry Description
AreaCode Specifies the area code for the computer's location.
CountryCode Specifies the country/region code to use for telephony.
Dialing Specifies the type of dialing to use for the telephony device in the computer.
LongDistanceAccess Specifies the number to dial to gain access to an outside line, such as 9.

Sample

This sample demonstrates one use of the [TapiLocation] section of Unattend.txt.

[TapiLocation]
AreaCode = 555
CountryCode = 030
Dialing = Tone
LongDistanceAccess = 9

AreaCode

Specifies the area code for the computer's location.

Syntax AreaCode = area code string
Value area code string
Registry subkey HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\
    CurrentVersion\Telephony\Locations\Location1\AreaCode
Example
AreaCode = 555

icon Return to top

CountryCode

Specifies the country/region code to use for telephony.

Syntax CountryCode = country/region code number
Value country/region code number
Registry subkey HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\
    CurrentVersion\Telephony\Locations\Location1\Country
Example
CountryCode = 030
Comments For example, use 1 for the United States. For more information, search on the Internet for "ISO 3166" for a list of valid country or region codes, or visit the International Telecommunication Union Survey Web site at http://www.itu.int

In some software modem drivers, particularly those used in portable computers, the default modem location is set to "USA." To make sure that the correct location is chosen, use one of the following methods:

Method 1: Before running Setup Manager, add the following section to Unattend.txt and set CountryCode equal to the appropriate number.

[TapiLocation]
CountryCode = number

Method 2: After using Setup Manager to create a configuration set, add the following section to Unattend.txt in your configuration set and set CountryCode equal to the appropriate number.

[TapiLocation]
CountryCode = number

Method 3: In Audit mode, change the modem location from "USA" to the correct country or region before running Sysprep -reseal:

  1. In Device Manager, open the Properties dialog box for the modem.
  2. Click Advanced.
  3. If the Country/Region list box appears below Extra Settings, select the correct country/region code.
  4. In Control Panel, Phone and Modem Options, delete any TAPI locations that may be present in Dialing Rules.

You may also delete the following registry key:

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\
    CurrentVersion\Telephony\Locations\LocationN

icon Return to top

Dialing

Specifies the type of dialing to use for the telephony device in the computer.

Syntax Dialing = Tone | Pulse
Values Tone

Specifies dialing with a multifrequency tone, such as a push-button phone.

Pulse

Specifies dialing with transmitting pulses of electricity, such as a rotary dial phone.

Example
Dialing = Tone

icon Return to top

LongDistanceAccess

Specifies the number to dial to gain access to an outside line, such as 9.

Syntax LongDistanceAccess = number to get outside line
Value number to get outside line
Registry subkey HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\
    CurrentVersion\Telephony\Locations\Location1\LongDistanceAccess
Example
LongDistanceAccess = 9

icon Return to top