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 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:

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 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.

-Charbel Nemnom-

Previous

Getting Started With Microsoft Security Risk Detection For Web Scanning #MSRD

Passed AZ-500 Exam: Microsoft Certified Azure Security Engineer

Next

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Subscribe to Stay in Touch

Never miss out on your favorite posts and our latest announcements!

The content of this website is copyrighted from being plagiarized!

You can copy from the 'Code Blocks' in 'Black' by selecting the Code.

Please send your feedback to the author using this form for any 'Code' you like.

Thank you for visiting!