Worklet - Disable NetBIOS (Windows)

  • 14 April 2021
  • 0 replies
  • 56 views

Userlevel 4

Hi there,


Here is a quick Worklet to disable NetBIOS for all adapters as part of a past pen test remediation


Evaluation:


exit 1


Remediation:


$adapters=(gwmi win32_networkadapterconfiguration )
ForEach ($adapter in $adapters) {
Write-Host $adapter
$adapter.settcpipnetbios(2)
}

0 replies

Be the first to reply!

Reply