Windows IT Pro is the authoritative and independent resource for windows nt, windows 2000, windows 2003, windows xp. Features a collection of resources and magazines for windows IT professionals.
  
  
  Advanced Search 


September 1999

IEAK Automatic Configuration


RSS
Subscribe to Windows IT Pro | See More Internet Explorer (IE) Articles Here | Reprints | Or get the Monthly Online Pass—only $5.95 a month!

Change application settings on thousands of desktops

Modern OSs have evolved to a level of complexity that can be difficult to manage, and administrators often have to evaluate infrastructure changes on a case-by-case basis. Unfortunately, administrators have to weigh logical changes against the cost of implementing those changes. Although changing one tiny setting on everyone's desktop might simplify day-to-day administration, the size of your organization and the work piling up on your desk might not leave enough resources to make that tiny change. A little-known feature in Microsoft Internet Explorer (IE) called Automatic Configuration can help solve this problem and lower total cost of ownership (TCO). This feature lets you use a few mouse clicks and keystrokes on one machine to change application settings on thousands of desktops in your organization.

The History of Automatic Configuration Files
If you've been working with Windows since Windows 3.1, you probably remember that .ini files are the early version of Windows NT's Registry—the heart and soul of the Windows OS. These .ini files store all the necessary settings for Windows and its applications, and you can use Notepad or Edit to edit each .ini text file. The primary advantage of .ini files is that they're easy to work with, repair, and back up.

Automatic Configuration files are a new twist on an old theme. An IE Automatic Configuration file acts like a networkwide .ini file for all your IE installations. Thus, you can make configuration changes to all your browsers by simply editing one file on your network. If you think this feature sounds too good to be true, you're not alone. I thought the ability to change thousands of browsers by editing one file using a simple text editor seemed a little too impressive to believe. With my skepticism in overdrive, I decided to find out whether this feature lives up to its promise.

Starting with IEAK
To take advantage of Automatic Configuration files, you use the IE Administration Kit (IEAK) to deploy a custom browser throughout your enterprise. In "Deploying IE with IEAK," April 1999, I walk you through this process. However, that article references IEAK 4.x, and I use IEAK 5.0 for the discussion and examples in this article. (You can download IEAK 5.0 from Microsoft's Web site at http://ieak.microsoft.com. Be aware that Microsoft requires you to register for a distribution code before you can start working with IEAK.)

When you use IEAK to build a custom IE deployment, you have the option to preprogram IE to look for an Automatic Configuration file, and you can tell IEAK where to look. This file location must be a URL, so you'll need to put your Automatic Configuration file on a Web server in your organization. For example, on a Microsoft Internet Information Server (IIS) known as ARCHITECT4, I created a subdirectory called autoconf. I might eventually have different versions of IE in my organization, so I named the Automatic Configuration file ie5.ins. Putting this information together yields a URL of http://architect4/autoconf/ie5.ins, which I entered into the IEAK Auto-config URL dialog box, which Screen 1 shows. For test purposes, I set the system to automatically configure every 15 minutes so I can quickly test changes to the Automatic Configuration file. In an enterprise environment, you'll need a much larger value in the Automatically configure every text box, or you can leave this field blank. If you don't enter a value, IE processes its Automatic Configuration file every time users start their browser. When you deploy a browser with an IEAK-based build, you can verify that you selected the Automatic Configuration option by checking the Internet settings, which Screen 2 shows. To do so, select Internet Options from IE 5.0's Tools menu, and click LAN settings on the Connections tab.

Creating an .ins File
Now that you know where to send IE for the .ins file, you might be wondering where the .ins file comes from. You can manually create an .ins file, but you don't need to because IEAK creates one when it builds a customized IE deployment. For my example, I used IEAK to create an IE build that users can download from my Web server. During the building process, IEAK put the build files in the directory that I specified in the Automatic Configuration dialog box.

One of these build files is install.ins, which contains all the settings for the customized IE deployment that I specified in IEAK. (Figure 1 shows an example file.) The IE setup process uses this file to configure optional settings, which is how ISPs can deploy customized browsers that display their logos, title bars, and favorites lists. I'm working with a 32-bit English version of IE, so IEAK put install.ins in a subdirectory called ins\win32\en\ off the root of my build directory. When I publish this file on my Web server, I'll rename it ie5.ins. As you can see from Figure 1, this file has section headings, attributes, and values just like an .ini file.

You're finished! All you need to do to use Automatic Configuration is build an .ins file, put it on a Web server in your organization, and point all your browsers to it. However, I prefer to edit the .ins file down to a core set of options, such as proxy settings, title bars, and favorites. This process ensures that IE changes only the settings that I want to maintain and reduces the bandwidth that these changes consume on the network. Keep a copy of your original .ins file in the same directory in case you need to refer back to it.

Securing Files
The ease with which you can change Automatic Configuration files creates the risk of accidentally messing up all your browsers. For example, a typo in your Automatic Configuration file can be a nuisance, or it can interfere with the functionality of users' browsers. In addition, imagine the havoc an intruder can wreak on your system by using your Automatic Configuration file—potentially forcing you to manually reconfigure each desktop copy of IE. Therefore, take extra precautions when you secure your Automatic Configuration files. Consider setting the file as read-only for the Everyone group. By making the file read-only for everyone in your organization, you can be sure that no one accidentally changes the file. (Give yourself read-write access whenever you need to change the file.) In addition, extra-tight security will remind you that you shouldn't change your Automatic Configuration file often.

Changing .ins Files
So you've put together your .ins file, and you're using it to manage the browsers on your corporate desktops, but you discover that you want to control IE options that you didn't include in your .ins file. In this case, or if you're having syntax problems with your .ins file, IEAK contains documentation that can help. You can find this information in an Excel spreadsheet called insref.xls in the toolkit subdirectory of the IEAK directory.

Automatically Administer Everything
Creative administrators have many options, such as logon scripts and Registry utilities, to accomplish some of the same application-management feats that they can achieve using an Automatic Configuration file. But why go through the hassle when Automatic Configuration is an easy-to-use solution? This little-known feature introduces a revolutionary way to manage desktop settings in an enterprise environment, and I would love to see Microsoft and other software developers implement similar functionality in all their applications.

End of Article



Reader Comments
I need some help please.
I've got an "ins" file to create a dialup connection.
It works 100%, but the problem that i face is that when it creates the connection it also sets it as my browser's default connection.
Is there a setting or a line that i must add to stop this from happening.
See example:

[Entry]
Entry_Name=DHS

[User]
Name=test
Password=pass
Require_Logon=Yes

[Phone]
Phone_Number=2427500
Area_Code=011
Country_Code=27
Country_ID=27

[Device]
Type=modem

[Server]
Type=PPP
SW_Compress=yes
PW_Encrypt=no
Network_Logon=no
SW_Encrypt=no
Negotiate_TCP/IP=yes

[TCP/IP]
Specify_IP_Address=no
Specify_Server_Address=Yes
IP_Header_Compress=yes
Gateway_On_Remote=yes
DNS_Address=192.168.41.5
DNS_Alt_Address=0.0.0.0

Thanks

Etienne Uys October 30, 2003


Our .INS file works okay, but it keeps defining a new DUNS entry every time. In the [Entry] section it says "Entry_Name = ESVA.net", but if I do it three times I get "ESVA.net", "ESVA.net 2", "ESVA.net 3" and so on. I really want it to overwrite the previous entry with updated settings. How can I do that?

Thom Henderson April 23, 2004


Add the following entry to your INS file and it will delete all previous dial-up connections

[ConnectionSettings]
DeleteConnectionSettings=1

spydr96 September 23, 2004


Some bonehead took this idea and installed IEAK to our entire Customer Service department. He was since fired and now I want to manage the client computers using Win2k3 Group Policy, which is the right was to do it. With Group Policy, you can manage such settings from ONE place and have it affect all users and/or computers contained in an OU (organizational unit).

For example, clicking TOOLS, INTERNET OPTIONS, the "home page" is grayed out ... along with many other options on the various tabs.

How the heck can I revert to the original, base install of IE? Can I simply remove the customizations?




Anonymous User July 08, 2005 (Article Rating: )


I can see the branding related files in C:\program files\internet explorer\CUSTOM
But simply deleting that folder achieved nothing.

Anonymous User July 08, 2005 (Article Rating: )


You must log on before posting a comment.

If you don't have a username & password, please register now.




Top Viewed ArticlesView all articles
Command Prompt Tricks

One reader shares his tip for setting up the command prompt to reflect a remote path. ...

How can I stop and start services from the command line?

...

PsExec

This freeware utility lets you execute processes on a remote system and redirect output to the local system. ...


Windows OSs Whitepapers Why SaaS is the Right Solution for Log Management

Related Events Check out our list of Free Email Newsletters!

Windows OSs eBooks Understanding and Leveraging Code Signing Technologies

A Guide to Windows Certification and Public Keys

SQL Server Administration for Oracle DBAs

Related Windows OSs Resources Become a VIP member of the Windows IT Pro community!
Get it all with the VIP CD and VIP access. A $500+ value for only $279!

Subscribe to Windows IT Pro!
Solve your toughest technical problems with our experts and access 10,000 + articles online. 30% off

Monthly Online Pass - Only $5.95!
Get instant access to 10,000+ articles from Windows IT Pro Magazine!

TechNet Virtual Labs
Evaluate and test Microsoft's newest products.


Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro Windows Dev Pro IT Job Hound ITTV
IT Library Technology Resource Directory Connected Home Windows Excavator Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 Copyright © 2008 Penton Media, Inc., All rights reserved. Terms and Use | Privacy Statement | Reprints and Licensing