Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Changing Control Panel's Internet Options settings through regedit via cmd.exe

527 views
Skip to first unread message

dwightarmy...@hotmail.com

unread,
Sep 23, 2008, 4:20:58 PM9/23/08
to
I'm using XP SP2 and I'm trying to change the registry editor through
cmd.exe and I know I can use the REG ADD command to edit and add
registry entries.

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?

Bernard Peek

unread,
Sep 23, 2008, 4:54:11 PM9/23/08
to
In message
<123174e1-2605-4803...@25g2000hsx.googlegroups.com>,
dwightarmy...@hotmail.com writes

>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.

ten.n...@virgin.net

unread,
Sep 23, 2008, 5:30:57 PM9/23/08
to
On Tue, 23 Sep 2008 13:20:58 -0700 (PDT), dwightarmy...@hotmail.com
wrote:

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!

dwightarmy...@hotmail.com

unread,
Sep 23, 2008, 7:41:14 PM9/23/08
to
Perfect! Thanks for all the help!
0 new messages