How To Reset Network Adapter Advanced Properties With PowerShell

1 Min. Read

Hello folks,

In this quick post, I will share with you an easy way to reset the advanced properties for a network adapter with PowerShell.

This is very useful in a scenario where you want to start fresh and reset all network settings to their default values.

First, let’s check how many network adapters are installed in the system.

Get-NetAdapter | FT -AutoSize

In this example, we have only one:

How To Reset Network Adapter Advanced Properties With PowerShell 2

Next, let’s check all the advanced properties for the network adapter by running the following command:

Get-NetAdapterAdvancedProperty -Name Ethernet | FT -AutoSize

In this example, I have the Jumbo Packet set to 9014, and the VLAN ID is set to 13.

How To Reset Network Adapter Advanced Properties With PowerShell 3

To reset the advanced properties for a particular network adapter, run the following command with administrator privilege. Please note that this can be physical or virtual network adapter. The Asterisk (*) next to the DisplayName means to reset all settings to their factory default values.

Reset-NetAdapterAdvancedProperty -Name Ethernet -DisplayName *

Finally, let’s check if the advanced settings are reset back to their default values.

How To Reset Network Adapter Advanced Properties With PowerShell 4
Please note that this applies to Windows Server 2012 R2, Windows 10, and later operating systems.

For more information about Reset-NetAdapterAdvancedProperty cmdlet, please check Microsoft documentation here.

Hope this helps.

__
Thank you for reading my blog.

If you have any questions or feedback, please leave a comment.

-Charbel Nemnom-

Previous

Microsoft Security Risk Detection For Web Scanning #MSRD

Passed AZ-500 Exam: Microsoft Certified Azure Security Engineer

Next

Let us know what you think, or ask a question...