netsh dump command on Windows 7
When i do a netsh interface ip dump >c:\temp.netsh, the contents of the temp.netsh is : # ---------------------------------- # IPv4 Configuration # ---------------------------------- pushd interface ipv4 reset set global icmpredirects=enabled popd # End of IPv4 configuration But the same command on XP yields the following output # ---------------------------------- # Interface IP Configuration # ---------------------------------- pushd interface ip # Interface IP Configuration for "Local Area Connection" set address name="Local Area Connection" source=dhcp set dns name="Local Area Connection" source=dhcp register=PRIMARY set wins name="Local Area Connection" source=dhcp popd # End of interface IP configuration My question is how can i make the Win 7 dump file to have exactly the same contents of Win XP ? The network settings on both the operating systems are exactly the same. I require exactly same configuration under this interface because i will be parsing the dump file to look for a statement and application has to be supported on both Win XP and Win 7. Kindly Help
April 19th, 2011 12:50pm

Hi shashanksingh14, It is not a software development on the compatibility issues. So I will help you to move it to the TechNet related forum: http://social.technet.microsoft.com/Forums/en-us/w7itpronetworking/threads Sincerely,Bob Bao [MSFT] MSDN Community Support | Feedback to us Get or Request Code Sample from Microsoft Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Free Windows Admin Tool Kit Click here and download it now
April 20th, 2011 6:28am

Hi, I’m afraid that’s impossible to do it. The netsh command has a little difference between Windows 7 and Windows XP. In windows XP, the command “netsh interface ip dump” while “nesh interface ipv4 dump” in Windows 7. That’s a by design behavior to show the result of that. Thank you for your understanding. Regards, Leo Huang Please remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
April 21st, 2011 1:25am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics