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 the 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:
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.
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.
Please note that this can apply to Windows Server 2012, Windows 8 and later OS.
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.