Command line netsh ipsec static returns error 05073

adamwatt
adamwatt used Ask the Experts™
on
We have a group of servers running Windows 2003 and now have a new 2008 box.  I have some scripts that create some entries that seem to not want to work on 2008 despite what I read that is should.

I have the following:
netsh ipsec static add filterlist name="Open Z39.50 (Incoming)"

I receive the error:
ERR IPsec[05073] : Unable to open Policy Store

I tried to Google for some info but nothing was coming up that made any sense.  I did receive an error earlier that interactive sessions are not allowed on this server.  I've read that starting the Interactive Services Detection service will fix the problem with the interactive issue but I still get the same error.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Permissions problem?
http://selvasamuel.wordpress.com/

ERR IPSec [05073] Unable to open Policy Store.

Clearly this was a user permission issue. So, the identity of the COM+ application was changed to “Administrator” instead of “Local Service”. And then, we all lived happily until the next bug showed its ugly face.
You could also check that service is running

sc query policyagent
Try the same command with a Administrator: Command Prompt.

Right click on Command prompt and Run as

Does it still fail?

Author

Commented:
Number-1 I found that article but didn't think it really applied as I was trying to run something from the command line not another application.

ShareefHuddle, I am a member of the Administrators group so didn't even think of this.  It resolved my problem, thank you.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial