Automatically add web site to intranet zone list in Internet Explorer Security settings
Posted on 2005-04-12
I have a company intranet that needs to prompt the user for a password if it is accessed outside the company network, but allow access to the site with no prompt if it is accessed from within the network. To do this, I have gone into IIS under "Directory Security" and "Anonymous Access and Authentication control" and checked "Integrated Windows authentication". I have left "Anonymous Access" blank. Then, under Internet Explorer settings, under the Security tab, then local Intranet Sites, and "Advanced", I have added the intranet site to the list of local intranet zone sites. This has allowed the behavior I want - my office machine (when connected to the network) does not prompt me for a username or password to access this site, however if I attempt to access the site from my home or some other non-networked location, it prompts me for a username and password, and I have to enter my Windows username and password.
My problem is this - we have a couple of hundred employess, and I need to be able to add this site to the "local Intranet Sites" zone list on each of their machines autmatically, either with a batch, and exe, or some other automated method. Is there a way I can do this?