<li type=disc value=1>Copy AUTOCFG.ASP to a directory where scripting is allowed. All directories under INETPUB\WWWROOT allow scripting by default.</li>
<li type=disc value=2>AUTOCFG.ASP should be given Everyone Read access and the Internet User Account (IUSR_computer name) should have No Access.</li>
<li type=disc value=3>For this example 3 INS files have been included: IE_DEF.INS, IE_MARK.INS, and IE_PROD.INS. The INS files simply customize the browser title to show the INS file name.
To make this work for your company, you should create new autoconfiguration packages using the Profile Manager. </li>
<li type=disc value=4>Copy the 3 sample INS files into a Read and Execute directory named "INS" which is located in the same directory as the AutoCfg.ASP file,
I.E. if AUTOCFG.ASP is stored in INETPUB/WWWROOT/ then the INS files would be stored in INETPUB/WWWROOT/INS/ <br>
Everyone can have Read access. </li>
<li type=disc value=5>After all files have been copied to the proper directories, launch Internet Service Manager. In ISM, enable
both Allow Anonymous and NT Challenge Response authentication options for AUTOCFG.ASP</li>
<li type=disc value=6>Open User Manager for Domains. Create the desired groups. All groups must be named with the IE_ prefix. To use
the provided example files, create 3 groups: IE_DEF, IE_MARK, IE_PROD.</li>
<li type=disc value=7>Assign domain users to each of these groups
</OL>
<P> </P>
<h2>How ASP Automatic Configuration Works</h2>
<p>This ASP solution was developed so Corporate Administrators can point users to one URL in the automatic configuration script box
in the LAN settings dialog and have the server return the proper INS file based on the user's logon domain and name.</p>
<P>When autoconfiguration occurs (during browser launch), the server queries the connecting user's domain name and user name. If the user was not authenticated, such information
would not be available, which is why the Internet User Account must be given No Access to the ASP file. The server then uses ADSI to query which NT account groups the user belongs
to in the domain and uses the <i>first</i> group it finds which starts with "IE_" (eg. IE_MARK, IE_HR, etc.)</P>
<p>Once the correct group name is known, the server redirects to the INS file with the same name located in the INS subdirectory. If the server does not find the user
within any of the autocounfiguration groups, it will redirect to IE_DEF. Maintenance of the autoconfiguration packages can be done via the Profile Manager, with packages saved
directly to the INS subdirectory.</p>
<P> </P>
<h2>Troubleshooting</h2>
<p>The ASP file has a debug mode which can be used to identify the source of problems that might occur when using the file. Edit the ASP file and set
DEBUGFLAG to TRUE (FALSE by default). Open the file <i>directly</i> through the browser by navigating to the URL of the ASP file. The ASP file will display
a web page with all of the information that the server gathered while trying to find the correct set of automatic configuraton files.</p>