none
disconect wireless connecion RRS feed

  • Question

  • Hello.

    My brother is playing computer online every day all day and we cannot disconnect the wifi because we have to work and we need it.

    is there any commands to disable internet until i insert the enable command?

    and the same thing with the etheret connection.


    Sunday, May 21, 2017 10:08 AM

All replies

  • Hi Cedry,Start elevated Command Prompt.

    This should do it:

       netsh interface set interface name="Local Area Connection" admin=disabled

    Subsitute the actual network connection name if it isn't Local Area Connection.

    also you can perform below,

    Get NIC list and index number:
    wmic nic get name, index

    Enable NIC with index number: (eg: 7)
    wmic path win32_networkadapter where index=7 call enable

    Disable NIC with index number: (eg: 7)
    wmic path win32_networkadapter where index=7 call disable


    Technet microsoft solutions.


    Sunday, May 21, 2017 10:25 AM
  •  Intel(R) Dual Band Wireless-AC 3160 

    this is for wifi?

    Sunday, May 21, 2017 11:09 AM
  • Hi,

    here you go..

    Disable Wifi from command prompt

    Open elevated administrator command prompt and run the below command

    netsh interface set interface name="Wireless Network Connection" admin=DISABLED

    To Enable Wifi network connection

    netsh interface set interface name="Wireless Network Connection" admin=ENABLED


    Technet microsoft solutions.

    • Proposed as answer by premraj subbu Sunday, August 27, 2017 1:28 PM
    Sunday, May 21, 2017 1:02 PM
  • it is telling me that no more data is available
    Sunday, May 21, 2017 5:58 PM
  • <section abp="1226" id="printableArea">
    <article abp="1229" class="col-sm-12"><header abp="1231">

    How to Turn Wi-Fi On and Off in Windows* Operating Systems

                            How to Turn Wi-Fi On and Off in Windows* Operating Systems
                       


                    </header>

                   

                        Last Reviewed: 12-May-2017

                        Article ID: 000024076


                        Learn how to turn on your Wi-Fi radio in Windows 7*, 8.1*, and Windows® 10.

    Expand all

    Click or the operating system for details:
    If you don't know your operating system, see What Version of Windows Do I Have?

    <details abp="1255"><summary abp="1256">Windows® 10</summary></details><details abp="1258"><summary abp="1259">Windows 8.1*</summary></details><details abp="1261" open=""><summary abp="1262">Windows 7*</summary>
    1. Select the Start button in the bottom left corner of your desktop.
    2. Type mobility in the search box.
    3. Select Windows Mobility Center.

      Windows Mobility Center

    4. Select Turn wireless on or Turn wireless off.

      Turn wireless on/off button

      Note You may not find the Windows Mobility Center* if you are using a desktop or other non-mobile PC. Try Disable or Enable Network Adapter in Windows 7 instead.
    </details> 
    Note Some
    laptops have a hardware switch to enable or disable the wireless radio.
    If wireless is disabled via this hardware switch, the methods described
    above do not work. See Wireless Radio Cannot be Enabled from Software for further details.


        </article>
    </section>
    <section abp="1311">

                       
                           

    </section>

    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ”

    Sunday, May 21, 2017 7:16 PM
  • I am sorry to annoy you.

    actually i need something to disable internet connection. for example i can turn off wifi easy by pressing that button but i need something that works different. a coomand or something like this that does not allow to use internet and you cannot change it by clicking enable wifi or restart computer. and you can only use the internet again when you enable this this witj a special code or command or something. a restriction for children or something like this. only for one computer. I know that i can just turn off the wifi router but there are other computers that need wifi.

    please help me

    Sunday, May 21, 2017 7:28 PM
  • Hi Cedry,

    First run the command...

    netsh interface show interface

    https://technet.microsoft.com/en-us/library/cc770948%28WS.10%29.aspx


    Technet microsoft solutions.

    • Proposed as answer by premraj subbu Tuesday, May 23, 2017 8:26 AM
    Monday, May 22, 2017 5:49 AM