Issue to command

Peter_1985 2,666 Reputation points
2020-12-03T04:51:02.16+00:00

Hi,
Can you help to the following?
44662-1f.png

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
13,071 questions
Windows Server Infrastructure
Windows Server Infrastructure
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.Infrastructure: A Microsoft solution area focused on providing organizations with a cloud solution that supports their real-world needs and meets evolving regulatory requirements.
544 questions
0 comments No comments
{count} votes

Accepted answer
  1. Candy Luo 12,701 Reputation points Microsoft Vendor
    2020-12-03T07:02:58.417+00:00

    Hi ,

    Agree with LasRashid, your interface name is Local Area Connection instead of Ethernet, change to Local Area Connection and then see if the command can work.

    In addition, what's the OS version of your machine? Windows 7 or windows server 2008? If the command still doesn't work, see if the following link can help you:

    Windows 7 System Image Recovery: netsh error “The interface is unknown”

    Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.

    --------------------------------------------------------------

    If the Answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

5 additional answers

Sort by: Most helpful
  1. Las Rashid 6 Reputation points
    2020-12-03T06:38:48.523+00:00

    Hello,

    Run This Command

    netsh interface ipv4 set address "Local Area Connection" Static X.X.X.X X.X.X.X

    your Ethernet name is [ Local Area Connection ] not [ Ethernet ]

    1 person found this answer helpful.
    0 comments No comments

  2. Las Rashid 6 Reputation points
    2020-12-03T05:59:41.19+00:00

    Hello,

    I think you're running Windows on USB or CD as installation, I don't think you can run this command there, you can do it on safe mode, or normal mode, or check your Ethernet name from command below,

    netsh interface ipv4 show config

    Regards.

    0 comments No comments

  3. Peter_1985 2,666 Reputation points
    2020-12-03T06:30:05.47+00:00

    See below44566-1h.png

    0 comments No comments

  4. Peter_1985 2,666 Reputation points
    2020-12-03T07:02:41.283+00:00

    Yes, I can run it below but I cannot ping www.google.com.
    44625-1j.png


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.