CoNetrix Blog

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

Posted on October 10, 2010 9:28 AM

Upon rebooting a Terminal Server that had resource issues, we could not log back into the server through RDP.  We could log in through iLO, and it was apparent that the logins were working but they were very slow.  Upon examining the services, we could see that the IPSEC service was not started. 

Trying to manually start the service gave the following popup: "Could not start the IPSEC Services service on Local Computer.  Error 2: The system cannot find the file specified."  The event logs also showed that TCP/IP was in blocking mode. 

Disabling the service and rebooting restored all network communication, but trying to start the service would drop all connectivity again and slow down the server.  I found another article that said that IPSEC may need to be rebuilt.  When I looked for the registry keys for IPSEC, they were not there.  After I ran the following commands, the registry keys were populated, and IPSEC was able to run properly.

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.

Related Posts

Comments

Comment by Ramki

October 14, 2010 4:34 AM

I faced same issue and by running the command in step6 solved the prob ...thanks a lot

Comment by Steve F

July 29, 2011 3:27 AM

Hi, I've just faced exactly the same problem with a business critical server. Step 6 fixed this for me too. Yours is the first article I came to in Google.

Thanks very much.

Comment by D-Bar

August 11, 2011 6:45 PM

When i went to the registry the key wasn't there. i did step 6 and the problem was solved.
Thanks Smile

Comment by Colin

September 14, 2011 8:40 AM

Excellent solution, step 6 worked for me. Thank you

Comment by PaulJ

September 15, 2011 1:23 AM

I didn't find IPSec in that location, Then i did step 6 and it worked for me. Excellent solution. Thank you.

Comment by ScottS

November 21, 2011 10:26 AM

same issue, only step 6 allowed ipsec service to start, voila... networking restored.

Comment by Fang

March 5, 2012 8:42 PM

meet the same issue and it helps to fix.

Thanks a lot!

Comment by Azrael

May 15, 2012 11:52 AM

Stumbled across this when helping to troubleshoot a school district's print server. Your advice helped turn one stressed out district technician into a happy camper in no time. Frantastic job, and thanks!

Add Comment





[b][/b] - [i][/i] - [u][/u]- [quote][/quote]