Last active
February 27, 2026 16:00
-
-
Save AzimsTech/7a75809c3ca25ecfbf5adf68ae9583c8 to your computer and use it in GitHub Desktop.
GPO - Disable NetBIOS over TCP/IP
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $regkey = "HKLM:SYSTEM\CurrentControlSet\services\NetBT\Parameters\Interfaces" | |
| Get-ChildItem $regkey |foreach { Set-ItemProperty -Path "$regkey\$($_.pschildname)" -Name NetbiosOptions -Value 2 -Verbose} | |
| # Computer Configuration > Windows Settings > Script (Startup/Shutdown) > Startup |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment