Created
January 3, 2020 15:29
-
-
Save ShamarKellman/a324d75cca2280fcc97e145f76b986db to your computer and use it in GitHub Desktop.
Set NETBIOS
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
| Here's how to: | |
| 1. Run PowerShell as an Administrator | |
| 2. Disable NetBIOS settings: $adapters=(gwmi win32_networkadapterconfiguration ) | |
| Foreach ($adapter in $adapters){ | |
| Write-Host $adapter | |
| $adapter.settcpipnetbios(2) | |
| } | |
| Enable NetBIOS settings: $adapters=(gwmi win32_networkadapterconfiguration ) | |
| Foreach ($adapter in $adapters){ | |
| Write-Host $adapter | |
| $adapter.settcpipnetbios(1) | |
| } | |
| Use Default NetBIOS settings from DHCP Server: | |
| $adapters=(gwmi win32_networkadapterconfiguration ) | |
| Foreach ($adapter in $adapters){ | |
| 3. Finally check NetBIOS settings' status by going to Network and Sharing Center → Current network's "Properties" → "Internet Protocol version 4 (TCP/IPv4)" option → "Advanced" button under the General tab → WINS tab. Here you will see whether NetBIOS settings are enabled, disabled or default. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment