Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NetBios resource failing for Azure VMs with Accelerated Networking enabled #521

Open
fongendnv opened this issue Dec 20, 2022 · 0 comments

Comments

@fongendnv
Copy link

Problem description

When enabling Accelerated networking the NetBios resource will detect a NetAdapter Mellanox which is not IP Enabled. In module 9.0.0, it will write to registry if IPEnabled = false, but the resource fails with the following error record:
"ErrorRecord": "Cannot find path \u0027HKLM:\SYSTEM\CurrentControlSet\Services\NetBT\Parameters\Interfaces\Tcpip_{3457DBDB-ED8E-448C-8BAE-525091A1FD48}\u0027 because it does not exist."

Verbose logs

"ErrorRecord":  "Cannot find path \u0027HKLM:\\SYSTEM\\CurrentControlSet\\Services\\NetBT\\Parameters\\Interfaces\\Tcpip_{3457DBDB-ED8E-448C-8BAE-525091A1FD48}\u0027 because it does not exist."

DSC configuration

NetBios DisableNetBios
          {
               InterfaceAlias = '*'
               Setting        = 'Disable'
          }

Suggested solution

No, but I am hoping the gurus here have.

Operating system the target node is running

OsName               : Microsoft Windows Server 2019 Datacenter
OsOperatingSystemSKU : DatacenterServerEdition
OsArchitecture       : 64-bit
WindowsVersion       : 1809
WindowsBuildLabEx    : 17763.1.amd64fre.rs5_release.180914-1434
OsLanguage           : en-US
OsMuiLanguages       : {en-US}

PowerShell version and build the target node is running

Name                           Value                                                                                                                                                          
----                           -----                                                                                                                                                          
PSVersion                      5.1.17763.2931                                                                                                                                                 
PSEdition                      Desktop                                                                                                                                                        
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}                                                                                                                                        
BuildVersion                   10.0.17763.2931                                                                                                                                                
CLRVersion                     4.0.30319.42000                                                                                                                                                
WSManStackVersion              3.0                                                                                                                                                            
PSRemotingProtocolVersion      2.3                                                                                                                                                            
SerializationVersion           1.1.0.1

NetworkingDsc version

Name          Version Path                                                                             
----          ------- ----                                                                             
NetworkingDsc 9.0.0   C:\Program Files\WindowsPowerShell\Modules\NetworkingDsc\9.0.0\NetworkingDsc.psd1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant