Some BackgroundHave you ever used SharePoint 2007/2010 and received Repeated Prompts for Credentials?
The likely reason is that Internet Explorer must consider the requested URL (namespace) being processed to be on the intranet (local). If the namespace portion of the requested URL contains periods such as https://sp.aa.aa.edu, then Internet Explorer assumes that the requested address exists on the Internet and does not pass any credentials automatically. Addresses without periods such as https://aaasharepoint/ are considered to be on the intranet (local); Internet Explorer passes credentials automatically.
To work around this you can create an End-User Self Installer to add the preferred zones such as the Trusted sites or Intranet Sites. In this example I overview creating the script for all Zones for Explorer.
The tool I use to create the installer is known as Paquet MSI Builder which is the utility used to pack the various components of this installer into an MSI.
(You will need to rename the file type to .vbs)
AddTrustedSite "aa.edu"AddTrustedSite "aa.edu"
Function AddTrustedSite(strDomainName)Set WshShell = Wscript.CreateObject("Wscript.Shell")strRegKey = "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains\"WshShell.RegWrite strRegKey & strDomainName & "\", "", "REG_SZ"WshShell.RegWrite strRegKey & strDomainName & "\*", "1", "REG_DWORD"
(You will need to rename the file appropriatly and set the file type to .vbs)
Clsecho Begin Installationwscript "%cd%\begin.vbs"
Clsecho Installation Completewscript "%cd%\complete.vbs"exit
(You will need to rename the file type to .cmd)
The result should be an executable that runs the described installer functions to add the trusted sites zone to Explorer.
Additionally, you may choose to add a Windows 7 regitry edit to the package to supress any WebClient and WebDav task credential prompts from appearing during SharePoint 2010 sessions: