/build/static/layout/Breadcrumb_cap_w.png

How to deploy settings for USB-C dongles?

We have a large fleet of HP Elitedesk that are all connected with a USB-C dongle to gain access to network, hdmi etc.

For a long time we have experienced problems that our client network randomly disconnects from LAN and keeps switching from time to time between lan and WiFi.

To fix this, we have been using a script to set properties on the network card. Our problem is that when two users switches their dongles they get a new hardware ID and the settings are back to default.


I am looking to tips either how to trigger the script to run each time a USB-C dongle is plugged in with perhaps Task Scheduler?

Or how to deploy global settings that will work for each of our dongle of the same brand.


Get-NetAdapter | Where { $_.InterfaceDescription -like "Realtek USB GbE Family Controller*" } | % { Set-NetAdapterAdvancedProperty -Name $_.Name -DisplayName "Energy-Efficient Ethernet" -DisplayValue "Disabled" Set-NetAdapterAdvancedProperty -Name $_.Name -DisplayName "Idle Power Saving" -DisplayValue "Disabled" Set-NetAdapterAdvancedProperty -Name $_.Name -DisplayName "Selective Suspend" -DisplayValue "Disabled" }


0 Comments   [ + ] Show comments

Answers (0)

Be the first to answer this question

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

View more:

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ