Windows lets an administrator enable or disable a specific network adapter without resetting all network settings. This can temporarily isolate one wired, Wi-Fi, or virtual connection during troubleshooting. The command must target the adapter you intend to change, and its effect must be checked afterward. Disabling the adapter carrying a remote management session can disconnect you before you can reverse the change.

Use these steps only on a computer you administer. On a remotely managed server or workstation, arrange local console access or a separate management connection that does not use the adapter you plan to disable. Use an exact adapter name when changing its state. A network reset or driver reinstall makes broader changes than enabling or disabling one interface.

Find the Adapter You Want to Change

Search for Windows PowerShell in Start, then select Run as administrator. In that window, run Get-NetAdapter -Name * to list visible adapters without changing them. Read the name, interface description, and status of the connection you intend to change. Ethernet, Ethernet 2, and Wi-Fi are examples of adapter names; use the name shown on your own computer.

If several entries look similar, inspect more detail for one exact name with Get-NetAdapter -Name "Ethernet 2" | Format-List *. Replace Ethernet 2 in every command below if your adapter has a different name. The -Physical option can help focus on hardware adapters, while -IncludeHidden shows entries excluded from the default view. A VPN or virtual switch may create an adapter you should not disable without understanding its role.

Confirm which interface carries the connection you depend on. A laptop can have both Ethernet and Wi-Fi enabled; a remote desktop session may use one of them, or a VPN route may depend on a virtual interface. Record the adapter's original name and state, its connection purpose, and how you will regain access if the change interrupts traffic. If you do not know which adapter carries your remote session, do not disable an adapter from that session.

Check the Connection before Changing It

Before changing anything, note the status from Get-NetAdapter -Name "Ethernet 2" and check a connection that uses that adapter, such as an internal file share or a known website. Record whether the connection works so you can repeat the same check afterward. Disabling an adapter interrupts that interface; it does not directly correct a manually entered IP address or DNS server setting.

Windows cannot send or receive network traffic through a disabled adapter. Programs using that adapter may lose their connections, while new traffic may use another available adapter. That means internet access continuing after you disable one interface does not prove the command failed. Inspect the named adapter state directly. Conversely, enabling an adapter does not guarantee service if a cable is unplugged, Wi-Fi is not connected, or IP settings are wrong.

Disable the Named Adapter

Run Disable-NetAdapter -Name "Ethernet 2", using the name you verified. The command normally asks for confirmation before disabling the adapter. Read the prompt and confirm only if the displayed target is correct. Do not replace the name with * or a broad pattern. A wildcard in this state-changing command can disable several adapters at once, including the connection needed to regain remote access.

When a remote connection depends on the selected adapter, use a local console or a separate management interface that remains available when the adapter is off. A remote PowerShell command against the active interface can succeed and immediately end the session, leaving no way to issue the enable command over that same path. Coordinate maintenance with others who may be using the computer.

After the command, run Get-NetAdapter -Name "Ethernet 2" again from the local console or the separate management connection. Confirm that the selected adapter reports Disabled in the Status column. If another adapter must remain available, check that its connections still work. An empty command response is not enough to establish that the adapter was disabled; check the status and any error message.

Enable the Same Adapter Again

Run Enable-NetAdapter -Name "Ethernet 2" from the local console or the separate management connection. This enables and restarts the selected adapter. Check the result with Get-NetAdapter -Name "Ethernet 2". The adapter should no longer report Disabled. Allow time for an Ethernet link or Wi-Fi connection to form and for Windows to obtain IP settings if the network uses DHCP.

Test the relevant network path, not just the status label. For Ethernet, check that the cable connection is active and repeat the earlier access check. For Wi-Fi, check that the computer joined the intended network. An enabled Ethernet adapter can report Disconnected when its cable is unplugged. If the link or Wi-Fi connection is established but the earlier access check still fails, check IP assignment, DNS, and routing. Avoid repeatedly disabling and enabling it without determining which stage is failing.

Verify the Final Connection

Compare the final adapter status and access check with the results you recorded before the change. If the change was a temporary troubleshooting step, restore the original state and document what happened. If you deliberately leave an adapter disabled, record why, who depends on it, and how it can be re-enabled. If a managed computer changes the adapter state again, check with its administrator before repeating the command.

Reopen any application that lost its connection and repeat the task that originally failed. An adapter can be active again while an old remote desktop or file-sharing session still needs to reconnect. If the original problem returns, keep the before-and-after results so further troubleshooting can focus on what changed instead of repeating the same disable-and-enable cycle.