Keep ie6 installed (don’t update ie to newer versions)

For testing I like to keep older versions of Internet Explorer installed, here are some notes on how to disable the updating of Internet Explorer to newer versions.
I only recommend doing this on a machine that should keep Internet Explorer 6 in order to do development testing.

  • Disable Internet Explorer 7 Open up a registry editor and check if the key “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Setup\7.0” exists, otherwise create it (the key is the tree structure in regedit).
    Now enter a Key name “DoNotAllowIE70” as a DWORD and give it the value “1”.
    This will keep Internet Explorer 8 from installing on this computer.
  • Disable Internet Explorer 8 Open up a registry editor and check if the key “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Setup\8.0” exists, otherwise create it (the key is the tree structure in regedit).
    Now enter a Key name “DoNotAllowIE80” as a DWORD and give it the value “1”.
    This will keep Internet Explorer 8 from installing on this computer.
  • Disable Internet Explorer 9 Open up a registry editor and check if the key “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Setup\9.0” exists, otherwise create it (the key is the tree structure in regedit).
    Now enter a Key name “DoNotAllowIE90” as a DWORD and give it the value “1”.
    This will keep Internet Explorer 9 from installing on this computer.
  • Disable Internet Explorer 10 Open up a registry editor and check if the key “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Setup\10.0” exists, otherwise create it (the key is the tree structure in regedit).
    Now enter a Key name “DoNotAllowIE10” as a DWORD and give it the value “1”.
    This will keep Internet Explorer 10 from installing on this computer.
  • Disable Internet Explorer 11 Open up a registry editor and check if the key “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Setup\11.0” exists, otherwise create it (the key is the tree structure in regedit).
    Now enter a Key name “DoNotAllowIE11” as a DWORD and give it the value “1”.
    This will keep Internet Explorer 11 from installing on this computer.
  • The values mean the following:

    • When the key value name is not defined, distribution is not blocked.
    • When the key value name is set to 0, distribution is not blocked.
    • When the key value name is set to 1, distribution is blocked.

    note This article is updated as new versions are released.

    If you need to do this on several computers then you can download Toolkits to do this from Microsoft (warning: read the instructions and verify that you ran it correctly on the first computer you run it on):

    .htaccess to allow google ads (the indexing bot) [or limit user-agents via .htaccess]

    Sometimes there is a need to only allow limit access to a site using a .htaccess file.
    If you still wish to be able to serve Google adsense on this page then the following example is good for this (yes the allow line should be changed to suit your needs)

    # Google_ads agents
    BrowserMatchNoCase Mediapartners-Google good_pass
    BrowserMatchNoCase Adsbot-Google good_pass
    <LIMIT GET POST>
    order deny,allow
    deny from all
    allow from 123.456.789
    #Google ads
    allow from env=good_pass
    </LIMIT>

    Turning off password saving (on a form)

    If you have a form that you do not wish to use autocompletion for (either you want to disable password auto completion “for real”, or perhaps you have a form where the saved credentials are filled in where they shouldn’t be) then a quick tip to achieve this is to set ‘ autocomplete=”off” ‘ on the form.

    <form id="loginForm" action="login.php" method="post" autocomplete="off">