windows server core - sconfig.vbs(696, 21) SWbemObjectEx: Invalid index.
the situation
when i was trying to change the network settings of our servers it fails with the error:
C:\Windows\System32\en-US\sconfig.vbs(696, 21) SWbemObjectEx: Invalid index.
the solution
it turned out that i disabled ipv6 previously on that ethernet port. so i enabled it via powershell using the following command (you may have to edit the property “InterfaceAlias”):
Enable-NetAdapterBinding -InterfaceAlias Ethernet -ComponentID ms_tcpip6
Comments (1)