I want to disable my LAN from command prompt. For that, I have tried the command netsh interface set interface Local Area Connection DISABLED. I get an error saying:

Area is not an acceptable value for admin.
The parameter is incorrect. 

What am I doing wrong? I have admin rights and am on a 64 bit OS.

link|improve this question
feedback

migrated from programmers.stackexchange.com Nov 25 '11 at 13:27

This question came from our site for professional programmers interested in conceptual questions about software development.

1 Answer

up vote 2 down vote accepted

Wild guess, quotes around multi word arguments:

netsh interface set interface "Local Area Connection" DISABLED
link|improve this answer
thanks for the help. it worked. – CyprUS Nov 25 '11 at 13:21
1  
@CyprUS if it worked you should check the checkmark under the vote button and give Thorbjorn the credit for giving the correct answer. – Scott Chamberlain Nov 25 '11 at 20:59
feedback

Your Answer

 
or
required, but never shown

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