Solution for No Internet/Network Connection After Upgrading to Windows 11 24H2
Hi everyone,
I recently encountered an issue after updating to Windows 11 24H2. My system was assigned a 169.x.x.x IP address, resulting in no internet or network connection. After troubleshooting, I found a solution that worked for me, and I wanted to share it in case it helps someone else.
Here are the steps I followed:
- Remove the WinHTTPAutoProxySvc Dependency
Open regedit (Registry Editor).
Navigate to: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WcmSvc.
Locate the DependOnService entry.
Remove WinHTTPAutoProxySvc from the list, leaving only RpcSs and NSI.
- Enable the WinHTTP AutoProxy Service
In regedit, navigate to: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WinHttpAutoProxySvc.
Locate the Start entry.
Change its value from 4 (disabled) to 3 (manual).
- Modify Windows Connection Manager
Open Command Prompt (Admin).
Run the following command:
sc config WcmSvc depend= RpcSs/NSI
- Reboot Your System
Restart your computer to apply the changes.
- Set Up a Static IP Address
Assign a static IP address manually.
Note: I had issues pinging the gateway address even with a correct static IP during this step, but I continued with the next steps.
- Reset the Network Stack
Open Command Prompt (Admin).
Run the following commands:
netsh int ip reset
netsh winsock reset
ipconfig /flushdns
- Reboot Again
After the final reboot, I was able to ping my local gateway (set during Step 5). I then switched back to obtaining an IP address via DHCP, and everything finally worked again.
Additional Note: I also disabled my antivirus during the troubleshooting process, but I don't believe it made any difference in resolving the issue.
I hope this helps anyone else and maybe saves someone like a full day of debugging and trying... next time i think i will just install unix ;)