Last week I had a BSOD error on one of my MailSweeper servers. Afterwards when it booted into Windows it had disconnected itself from the network and the IPSec service would not start. I'm sure they were having a good laugh at Microsoft when they decided how to word this error message:

Cannot start the IPSec Service
What failed?

The winsock stack can be reset from a command prompt using:

netsh int ip reset resetlog.txt

However in my case it was throwing up this error:

Initialization Function InitHelperDll in IPMONTR.DLL failed to start with error code 10107
The following helper DLL cannot be loaded: DHCPMON.DLL.
The following helper DLL cannot be loaded: WINSMON.DLL.

Thinking back to my NT4 days it used to be possible to reinstall the IP stack by simply removing and adding the TCP/IP protocol, but in Windows 2003 (and XP) it's a core component of Windows and the 'Uninstall' button is disabled. So, if you need to do this then this technet article can be followed. If you're not doing this work on a DC, then booting up into Safe Mode is fine - that's what I did and it worked like a charm.

Technorati Tags: , , ,