Issue to command

Peter_1985 2,356 Reputation points

Can you help to the following?

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
11,093 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.
487 questions
0 comments No comments
{count} votes

Accepted answer
  1. Candy Luo 12,636 Reputation points Microsoft Vendor

    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


    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


    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


    0 comments No comments

  3. Peter_1985 2,356 Reputation points

    See below44566-1h.png

    0 comments No comments

  4. Peter_1985 2,356 Reputation points

    Yes, I can run it below but I cannot ping