Output All Settings to a File

Page 2 of 5 FirstFirst 1234 ... LastLast

  1. Posts : 7,607
    Windows 10 Home 20H2
       #11

    Put all commands into a single CMD file. Just double-click on the file to run it. That is the simplest.
      My Computer


  2. Posts : 331
    windows 10
    Thread Starter
       #12

    As DHCP status is a critical parameter I started with it. Stalled right out.

    C:\Users\mikei>netsh
    netsh>dhcp
    netsh dhcpclient>show servers
    The following command was not found: show servers.
    netsh dhcpclient>
      My Computer


  3. Posts : 7,607
    Windows 10 Home 20H2
       #13

    Run ipconfig /all
    Do you find something like the following?

    Code:
       DHCP Server . . . . . . . . . . . : 192.168.2.1
       DHCPv6 IAID . . . . . . . . . . . : 115397982
       DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-25-15-7C-20-E0-D5-5E-CC-65-A3
      My Computer


  4. Posts : 18,044
    Win 10 Pro 64-bit v1909 - Build 18363 Custom ISO Install
       #14

    Hello @mikeincousa,

    Did you run the Command in my Post #8?
      My Computer


  5. Posts : 331
    windows 10
    Thread Starter
       #15

    Yes. i see them now. I was thinking that one could get the needed data directly rather then weeding them from an array.
      My Computer


  6. Posts : 18,044
    Win 10 Pro 64-bit v1909 - Build 18363 Custom ISO Install
       #16

    mikeincousa said:
    Yes. i see them now. I was thinking that one could get the needed data directly rather then weeding them from an array.

    Sorry I don't quite understand what you mean?
      My Computer


  7. Posts : 7,607
    Windows 10 Home 20H2
       #17

    Is the phrase "weeding them from an array" an idiom? If so, what does it mean?
      My Computer


  8. Posts : 331
    windows 10
    Thread Starter
       #18

    I think I have plucked out what I need to fully specify the parameters for a wired network connection?

    I may have missed something or included unnecessary items? Please let me know. The goal is a minimal list for easy comprehension and tracking.

    ...........................
    DHCP Server . . . . . . . . . . . : 192.168.1.1
    DHCPv6 IAID . . . . . . . . . . . : 63493119
    DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-21-92-CA-8A-18-60-24-76-47-8F

    DNS Servers . . . . . . . . . . . : 71.10.216.1
    71.10.216.2
    192.168.1.1

    NetBIOS over Tcpip. . . . . . . . : Enabled

    IPv4 Address. . . . . . . . . . . : 192.168.1.111(Preferred)
    Subnet Mask . . . . . . . . . . . : 255.255.255.0
    Lease Obtained. . . . . . . . . . : Tuesday, March 30, 2021 2:28:33 PM
    Lease Expires . . . . . . . . . . : Friday, April 2, 2021 7:21:54 AM
    Default Gateway . . . . . . . . . : fe80::ea9f:80ff:fec2:24e1%9
    192.168.1.1

    #do I need this block?
    DHCP Server . . . . . . . . . . . : 192.168.1.1
    DHCPv6 IAID . . . . . . . . . . . : 63493119
    DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-21-92-CA-8A-18-60-24-76-47-8F

    DNS Servers . . . . . . . . . . . : 71.10.216.1
    71.10.216.2
    192.168.1.1

    NetBIOS over Tcpip. . . . . . . . : Enabled

    IP Routing Enabled. . . . . . . . : No
    WINS Proxy Enabled. . . . . . . . : No
      My Computer


  9. Posts : 7,607
    Windows 10 Home 20H2
       #19

    When I used DHCP, I did not need any settings. I just turned on the modem. Then, I could access the Internet. I did not have to run any commands or set up a connection.
      My Computer


  10. Posts : 18,044
    Win 10 Pro 64-bit v1909 - Build 18363 Custom ISO Install
       #20

    Hello @mikeincousa,

    mikeincousa said:
    I think I have plucked out what I need to fully specify the parameters for a wired network connection?

    I may have missed something or included unnecessary items? Please let me know. The goal is a minimal list for easy comprehension and tracking.

    I always think it is better to have too much information and NOT need it, than to need it and NOT have it.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 12:50.
Find Us




Windows 10 Forums