2

I have followed this article to set the following environment:

enter image description here

  • DC: Windows Server 2008 R2 Enterprise (Full Installation) - Domain controller for the lab network, contoso.com
  • SQL-A: Windows Server 2008 R2 Enterprise (Full Installation) - Domain member for hosting SQL Server
  • SQL-B: Windows Server 2008 R2 Enterprise (Full Installation) - Domain member for hosting SQL Server
  • SQL-C: Windows Server 2008 R2 Enterprise (Full Installation) - Domain member for hosting SQL Server
  • SQL-D: Windows Server 2008 R2 Enterprise (Full Installation) - Domain member for hosting SQL Server
  • SQL-CORE: Windows Server 2008 R2 Enterprise (Server Core Installation) - Domain member for hosting SQL Server

Now I have to executing the following command on the DC machine:

Netsh interface ipv4 set address “Local Area Connection” static 10.10.10.10

but I get error:

Element not found.

I have not got any experience with windows administration and was not able to solve the error googling it.

Could anyone tell what is causing the issue?

  • Add mask and gateway as follows: ... static 10.10.10.10 255.255.255.0 10.10.10.1 – JosefZ Sep 20 '15 at 9:33
  • 1
    Weird double quotation marks “” in the 66-99style: left 66-styled U+201C and right 99-styled U+201D. Use both simple " U+0022 instead. And the "Local Area Connection" should be the same as ipconfig displays as an adapter name . – JosefZ Sep 20 '15 at 15:59
1

I had the exact same problem. It turns out that during the setup of my VM, I had multiple LAN connections created (I created mine in VirtualBox) and I ended up deleting the one named "Local Area Connection." My active connection was named "Local Area Connection 2."

I discovered this by running the command: netsh interface ipv4 show interfaces

Then I ran the original netsh command with the interface number instead of the name and it worked.

See here for original source of answer.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.