JSI Tip 2346. How do I prevent my clients from accessing the Windows Update site?


You can remove the Windows Update icon from the Start menu, which also prevents access to http://windowsupdate.microsoft.com from anywhere in the Windows product:

1. Start / Run / MMC / Console / Add/Remove / Add / Group Policy / Add / Local Computer / Finish / Close.

2. Add all Extensions.

3. User Configuration / Administrative Templates / Start Menu & Taskbar

4. Double-click Disable and remove links to Windows Update

5. Enable the policy.

To remove Windows Update from Control Panel, replace the hidden %SystemRoot%\Web\Controlp.htt with:

<!--
 * Copyright 1999 Microsoft Corporation.  All rights reserved.
 -->

<html>
    <link rel=stylesheet href="%TEMPLATEDIR%\webview.css" title="Windows">
    <head>
        <meta http-equiv="content-type" content="text/html; charset=UTF-8">
        <script language="JavaScript">
            var L_Intro_Text    = "Use the settings in Control Panel to personalize your computer.<br><br>";
            var L_Prompt_Text   = "Select an item to view its description.";
            var L_Multiple_Text = " items selected.";
            var gTimer          = 0;
            var gDoBlends       = false && (navigator.cpuClass != "Alpha" && screen.colorDepth > 8);


            function Resize() \{
                if (document.body.clientWidth < Panel.style.pixelWidth * 2) \{
                    Panel.style.visibility = "hidden";
                \} else \{
                    Panel.style.visibility = "visible";
                \}
            \}

            function Load() \{
                Info.innerHTML = L_Intro_Text + L_Prompt_Text;

                // fix styles
                var L_SystemFont1_Text = "MS Sans Serif";
                var L_SystemFont2_Text = "MS Shell Dlg";
                var L_SystemFont_Text = "Tahoma, Verdana";
                var tr = document.body.createTextRange();
                if (navigator.cpuClass != "Alpha") \{
                    tr.collapse();
                    var actualFont = tr.queryCommandValue("FontName");
                    if (actualFont 

L_SystemFont1_Text || actualFont

L_SystemFont2_Text) document.body.style.fontFamily = L_SystemFont_Text; \} else document.body.style.fontFamily = L_SystemFont_Text; // call our Resize() function whenever the window gets resized window.onresize = Resize; Resize(); \} function ShowInfo() \{ // this script updates the left info panel when you select icons var folder = FileList.Folder; var item; var data; var i; if (gDoBlends) \{ Panel.filters\[0\].Stop(); Panel.filters\[0\].Apply(); \} data = FileList.SelectedItems().Count; if (data == 0) \{ // nothing selected? text = L_Intro_Text + L_Prompt_Text; \} else if (data > 1) \{ // more than one item selected? text = data + L_Multiple_Text + "<br>"; if (data <= 16) for (i = 0; i < data; i++) text += "<br>" + FileList.SelectedItems().Item(i).Name; \} else \{ item = FileList.SelectedItems().Item(0); text = "<b>" + folder.GetDetailsOf(item, 0) + "</b><br>" + folder.GetDetailsOf(item, 1); \} Info.innerHTML = text; if (gDoBlends) Panel.filters\[0\].Play(); \} </script> <script language="JavaScript" for="FileList" event="SelectionChanged"> window.clearTimeout(gTimer); gTimer = window.setTimeout("ShowInfo()", gDoBlends ? 500 : 0); // need actual double-click time </script> </head> <body scroll=no onload=Load()> <div id=Panel style="background: white URL(file://%TEMPLATEDIR%/wvleft.bmp) no-repeat"> <div id=Corner> <object id=FolderIcon classid="clsid:844F4806-E8A8-11d2-9652-00C04FC30871" tabIndex=-1> <param name="scale" value=100> </object> <br> <div id=FolderName> %THISDIRNAME% </div> </div> <img id=LogoLine src="%TEMPLATEDIR%\wvline.gif"> <div id=Details> <span id=Info> %THISDIRPATH% <p> <id id=Link1> <a href="http://www.microsoft.com/isapi/redir.dll?prd=support&sbp=portal">Windows 2000 Support</a> </div> </div> <object id=FileList classid="clsid:1820FED0-473E-11D0-A96C-00C04FD705A2" tabIndex=1> </object> </body> </html>

Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish