troubleshooting Question

What method can I use to correct a socket permissions error when obtaining IPs via DHCP?

Avatar of Chris Collins
Chris CollinsFlag for United States of America asked on
DHCPWindows OSWindows 10Networking Protocols* Microsoft DHCP
21 Comments1 Solution11 ViewsLast Modified:

I have an HP Pavilion 15 laptop (TPN-Q130) on which I recently did an in-place upgrade from Windows 10 Build 1909 to Build 21H1. Ever since the upgrade, my network adapters (both WiFi and Ethernet) are unable to obtain IPs via DHCP. When using ipconfig /renew from the command line, I get the error: "an attempt was made to access a socket in a way forbidden by its access permissions".

I tried using static IP assignments instead, but to no avail.

When I attempt some basic troubleshooting (e.g. PING I get a General Failure error. This would normally indicate to me that the TCP/IP stack is damaged somehow. I have tried resetting using various NETSH commands.  I've tried disabling miniport drivers. I was going to revert back to the previous Windows build, but when I tried that, I received a message indicating that the "files needed to restore your previous version have been removed".  Aaaarghh!!!!

So, I ran the in-place upgrade process again in the hope that it would replace any damaged or missing networking components. No good. 

Has anyone encountered this before? Is there a fix that doesn't involve factory resetting the PC? There are numerous files, programs, and settings on it that I really don't want to lose.

Any help would be appreciated.

Thanks.  :-)

Hello ThereSystem Administrator
Log in to continue reading
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform for $9.99/mo
View membership options
Unlock 1 Answer and 21 Comments.
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
The Value of Experts Exchange in My Daily IT Life

Experts Exchange (EE) has become my company's go-to resource to get answers. I've used EE to make decisions, solve problems and even save customers. OutagesIO has been a challenging project and... Keep reading >>


Owner of Outages.IO
Phoenix, Arizona, United States
Member Since 2016
Join a full scale community that combines the best parts of other tools into one platform.
Unlock 1 Answer and 21 Comments.
View membership options
“All of life is about relationships, and EE has made a virtual community a real community. It lifts everyone's boat.”
William Peck

Member since 2004