Install Internet Protocol Version 4 (TCP/IPv4) on Windows 7

All we need is an easy explanation of the problem, so here it is.

I can not explain what has happened, just suddenly I lost my internet connection. On local area connection properties IPv4 is not installed, my ISP says that they only support IPv4. Then I must had it because I had connection before.
What could happen to lose IPv4? And how to install it back?

Thank you.

How to solve :

I know you bored from this bug, So we are here to help you! Take a deep breath and look at the explanation of your problem. We have many solutions to this problem, But we recommend you to use the first method because it is tested & true method that will 100% work for you.

Method 1

way 1:

Run cmd as Administrator. Run command:

netsh interface IPV4 uninstall 

Wait 2-3 minutes, run:

netsh interface IPV4 install

way 2:

Run cmd as Administrator. Run command:

resets WINSOCK entries to installation defaults

netsh winsock reset catalog

resets IPv4 TCP/IP stack to installation defaults:

netsh int ipv4 reset reset.log

or

netsh int ip reset reset.log

need reboot

way 3:

Run ncpa.cpl as Administrator.

Right-click the network connection which you are using, and then click Properties.

Click on Internet Protocol TCP/IPv4.

Click Install then.

Click Protocol, and then click Add.

Click Have Disk.

Type the location as %windir\inf%, example: C:\windows\inf and then click OK.

On the list of available protocols, click Internet Protocol (TCP/IPv4), and then click OK.

way 4:

wmic nicconfig get MACAddress, IPAddress, ServiceName, Caption, IPEnabled, SettingID | find /I "Realtek"

Get NIC GUID and del HKEY_LOCAL_MACHINE\SYSTEM\ControlSet00x\Services\{GUID} in registry.

wmic nic get Caption, PNPDeviceID, ServiceName, NetConnectionStatus | find /I "Realtek"

Get NIC PCI ID: PCI\VEN_XXXX&DEV_YYYY&SUBSYS_ZZZZZZZ&REV_TT and del HKEY_LOCAL_MACHINE\SYSTEM\ControlSet00x\Enum\PCI\VEN_{PCI_ID} in registry.

If it is difficult steps to improve law, registry entries, and then override the owner can use the Windows Driver Kit (WDK) 7.1.0.

Run regedit with SYSTEM rights.Need Windows Driver Kit (WDK) 7.1.0:

ntsd -c qd regedit

Scott Chamberlain (c), good comment!:

You can run regedit with SYSTEM rights by using PSExec too, much smaller download. One of the examples they post is running regedit as SYSTEM.

psexec -i -d -s c:\windows\regedit.exe

Reboot!

way 5 (apply if in a pinch, if the previous methods did not help):

/1. Back up Registry
/2. Edit file %windir%\inf\Nettcpip.inf in [MS_TCPIP.PrimaryInstall]

comment string ;:

;    Characteristics = 0xA0 ; NCF_HAS_UI | NCF_NOT_USER_REMOVABLE

and add

Characteristics = 0x80

Install Internet Protocol Version 4 (TCP/IPv4) on Windows 7

/3. Control Panel->Network Connections->Local Area Connection->Properties

Install Internet Protocol Version 4 (TCP/IPv4) on Windows 7

Install protocol. Press Install button, select protocol, type Windows Inf path.

Install Internet Protocol Version 4 (TCP/IPv4) on Windows 7

Select IPv4 protocol. (Unblock IPv4 uninstall button.)

Install Internet Protocol Version 4 (TCP/IPv4) on Windows 7

Uninstall IPv4.

Install Internet Protocol Version 4 (TCP/IPv4) on Windows 7

/4. delete registry key:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Winsock
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Winsock2

if need, delete registry key:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\tcpip
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\dhcp
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\dnscache
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\ipsec
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\policyagent
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\atmarpc
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\nla

Install Internet Protocol Version 4 (TCP/IPv4) on Windows 7

/5.Reboot

Install Internet Protocol Version 4 (TCP/IPv4) on Windows 7

/6. Install IPv4

Install Internet Protocol Version 4 (TCP/IPv4) on Windows 7

/7. Reboot!

Install Internet Protocol Version 4 (TCP/IPv4) on Windows 7

/8. Restore %windir%\inf\Nettcpip.inf

/*. See too Re-installing WAN miniport devices

Method 2

From the Device Manager, navigate to Network Adapters and expand the tree. Right click and uninstall the ethernet card and reboot. Windows should autodetect the card and reinstall the appopriate drives. This should re-enable IPv4.

Method 3

Got to Networking and sharing then Click on change adapter. Then right click on local area connection.

Double-click on Internet Protocol version 4 (TCP/IP4)
and change as follows:

enter image description here

save

Note: Use and implement method 1 because this method fully tested our system.
Thank you 🙂

All methods was sourced from stackoverflow.com or stackexchange.com, is licensed under cc by-sa 2.5, cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply