TransWikia.com

Timed out trying to acquire network configuration lock, current owner = 'iphlpsvc.dll'

Server Fault Asked by MrHinsh - Martin Hinshelwood on January 11, 2021

I am getting the above error when trying to configure Hyper-V virtual switches. This happened no matter what type of switch I try to create.

PS C:UsersMartin> New-VMSwitch -Name “NewSwitch” -NetAdapterName “WiFi” -AllowManagementOS $True 
New-VMSwitch : Failed while creating virtual Ethernet switch.
Switch create failed, name = '326B5310-CEB9-4E87-AB36-DD2DD9602A73', friendly name = '': Operation times out (0x80041069).
Timed out trying to acquire network configuration lock, current owner = 'iphlpsvc.dll'.
The operation timed out.
At line:1 char:1
+ New-VMSwitch -Name “NewSwitch” -NetAdapterName “WiFi” -AllowManagementOS $True
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OperationTimeout: (Microsoft.HyperV.PowerShell.VMTask:VMTask) [New-VMSwitch], VirtualizationOperationFailedException
    + FullyQualifiedErrorId : OperationTimeout,Microsoft.HyperV.PowerShell.Commands.NewVMSwitchCommand

Any help would be very much appreciated as I could not find anything online.

One Answer

The file referenced is the "IP Helper" service. Stop the service with net stop iphlpsvc and try your switch command.

Note: stopping this service will deactivate the Teredo 6to4 tunnel, but if you don't use it, it's nothing to worry about.

Answered by Nathan C on January 11, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP