Re: Programmatically add and modify IPsec policies
From: Steve Riley [MSFT] (steriley_at_microsoft.com)
Date: 06/09/04
- Next message: Steve Riley [MSFT]: "Re: Dangers of toggling Syskey modes"
- Previous message: Don Amacker: "Restriction in effect on this computer ??"
- In reply to: Colin Eric Johnson: "Programmatically add and modify IPsec policies"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Wed, 9 Jun 2004 10:31:00 -0700
There are no public APIs for IPsec. You can, however, use a command-line
tool to create IPsec policies through scripts. The tool is different
depending on the version of Windows:
Windows 2000 Pro and Server: IPSECPOL
Windows XP: IPSECCMD
Windows Server 2003: NETSH IPSEC
-- Steve steriley@microsoft.com "Colin Eric Johnson" <colinj+msnews@ccs.neu.edu> wrote in message news:eRSlEFNTEHA.3548@TK2MSFTNGP09.phx.gbl... > > I'd like to be able to add and modify IPsec policies on standalone > machines (not in a domain) from a script or program. Right now I can make > changes with the Local Security Policy tool but that requires user > intervention on a level that I don't want to have in place. I'd like to > write something that can make the changes needed and/or add new IPsec > policies with minimal input from the user. > > My intended audience are folks who move around with their laptops a fair > bit and need one policy in one place and another or no policy in another > place. > > Can this be down with something like WMI or is there another API that > allows this kind of scripting? I haven't found anything in my searches of > the Microsoft web site or the web in general (thank you google). If > someone could point me in the right direction I think I could take it from > there. > > -- colin j. >
- Next message: Steve Riley [MSFT]: "Re: Dangers of toggling Syskey modes"
- Previous message: Don Amacker: "Restriction in effect on this computer ??"
- In reply to: Colin Eric Johnson: "Programmatically add and modify IPsec policies"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|