Windows XP SP2 provides the WarnOnHTTPSToHTTPRedirect Value Name, a REG_DWORD data type, at HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings AND HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings, which can be set to 0 to turn off the warning that occurs when you move from a secure Web site (HTTPS) to an regular Web site (HTTP):

Security Alert

You are about to be redirected to a connection that is not secure.

The information you are sending to the current site might be retransmitted to a nonsecure site. Do you wish to continue?

NOTE: The default data value, 1, turns the Security Alert on.

NOTE: You may even receive the Security Alert if the Warn if changing between secure and not secure mode box on the Advanced tab of Internet Options is NOT checked.

I have scripted WarnOnHTTPSToHTTPRedirectOff.bat to turn the Security Alert off.

The syntax for using WarnOnHTTPSToHTTPRedirectOff.bat is:

WarnOnHTTPSToHTTPRedirectOff \[U|C|A\]

Where:

U, or the absence of a parameter, turns off the Security Alert for the current user.

C turns off the Security Alert for all users of the local computer.

A turns off the Security Alert for all users of all Windows XP SP2 computers in your domain.

NOTE: The A options configures ALL Windows XP computers in your domain, so when they are upgraded to SP2 the WarnOnHTTPSToHTTPRedirect Value Name is already set to 0. Run this option from a Windows XP workstation, or from Windows Server 2003.

NOTE: WarnOnHTTPSToHTTPRedirectOff.bat uses NETDOM.EXE from the Support Tools on the operating system CD-ROM.

WarnOnHTTPSToHTTPRedirectOff.bat contains:

@echo off
setlocal
set scope=HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings
if /i \{%1\}<h1><a name="_A_set_scope_HKLM_SOFTWARE_Microsoft_Windows_CurrentVersion_Internet_Settings_amp_goto_ALL_if_i_1_">\{A\} set scope=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings&goto ALL
if /i \{%1\}</a></h1>\{C\} set scope=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings
@echo REG ADD "%scope%" /V WarnOnHTTPSToHTTPRedirect /T REG_DWORD /D 0 /F
REG ADD "%scope%" /V WarnOnHTTPSToHTTPRedirect /T REG_DWORD /D 0 /F
endlocal
goto :EOF
:ALL
set qry=reg.exe query
set add=reg.exe add
set netdm=netdom query /domain:%userdnsdomain%
set end="The command completed successfully."
set winxp=HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion
for /f "Skip=1 Tokens=*" %%c in ('%netdm% workstation^|find /v /i %end%') do (
 for /f "Tokens=2*" %%r in ('%qry% "\\%%c\%winxp%" /v CurrentVersion^|find "REG_SZ"') do (
 if "%%s" EQU "5.1" @echo %%c&%add% "\\%%c\%scope%" /V WarnOnHTTPSToHTTPRedirect /T REG_DWORD /D 0 /F &@echo.
 )
)
endlocal