My question is how do I know exactly which entries to edit? Go to
Control Panel and double-click on Internet Options, then click on
Local Intranet, then click on Sites. See those four checkboxes there?
Well, I want to write an MS-DOS batch script that will change those
value from the command line. The problem is, how do I know exactly
which registry keys and values control those checkboxes? I'm pretty
confident it's somewhere in HKEY_CURRENT_USER\Software\Microsoft
\Windows\CurrentVersion\Internet Settings\Zones, but then what? For
each Zone, I see like fifty different four-digit keys with hexadecimal
values. Can anybody tell me what these mean?
>My question is how do I know exactly which entries to edit? Go to
>Control Panel and double-click on Internet Options, then click on
>Local Intranet, then click on Sites. See those four checkboxes there?
>Well, I want to write an MS-DOS batch script that will change those
>value from the command line. The problem is, how do I know exactly
>which registry keys and values control those checkboxes? I'm pretty
>confident it's somewhere in HKEY_CURRENT_USER\Software\Microsoft
>\Windows\CurrentVersion\Internet Settings\Zones, but then what? For
>each Zone, I see like fifty different four-digit keys with hexadecimal
>values. Can anybody tell me what these mean?
You could try exporting the registry before and after making a change,
and then comparing the files.
--
Bernard Peek
London, UK. DBA, Manager, Trainer & Author.
The information I think you need is:
Reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet
Settings\ZoneMap"
then:
Automatically detect intranet network
/v AutoDetect /t reg_dword /d <0 (unchecked in the UI) 1 (checked in the
UI)> /f
Default is 1
The following are overridden if 'Automatically detect Intranet network is
enabled'
Include all local (intranet) sites not listed in other zones
/v IntranetName /t reg_dword /d <0 (unchecked in the UI) 1 (checked in
the UI)> /f
Include all sites that bypass the proxy server
/v ProxyBypass /t reg_dword /d <0 (unchecked in the UI) 1 (checked in the
UI)> /f
Include all network paths (UNCs)
/v UNCAsintranet /t reg_dword /d <0 (unchecked in the UI) 1 (checked in
the UI)> /f
I hope this helps you out!