Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Get-NetAdapter : Invalid class with HRESULT 0x80041010 means PowerShell cannot resolve the MSFT_NetAdapter CIM provider in ROOTStandardCimv2. It is normally a WMI/CIM registration, repository, or Windows-component problem—not proof that the physical network adapter or its driver has failed. Work through the checks below before reinstalling drivers or deleting the WMI repository.

What the error means

The Network Adapter PowerShell cmdlets use the MSFT_NetAdapter class in the ROOTStandardCimv2 namespace. Microsoft documents the class and its provider files as NetAdapterCim.mof and NetAdapterCim.dll (Microsoft documentation). When the class cannot be resolved, PowerShell reports an invalid class rather than an empty adapter list.

This is different from a disabled adapter, a missing device, a failed driver, an access-denied error, or an unrecognised cmdlet. Current Windows 10, Windows 11, and supported Windows Server installations normally include this provider; Microsoft lists support beginning with Windows 8 and Windows Server 2012. Customized images, recovery environments, and stripped deployments may differ.

1. Capture and identify the failure

Run the following in an elevated PowerShell window and save the complete output:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
#1 Best Overall
Elebase USB to USB C Adapter for iPhone 18 Pro Max,USBC Car Charger Adapter
  • Read Before You Buy — No Video Output: These adapters support charging and USB 2.0 data transfer, but cannot transmit video signals. Except for standard USB webcams (which use USB data only), they are not compatible with HDMI/DisplayPort cables, video-capable USB-C hubs, or docking stations with video output.
  • Convert USB-A Ports to USB-C: Designed to connect USB-C earphones, cables, flash drives, card readers, and other USB-C accessories to standard USB-A ports. Plug-and-play with no drivers or software required.
  • Aluminum Alloy Housing: Built with a sturdy aluminum alloy shell that aids in heat dissipation and protects against daily wear and scratches. Designed to maintain a stable and secure connection.
  • Compact & Travel-Friendly: The ultra-compact design allows the adapter to stay plugged into your device without blocking adjacent ports or adding bulk, reducing wear and tear on your original USB ports.
  • 12-Month Warranty: Backed by a 12-month manufacturer warranty for peace of mind. Designed to meet strict quality control standards for reliable everyday performance.
Get-NetAdapter 2>&1 | Out-String
$env:COMPUTERNAME
whoami
$PSVersionTable

Look for MSFT_NetAdapter, ROOT/StandardCimv2, and HRESULT 0x80041010. Also check that the command itself is available:

Get-Command Get-NetAdapter -ErrorAction SilentlyContinue
Get-Module -ListAvailable -Name NetAdapter

If Get-Command finds nothing, the NetAdapter module or feature is unavailable in that environment; that is a different problem from an invalid CIM class.

2. Test the class directly

These commands bypass the wrapper and show whether the namespace and provider work:

Get-CimClass -Namespace RootStandardCimv2 -ClassName MSFT_NetAdapter

Get-CimInstance `
  -Namespace RootStandardCimv2 `
  -ClassName MSFT_NetAdapter |
  Select-Object Name, InterfaceDescription, Status, DeviceID

A successful first command returns class metadata; the second returns adapter instances. If Get-CimClass itself reports an invalid class, the fault is below Get-NetAdapter: registration, namespace contents, provider files, or the Windows image. If the class exists but instance creation fails, investigate provider execution, the WMI service, permissions, or the session context.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #2
Anker USB-C Hub, 5-in-1 USB Hub for Laptops, 4K HDMI Multiport Adapter
  • 5-in-1 USB-C Hub: Experience comprehensive connectivity featuring a Power Delivery input, two USB-A 2.0 ports, a USB-A 3.0 port, and an HDMI port. (Note: The USB-C power delivery input port is only for connecting an external wall charger to power your laptop and cannot power peripheral devices.)
  • 90W Pass-Through Charging: Achieve optimal charging with 90W pass-through power to your laptop, supported by a total input of 100W, with the hub reserving 10W for operational efficiency. (Note: Wall charger not included.)
  • Quick Data Transfers: Accelerate your productivity with rapid data transfers using a high-speed 5Gbps USB 3.0 port and two 480Mbps USB 2.0 ports.
  • 4K HDMI Display: Enhance your visual experience with a hub capable of delivering 4K resolution at 30Hz in both mirror and extend modes. Please note that this hub is compatible with MacBook (macOS 12 and newer), Windows 10 and 11, ChromeOS, and laptops equipped with DP Alt Mode and Power Delivery. Note: This device is not compatible with Linux.
  • What You Get: Anker USB-C Hub (5-in-1, 4K HDMI), welcome guide, 18-month warranty, and our friendly customer service.

3. Rule out the wrong computer or a remote-session issue

Get-NetAdapter supports CIM sessions, so automation can query a machine other than the one you are viewing. Test the local computer explicitly:

Get-CimInstance `
  -ComputerName localhost `
  -Namespace RootStandardCimv2 `
  -ClassName MSFT_NetAdapter

Then test the intended target, for example:

Get-NetAdapter -CimSession $session

If localhost succeeds while the target fails, focus on the target’s Windows build, provider files, WMI repository, remoting configuration, and permissions. A cloud or virtual machine is not automatically the cause; image customization and provisioning differences are more useful clues.

4. Check Winmgmt and the provider files

Check the WMI service:

Get-Service Winmgmt
Start-Service Winmgmt

Start the service only when it is stopped. This may restore queries, but an explicit invalid-class response still points more specifically to a missing or unusable class.

Inspect the documented provider files:

$wbem = Join-Path $env:windir 'System32wbem'
Test-Path "$wbemNetAdapterCim.mof"
Test-Path "$wbemNetAdapterCim.dll"
Get-Item "$wbemNetAdapterCim.mof","$wbemNetAdapterCim.dll" -ErrorAction SilentlyContinue

Do not download replacement DLLs or MOF files from an unofficial site. Missing files indicate Windows component or image damage and should be repaired with DISM and SFC.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #3
Sale
Anker USB C Hub, 7in1 Multi-Port USB Adapter, 4K@60Hz USBC to HDMI Splitter
  • Sleek 7-in-1 USB-C Hub: Features an HDMI port, two USB-A 3.0 ports, and a USB-C data port, each providing 5Gbps transfer speeds. It also includes a USB-C PD input port for charging up to 100W and dual SD and TF card slots, all in a compact design.
  • Flawless 4K@60Hz Video with HDMI: Delivers exceptional clarity and smoothness with its 4K@60Hz HDMI port, making it ideal for high-definition presentations and entertainment. (Note: Only the HDMI port supports video projection; the USB-C port is for data transfer only.)
  • Double Up on Efficiency: The two USB-A 3.0 ports and a USB-C port support a fast 5Gbps data rate, significantly boosting your transfer speeds and improving productivity.
  • Fast and Reliable 85W Charging: Offers high-capacity, speedy charging for laptops up to 85W, so you spend less time tethered to an outlet and more time being productive.
  • What You Get: Anker USB-C Hub (7-in-1), welcome guide, 18-month warranty, and our friendly customer service.

5. Re-register NetAdapterCim when the files exist

If both files are present and the class remains absent, use an elevated Command Prompt for this targeted repair:

cd /d %windir%System32wbem
regsvr32.exe NetAdapterCim.dll
mofcomp.exe NetAdapterCim.mof

Restart Windows, then run:

Get-CimClass -Namespace RootStandardCimv2 -ClassName MSFT_NetAdapter
Get-NetAdapter

Microsoft’s class reference identifies the files, while its documented repair pattern for a related networking provider uses regsvr32 followed by mofcomp (related Microsoft guidance). Therefore this is a reasonable, targeted inference—not a guarantee or a universal Microsoft-prescribed fix. Use change control on production servers.

6. Verify and salvage the WMI repository

From an elevated Command Prompt, check repository consistency:

winmgmt /verifyrepository
  • Repository is consistent: corruption is not proven; continue with provider and Windows-image checks.
  • Repository is inconsistent: salvage it before considering a reset.
  • Command fails: record the exact output and avoid destructive cleanup.

Salvage with Microsoft’s supported operation:

winmgmt /salvagerepository

This checks consistency and rebuilds the repository when an inconsistency is found, merging readable content where possible. Reboot and repeat the class and cmdlet tests.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #4
Sale
UGREEN USB to USB C Adapter Combo 4-Pack, 10Gbps USB C Converter Space Gray
  • Dual Converters, Infinite Potential:Includes 2× USB C male to USB A female adapters and 2× USB A male to USB C female adapters. Perfect for a wide range of uses—tablets with Bluetooth keyboards, expand USB ports on macbook, and more. Two different converters for all your daily needs
  • Next-Level 10Gbps & 3A Charging: No more slow 480Mbps, this usb to usb c adapter has a transfer speed of up to 10Gbps, allowing you to do more transferring in less time. This usb adapter fits both USB A and USB C charger, supporting up to 3A fast charging
  • Upgraded Exquisite Craftsmanship: With an aluminum alloy housing and metal connector, the usbc to usb adapter is extremely durable and sturdy. Rigorously tested to withstand more than 10,000 times of plugging and unplugging, ensuring long-lasting performance
  • Broad Compatible: The usb c to usb adapter widely supports all USB C/ USB A devices like laptops, tablets, cellphones, car chargers, and phone chargers. Such as compatible with MacBook Pro/Air 2023/2022, Thunderbolt 4/3 Devices,Apple MagSafe Watch 9/8/7/SE/Ultra, iPad Pro 2022/2021, Samsung Galaxy S23/S20/S10, and iPhone 17/16/15 Pro. Plug and play
  • Please Note: To reach 10Gbps speed, keep the cable under 3.3 ft. For USB A Male to USB C adapters, try flipping the USB C connector. USB C Male to USB A adapters support bidirectional 10Gbps transfer within 3.3 ft

7. Reserve repository reset for a last resort

winmgmt /resetrepository restores the repository to the state created during initial operating-system installation and restores MOF files marked for autorecovery (Microsoft winmgmt documentation):

winmgmt /resetrepository

Use it only after verification, salvage, provider registration, and image repair have failed, with a recovery plan and maintenance window. Do not start by stopping Winmgmt and deleting %windir%System32wbemRepository; that unsupported shortcut can create additional registration problems.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

8. Repair the Windows image and system files

Run these commands from an elevated Command Prompt:

DISM.exe /Online /Cleanup-Image /RestoreHealth
sfc.exe /scannow

DISM repairs the component store and SFC scans protected system files (DISM documentation; SFC documentation). Reboot if requested, then retest the class.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Best Value
Anker USB C Hub, 5-in-1 USBC to HDMI Splitter with 4K Display
  • 5-in-1 Connectivity: Equipped with a 4K HDMI port, a 5 Gbps USB-C data port, two 5 Gbps USB-A ports, and a USB C 100W PD-IN port. Note: The USB C 100W PD-IN port supports only charging and does not support data transfer devices such as headphones or speakers.
  • Powerful Pass-Through Charging: Supports up to 85W pass-through charging so you can power up your laptop while you use the hub. Note: Pass-through charging requires a charger (not included). Note: To achieve full power for iPad, we recommend using a 45W wall charger.
  • Transfer Files in Seconds: Move files to and from your laptop at speeds of up to 5 Gbps via the USB-C and USB-A data ports. Note: The USB C 5Gbps Data port does not support video output.
  • HD Display: Connect to the HDMI port to stream or mirror content to an external monitor in resolutions of up to 4K@30Hz. Note: The USB-C ports do not support video output.
  • What You Get: Anker 332 USB-C Hub (5-in-1), welcome guide, our worry-free 18-month warranty, and friendly customer service.

If Windows Update cannot provide repair content, specify a closely matching source, for example:

DISM.exe /Online /Cleanup-Image /RestoreHealth /Source:\serverc$Windows /LimitAccess

The source must match the operating-system version closely enough for servicing; Microsoft warns that the source system in its example runs the same operating-system version (Microsoft repair guidance).

9. Do not substitute the wrong provider

NetTCPIP.dll and NetTCPIP.mof belong to a different provider. Only use the related repair sequence when diagnostics identify a missing NetTCPIP class:

cd /d %windir%System32wbem
regsvr32.exe NetTCPIP.dll
mofcomp.exe NetTCPIP.mof

Re-registering NetTCPIP does not repair a missing MSFT_NetAdapter class. If targeted repair and DISM/SFC fail, broader MOF recompilation (Microsoft script guidance), an in-place repair, or redeployment from a known-good image may be appropriate after collecting logs.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

10. Use a temporary inspection fallback

While repairing the provider, inspect adapters through the older WMI class:

Get-CimInstance `
  -Namespace RootCIMV2 `
  -ClassName Win32_NetworkAdapter |
  Select-Object Name, NetEnabled, NetConnectionStatus, PNPDeviceID

Get-NetIPConfiguration
ipconfig /all
netsh interface show interface

Win32_NetworkAdapter is deprecated for new development and is not equivalent to MSFT_NetAdapter; treat it as a diagnostic fallback (Microsoft class documentation).

Choose the next action from the evidence

Observation Likely direction Action
Get-Command Get-NetAdapter fails Cmdlet or module unavailable Check the Windows environment and NetAdapter feature.
Get-CimClass says MSFT_NetAdapter is invalid Provider or class registration Check files, re-register, verify/salvage WMI, then repair Windows.
Class exists but instances fail Provider execution, service, or permissions Check Winmgmt and local/remote context.
Local succeeds but remote fails Target or CIM-session issue Test the target and inspect remoting and permissions.
Instances return but an adapter is absent Device, driver, hidden adapter, or hardware Use Device Manager and Get-NetAdapter -IncludeHidden; then investigate the driver.
Repository is inconsistent WMI repository corruption Run winmgmt /salvagerepository, reboot, and retest.
Provider files are missing Component or image corruption Run DISM and SFC; never fetch replacement files from unofficial sources.
Repairs complete but class remains absent Deeper servicing or customization issue Consider in-place repair or a known-good image.

Final verification

After rebooting and completing repairs, run:

Get-CimClass -Namespace RootStandardCimv2 -ClassName MSFT_NetAdapter
Get-NetAdapter
Get-NetAdapter -Name * -IncludeHidden

Success means the class query returns metadata, the normal cmdlet returns adapter objects, and hidden adapters can be enumerated when requested. If only the final command fails while the class and ordinary enumeration work, investigate adapter state or device drivers rather than WMI.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.