Solved How to edit Local Area Network settings in the Registry

fopetsys

New member
Local time
2:07 PM
Messages
7
I have a need to alter Local Area Network settings in the Registry.

I send an installation file to customers which should automagically configure several settings in the Registry.

I need to simplify the traffic on the LAN because the remote controller cannot (yet) handle the 'normal' network requests sent by Windows either on seeing a new NIC connection and/or periodically scanning for new network connections.

I can disable LLMR, SSDP, gratuitous ARP requests, etc., but haven't found how to set a fixed IP for the LAN in the Registry.
 

My Computer My Computer

At a glance

Windows 7 Ultimate 32 bitAMD Athlon(tm) 64 X2 Dual Core Processor 4000...Available memory (MB): 3071NVIDIA Corporation G73 [GeForce 7300 GT] NX73...
Computer type
PC/Desktop
Computer Manufacturer/Model Number
ASUS
OS
Windows 7 Ultimate 32 bit
CPU
AMD Athlon(tm) 64 X2 Dual Core Processor 4000+, 2 logical CP
Motherboard
M2N68-AM
Memory
Available memory (MB): 3071
Graphics Card(s)
NVIDIA Corporation G73 [GeForce 7300 GT] NX7300GT-TD256EH
Hard Drives
Western Digital 1TB Black
Antivirus
Malwarebytes
Browser
Chrome, Opera, Firefox

My Computer My Computer

At a glance

Windows 7 Ultimate x64Intel Core i7-740QM8 GB DDR3NVIDIA GeForce 330GT
Computer type
Laptop
Computer Manufacturer/Model Number
Toshiba Sattelite A665-S6092
OS
Windows 7 Ultimate x64
CPU
Intel Core i7-740QM
Memory
8 GB DDR3
Graphics Card(s)
NVIDIA GeForce 330GT
Screen Resolution
1366x768
Hard Drives
Samsung 840 SSD 500GB
1TB USB3 external HD
Cooling
Coolermaster Notepal U3 notebook cooling pad
Internet Speed
3mbps ASDL
Antivirus
ClamWin 0.98.7
Browser
Opera 12.17 x86 (main), Firefox 38 (sec), IE11 (last resort)
That's just what I'm trying to avoid by editing the Registry from an install script.
Leave the settings to an end customer who doesn't know one end of a pen from the other is too risky.

Edit:
OK, sorry for my snappy response, I can see where you are going but it still seems risky. I'll give it a try and see if I can succeed.
 

My Computer My Computer

At a glance

Windows 7 Ultimate 32 bitAMD Athlon(tm) 64 X2 Dual Core Processor 4000...Available memory (MB): 3071NVIDIA Corporation G73 [GeForce 7300 GT] NX73...
Computer type
PC/Desktop
Computer Manufacturer/Model Number
ASUS
OS
Windows 7 Ultimate 32 bit
CPU
AMD Athlon(tm) 64 X2 Dual Core Processor 4000+, 2 logical CP
Motherboard
M2N68-AM
Memory
Available memory (MB): 3071
Graphics Card(s)
NVIDIA Corporation G73 [GeForce 7300 GT] NX7300GT-TD256EH
Hard Drives
Western Digital 1TB Black
Antivirus
Malwarebytes
Browser
Chrome, Opera, Firefox
You don't edit network settings by tampering on the registry directly. You just use the interfaces Windows provides to change those settings.

By using the command line version, your install script can simply invoke those commands automatically and change every setting as it would be done by the GUI. This is the main purpose of the netsh command.

Of course you don't leave it to the end users to handle the configuration. Your installation procedure does that automatically.
 

My Computer My Computer

At a glance

Windows 7 Ultimate x64Intel Core i7-740QM8 GB DDR3NVIDIA GeForce 330GT
Computer type
Laptop
Computer Manufacturer/Model Number
Toshiba Sattelite A665-S6092
OS
Windows 7 Ultimate x64
CPU
Intel Core i7-740QM
Memory
8 GB DDR3
Graphics Card(s)
NVIDIA GeForce 330GT
Screen Resolution
1366x768
Hard Drives
Samsung 840 SSD 500GB
1TB USB3 external HD
Cooling
Coolermaster Notepal U3 notebook cooling pad
Internet Speed
3mbps ASDL
Antivirus
ClamWin 0.98.7
Browser
Opera 12.17 x86 (main), Firefox 38 (sec), IE11 (last resort)
Use the netsh command to configure all the network settings from the command prompt, incluiding automating the whole process.
See here for some quick examples: How to Change Your Computers IP Address From the Command Prompt
Ok, thanks. That sorts IPv4 but I still need to disable most, if not all the other services _ only for "Local Area Connection", WiFi still needs to work.
e.g it's easy to disable Client for Microsoft Networks in LAN properties manually but even though I can find the Eth0 IP address in Registry, I haven't found this M$ Client.
I looked at nvspbind but although it may do what I need I cannot fathom how.
 

My Computer My Computer

At a glance

Windows 7 Ultimate 32 bitAMD Athlon(tm) 64 X2 Dual Core Processor 4000...Available memory (MB): 3071NVIDIA Corporation G73 [GeForce 7300 GT] NX73...
Computer type
PC/Desktop
Computer Manufacturer/Model Number
ASUS
OS
Windows 7 Ultimate 32 bit
CPU
AMD Athlon(tm) 64 X2 Dual Core Processor 4000+, 2 logical CP
Motherboard
M2N68-AM
Memory
Available memory (MB): 3071
Graphics Card(s)
NVIDIA Corporation G73 [GeForce 7300 GT] NX7300GT-TD256EH
Hard Drives
Western Digital 1TB Black
Antivirus
Malwarebytes
Browser
Chrome, Opera, Firefox

My Computer My Computer

At a glance

Windows 7 Ultimate 32 bitAMD Athlon(tm) 64 X2 Dual Core Processor 4000...Available memory (MB): 3071NVIDIA Corporation G73 [GeForce 7300 GT] NX73...
Computer type
PC/Desktop
Computer Manufacturer/Model Number
ASUS
OS
Windows 7 Ultimate 32 bit
CPU
AMD Athlon(tm) 64 X2 Dual Core Processor 4000+, 2 logical CP
Motherboard
M2N68-AM
Memory
Available memory (MB): 3071
Graphics Card(s)
NVIDIA Corporation G73 [GeForce 7300 GT] NX7300GT-TD256EH
Hard Drives
Western Digital 1TB Black
Antivirus
Malwarebytes
Browser
Chrome, Opera, Firefox
Back
Top