Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: How to edit Local Area Network settings in the Registry

26 Aug 2017   #1
fopetsys

Windows 7 Ultimate 32 bit
 
 
How to edit Local Area Network settings in the Registry

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 System SpecsSystem Spec
.
26 Aug 2017   #2
Alejandro85

Windows 7 Ultimate x64
 
 

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
My System SpecsSystem Spec
26 Aug 2017   #3
fopetsys

Windows 7 Ultimate 32 bit
 
 

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 System SpecsSystem Spec
.

26 Aug 2017   #4
Alejandro85

Windows 7 Ultimate x64
 
 

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 System SpecsSystem Spec
26 Aug 2017   #5
fopetsys

Windows 7 Ultimate 32 bit
 
 

Quote   Quote: Originally Posted by Alejandro85 View Post
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 System SpecsSystem Spec
27 Aug 2017   #6
fopetsys

Windows 7 Ultimate 32 bit
 
 

OK, for anyone else mvspbind has the answer :)
This the best explanation I could find
https://stackoverflow.com/questions/33971179/enabling-disabling-network-adapter-property-programmatically
My System SpecsSystem Spec
Reply

 How to edit Local Area Network settings in the Registry




Thread Tools




Similar help and support threads
Thread Forum
Local Area Network Puzzle
I have 2 desktop PCs. Both have Win 7 Ultimate. They are connected by a router/cables. In Windows Explorer view, "Network" tab, computer A can see shared content on computer B. Computer B cannot connect and view shared content on computer A. I get a message "Current location not available"...
Network & Sharing
How to edit registry to delete malicious computers on network
Hi - Stupidly clicked on rogue email attachment two days ago; have run Microsoft virus scans, etc., but nothing shows. However, an unknown computer (two today!) is showing up in my network area. Have disabled as best I can all network/file sharing and have mostly had computer unconnected to...
System Security
There was a problem with a local area network driver
Ive tried basically evrything. Ive tried Ip/tscp dumps bios lan checks system restores 2 separate other wireless network adapter tried sharing network with another computer to no avail, im alas stuck. What to do?
Drivers
No Local Area Network Connection Showing?
I had lot of problems with my laptop earlier when my wired connection didn't work at all... wifi did. However yesterday i got the wired connection to work. I use an ethernet cable very long one to connect to router. Today i cannot connect wired. Not only that, i went to local area network and...
Network & Sharing
Local Area Connection - Unidentified Network.
Hey, so just this morning i disconnected all of a sudden, and now i can't connect to the internet with my ethernet cable, my wireless connection is fine though...I've been searching for solutions but nothing has worked so far, i really have no idea what to do.
Network & Sharing


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 11:35.
Twitter Facebook Google+