Jump to content

Disable NetBIOS


Kyle Woods
 Share

Recommended Posts

For our client security audits, and PEN testing events, we are required to disable NetBIOS on the network adapters.  The below script is what we run when an asset registers with Pulseway.

 

$key = "HKLM:SYSTEM\CurrentControlSet\services\NetBT\Parameters\Interfaces"
Get-ChildItem $key |
foreach { Set-ItemProperty -Path "$key\$($_.pschildname)" -Name NetbiosOptions -Value 2 -Verbose}

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...