ipseccmd in vista

Posted on 2008-11-18
Last Modified: 2012-05-05
What is the Vista alternative to these commands, as Vista doesnt support ipseccmd.

See code for commands which need to be usable in Vista.

ipseccmd -w REG -p CSFW -o

ipseccmd -w REG -p CSFW -r Host-Gateway -t %vpn_gw% -f %my_subnet%=%vpn_subnet% %keys%

ipseccmd -w REG -p CSFW -r Gateway-Host -t %my_ip%  -f %vpn_subnet%=%my_subnet% %keys%

ipseccmd -w REG -p CSFW -x

rem ipseccmd [\\ComputerName] -f FilterList [-n NegotiationPolicyList] [-t TunnelAddr] [-a AuthMethodList] [-1s SecurityMethodList] [-1k MainModeRekeySettings] [-1p] [-1f MMFilterList] [-1e SoftSAExpirationTime] [-soft] [-confirm] [{-dialup | -lan}]

Open in new window

Question by:x2cmsac
    1 Comment
    LVL 8

    Accepted Solution


    In Vista it looks like that functionality was added into netsh [ipsec,advfirewall]


    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    There are many reasons a PC runs slower than when it was new, ranging from malicious software intended to mess things up to simple general Windows use.  Your PC performance may slowly degrade over time without you noticing but when you buy a PC from…
    I'm a big fan of Windows' offline folder caching and have used it on my laptops for over a decade.  One thing I don't like about it, however, is how difficult Microsoft has made it for the cache to be moved out of the Windows folder.  Here's how to …
    The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…
    In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor ( If you're interested in additional methods for monitoring bandwidt…

    734 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    23 Experts available now in Live!

    Get 1:1 Help Now