keyongtech


  keyongtech > windows.vista.* > windows.vista.general > 09/2008

 #1  
09-24-08, 10:53 PM
lca1630
Hello,

I am interested in a solution for distributing a registry key to my vista
users that disables IPV6. My scripting knowledge is limited and so I was
wondering if anyone had an idea of a script that would work to distribute
this registry key below via GPO to my users:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es\Tcpip6\Parameters]
"Dhcpv6DUID"=hex:00,01,00,01,0f,e1,a4,18,00,0c,29, 7c,94,36
"DisabledComponents"=dword:ffffffff

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es\Tcpip6\Parameters\Interfaces]

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es\Tcpip6\Parameters\Interfaces\{14782f48-c147-4378-863a-184700b4c8c4}]
"Dhcpv6Iaid"=dword:0e001372
"Dhcpv6State"=dword:00000000

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es\Tcpip6\Parameters\Interfaces\{31db1df5-a3a8-44a5-8ab0-d0b3a6209736}]
"Dhcpv6Iaid"=dword:0f000c29
"Dhcpv6State"=dword:00000000

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es\Tcpip6\Parameters\Interfaces\{8978d4f1-d9ec-471e-971a-a8023a4e510a}]
"Dhcpv6Iaid"=dword:0c000000
"Dhcpv6State"=dword:00000000

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es\Tcpip6\Parameters\Interfaces\{b9cf3462-a989-4e5d-b674-47c2a15762c0}]
"Dhcpv6Iaid"=dword:0c001372
"Dhcpv6State"=dword:00000000

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es\Tcpip6\Parameters\Interfaces\{d9b77aba-9aa6-49e3-86e6-d8a6e17a9079}]
"Dhcpv6Iaid"=dword:06001422
"Dhcpv6State"=dword:00000000

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es\Tcpip6\Parameters\Interfaces\{fbd4dbdd-2062-442f-ac67-6c0379fc9700}]
"Dhcpv6Iaid"=dword:07001422
"Dhcpv6State"=dword:00000000

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es\Tcpip6\Parameters\Winsock]
"UseDelayedAcceptance"=dword:00000000
"HelperDllName"=hex(2):25,00,53,00,79,00,73,00,74, 00,65,00,6d,00,52,00,6f,00,\
6f,00,74,00,25,00,5c,00,53,00,79,00,73,00,74,00,65 ,00,6d,00,33,00,32,00,5c,\
00,77,00,73,00,68,00,69,00,70,00,36,00,2e,00,64,00 ,6c,00,6c,00,00,00
"MaxSockAddrLength"=dword:0000001c
"MinSockAddrLength"=dword:0000001c
"Mapping"=hex:08,00,00,00,03,00,00,00,17,00,00,00, 01,00,00,00,06,00,00,00,17,\
00,00,00,01,00,00,00,00,00,00,00,17,00,00,00,00,00 ,00,00,06,00,00,00,17,00,\
00,00,02,00,00,00,11,00,00,00,17,00,00,00,02,00,00 ,00,00,00,00,00,17,00,00,\
00,00,00,00,00,11,00,00,00,17,00,00,00,03,00,00,00 ,ff,00,00,00,17,00,00,00,\
03,00,00,00,00,00,00,00

Thanks
 #2  
09-25-08, 12:58 AM
Peter Foldes
Post this to the public.windows.server.scripting newsgroup
 #3  
09-25-08, 02:06 AM
Synapse Syndrome
lca1630 <lca1630> wrote:
[..]
> "HelperDllName"=hex(2):25,00,53,00,79,00,73,00,74, 00,65,00,6d,00,52,00,6f,
> 00,\ 6f,00,74,00,25,00,5c,00,53,00,79,00,73,00,74,00,65 ,00,6d,00,33,00,32,
> 00,5c,\
> 00,77,00,73,00,68,00,69,00,70,00,36,00,2e,00,64,00 ,6c,00,6c,00,00,00
> "MaxSockAddrLength"=dword:0000001c "MinSockAddrLength"=dword:0000001c
> "Mapping"=hex:08,00,00,00,03,00,00,00,17,00,00,00, 01,00,00,00,06,00,00,00,
> 17,\ 00,00,00,01,00,00,00,00,00,00,00,17,00,00,00,00,00 ,00,00,06,00,00,00,
> 17,00,\ 00,00,02,00,00,00,11,00,00,00,17,00,00,00,02,00,00 ,00,00,00,00,00,
> 17,00,00,\ 00,00,00,00,00,11,00,00,00,17,00,00,00,03,00,00,00 ,ff,00,00,00,
> 17,00,00,00,\ 03,00,00,00,00,00,00,00



What server are you using? If you are using Server 2008, you can do it with
the in-built Group Policy Preferences. If you are using Server 2003, you
will have to search for something that has been bought and borged by
Microsoft. Read this:

http://blog.stealthpuppy.com/group-p...-adm-templates

ss.
 #4  
09-25-08, 04:17 PM
lca1630
Thank You so much I overlooked the Group Policy option, I was told it was a
possibility but didn't see how initial. This saves me a lot of time trying
piece togther a script of some sort. Thansk again it works perfectly.

"Synapse Syndrome" wrote:
[..]
Similar Threads
BAT script distribution

Hi, I wrote a little bat script that changes names of some folders on client, and copies some files from shared network folder to local disk. Script works if I start it from...

Setting the AppID in the registry using the registry script

Hello Group, i have two questions that i need advise on: 1) This is the scenario am working on : I wrote a simple in-process COM server (dll) using the ATL Wizard. I then...

Software distribution based on a registry key or file

Hi, We are setting up a new SOE and I'm trying to decide how I will implement version control. I'm thinking a registry key, within a file or variable. What I would like to...

Execute a registry key into a remote user's registry via a login script

My script works and goes through the process of executing the .reg file, either silently or normally, and executes the .reg file fine, but DOES NOT ADD it to the...

"The specified file is not a registry script. You can import only registry files

Has anyone found a cause/solution to the following error message? "The specified file is not a registry script. You can import only registry files" I'm seeing this on a...


All times are GMT. The time now is 07:50 AM. | Privacy Policy