Microsoft KB Archive/899270

= You cannot update a custom Web site to the security zone if you log on to a Windows Server 2003-based server by using a remote desktop connection =

Article ID: 899270

Article Last Modified on 11/1/2006

-

APPLIES TO


 * Microsoft Windows Server 2003, Enterprise Edition (32-bit x86)
 * Microsoft Windows Server 2003, Standard Edition (32-bit x86)
 * Microsoft Windows Server 2003, Web Edition

-



Important This article contains information about how to modify the registry. Make sure to back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows registry



SYMPTOMS
If you log on to a Microsoft Windows Server 2003-based server, you cannot update the security zone from a Group Policy object (GPO). This symptom occurs if the following conditions are true:
 * You log on to a Windows Server 2003-based server by using a remote desktop connection.
 * The Start the following program on connection option is selected.



RESOLUTION
Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall your operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.

To resolve this issue, follow these steps:   Create an Iegpo.vbs script with the following code.

Microsoft provides programming examples for illustration only, without warranty either expressed or implied. This includes, but is not limited to, the implied warranties of merchantability or fitness for a particular purpose. This article assumes that you are familiar with the programming language that is being demonstrated and with the tools that are used to create and to debug procedures. Microsoft support engineers can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific requirements. Option Explicit Dim WshShell, objEnv , strCmdLine , strVersion , strLocale Set WshShell = WScript.CreateObject(&quot;WScript.Shell&quot;) Set objEnv = WshShell.Environment(&quot;process&quot;)

strCmdLine = ObjEnv.Item(&quot;SystemRoot&quot;) & &quot;\system32\ie4uinit.exe&quot; WScript.Echo strCmdLine WshShell.Run strCmdline, 1, TRUE strVersion = WshShell.RegRead (&quot;HKLM\Software\Microsoft\Active Setup\Installed Components\{89820200-ECBD-11cf-8B85-00AA005B4383}\Version&quot;) WshShell.RegWrite &quot;HKCU\Software\Microsoft\Active Setup\Installed Components\{89820200-ECBD-11cf-8B85-00AA005B4383}\Version&quot;, strVersion,&quot;REG_SZ&quot; strLocale = WshShell.RegRead (&quot;HKLM\Software\Microsoft\Active Setup\Installed Components\{89820200-ECBD-11cf-8B85-00AA005B4383}\Locale&quot;) WshShell.RegWrite &quot;HKCU\Software\Microsoft\Active Setup\Installed Components\{89820200-ECBD-11cf-8B85-00AA005B4383}\Locale&quot;, strLocale,&quot;REG_SZ&quot; strCmdLine = &quot;rundll32 iedkcs32.dll,BrandExternal ;*0<&quot; & _ objEnv.Item(&quot;APPDATA&quot;) & _ &quot;\Microsoft\Internet Explorer\Custom Settings&quot; WScript.Echo strCmdLine WshShell.Run strCmdline, 1, TRUE  Run the Iegpo.vbs script. To run the Iegpo.vbs script, follow these steps:  Click Start, and then click Run. In the Open box, type cscript Iegpo.vbs, and then click OK. 



MORE INFORMATION
The Iegpo.vbs script performs the following tasks:  The Iegpo.vbs script copies the following registry key from HKEY_LOCAL_MACHINE to HKEY_CURRENT_USER: <ul>  </li>  </li></ul> </li> The Iegpo.vbs script runs the following command:

rundll32 iedkcs32.dll,BrandExternal ;*0<%APPDATA%\Microsoft\Internet Explorer\Custom Settings

</li></ol>

Keywords: kbtshoot kbprb KB899270

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.