Thursday, November 28, 2013

IPSEC service fails to start with Error 2: The system cannot find the file specified

This might be caused by one of the registry entries failure.. IPSec needs to be rebuilt to fix the issue. Follow below steps if it fixes..

 To rebuild IPSEC, follow these steps:
  1. Click Start, click Run, type regedit, and then click OK.
  2. In Registry Editor, locate and then click the following subkey: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\IPsec\Policy\Local.  (In my case, the server’s registry ended before IPsec.  If this is the case, skip to step 6.)
  3. On the Edit menu, click Delete.
  4. Click Yes to confirm that you want to delete the subkey
  5. Quit Registry Editor
  6. Click Start, click Run, type regsvr32 polstore.dll, and then click OK.   
If the IPSec service fails to start, you may see the machine is not communicating with any other network, may not get the IPaddress from DHCP and etc.,