Friday, May 20, 2011

How to fix inithelperdll in ipmontr.dll failure with error code 10107

You can't get IP through DHCP, and you get a "Initialization function inithelperdll in ipmontr.dll failed to start with error code 10107" error in command prompt when using the ipconfig.exe program. What do you do? The solution, as always, is simple. It's the figuring out that's hard.

In command prompt, run:

:\> netsh winsock reset

Once it's done, just reboot and everything should be back to normal. Winsock2 got corrupted, so resetting to the original Windows values fixes things.

There's a Microsoft KB article that documents this, which might be of interest if a simple reset doesn't help for some reason.