Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This is the way to do it on XP, but is it possible on Windows Vista and Above?

If so how do you detect it? Is there a registry setting for it, or is there com dll or api for it?

share|improve this question
take a look at here ( – Ye Lin Aung Apr 12 '10 at 13:57
up vote 0 down vote accepted

The same registry key should work on both Windows XP as well as Windows Vista/7. This document lists it as a valid key. You may need to create it in order to use it.

You should be able to verify its state using the ipconfig command:

ipconfig /all

Look for the IP Routing Enabled under Windows IP Configuration

share|improve this answer
ipconfig does display whether IP routing is enabled or not. Thanks. You wouldnt happen to know if there is a com wmi or other api for this? – Charles Gargent Apr 12 '10 at 14:00
There is always the Windows Registry API ( Also, take a look at this reference – heavyd Apr 12 '10 at 23:57

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .