none
netsh dump on windows 7

    Question

  • When i do a netsh dump >c:\temp.netsh under the IP interface i have this entry
    # ---------------------------------- 
    # 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
    but on Windows 7, i have this
    # ----------------------------------
    # IPv4 Configuration
    # ----------------------------------
    pushd interface ipv4
    reset
    set global icmpredirects=enabled
    popd
    # End of IPv4 configuration
    How can i get these three statments 
    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
    under IPv4 interface on Windows 7 dump?
    Also when i try to restore from Win 7 dump it fails but perfectly restore on Win XP.
    Please help!!!
    Monday, April 18, 2011 1:44 PM

All replies

  • Hi,

     

    Regarding your issue, you can check the following hotfix.

     

    http://support.microsoft.com/kb/979101

     

    Note: the hotfix cannot be applied after installing SP1.

     

    However, the result on Windows 7 makes difference with Windows XP. If you want to change the settings manually, please refer to the following article. You can set it manually.

     

    http://technet.microsoft.com/en-us/library/cc731521(WS.10).aspx#BKMK_addaddress

     

    Best Regards,

    Niki


    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.
    Wednesday, April 20, 2011 11:07 AM
  • Hi Niki,


    Thanks for the reply.

    Can you elaborate on your second suggestion. How do I make use of 'add address' to add exactly the statement "set address name="Local Area Connection" source=dhcp " in the dump file being generated?

    Thanks and Regards,
    Shashank 

    Wednesday, April 20, 2011 12:07 PM
  • Hi Shashank,

     

    Try the following command.

     

    Netsh interface ip set address name="Local Area Connection" source=dhcp

    Netsh interface ip set dnsserver name="Local Area Connection" source=dhcp

    Netsh interface ip set winsserver name="Local Area Connection" source=dhcp

     

    Best Regards,

    Niki

     


    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.
    Friday, May 06, 2011 3:50 AM