You could do it with netsh.exe. The first output shows the status while
the network card is enabled, the second when it is disabled.
netsh interface show interface
Admin State State Type Interface Name
-------------------------------------------------------------------------
Enabled Connected Loopback Loopback
Enabled Connected Internal Internal
Enabled Connected Dedicated Local Area Connection
Why can't you just remove TCP/IP protocol if you want to disable networking?
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.