Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 (chicagotech.net/netforums/viewtopic.php?t=1507) –  Ye Lin Aung Apr 12 '10 at 13:57

1 Answer 1

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 (msdn.microsoft.com/en-us/library/ms724871%28v=VS.85%29.aspx) Also, take a look at this reference technet.microsoft.com/en-us/library/ee692585.aspx –  heavyd Apr 12 '10 at 23:57

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.