Powershell - How to disable NetBios - Alexandre VIOT
Disable NetBIOS in Windows networks – 4sysops
powershell - Command line disable netbios? - Stack Overflow
Configuring NetBIOS over TCP/IP
https://www.thewindowsclub.com/disable-netbios-and-llmnr-protocols-via-gpo
그래서 결론은
$regkey = "HKLM:SYSTEM\CurrentControlSet\services\NetBT\Parameters\Interfaces"
Get-ChildItem $regkey |foreach { Set-ItemProperty -Path "$regkey\$($_.pschildname)" -Name NetbiosOptions -Value 2 -Verbose}
이거 같음. 리부팅 하기. 그럼 되는 것 같음.
https://www.thewindowsclub.com/how-to-disable-lmhosts-lookup-using-powershell-registry-or-adapter-properties
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NetBT\Parameters" /v EnableLMHOSTS /t REG_DWORD /d "0" /f
LMHOSTS 사용안함 원격 관련
sc stop "lmhosts" & sc config "lmhosts" start= disabled
첫댓글 https://docs.microsoft.com/ko-kr/troubleshoot/windows-client/networking/cannot-access-shared-folder-file-explorer
우리는 반대로 꺼야 한다
https://kin.naver.com/qna/detail.nhn?d1Id=1&dirId=104&docId=420228094
@echo off
BCDEDIT > nul
if "%ERRORLEVEL%" EQU "1" Powershell.exe -Command "& {Start-Process """%0""" -Verb RunAs}" & exit
PowerShell -Command "& {$adapters=(gwmi win32_networkadapterconfiguration);Foreach ($adapter in $adapters){Write-Host $adapter;$adapter.settcpipnetbios(2)}}"
for /l %%a in (0,1,50) do RUNDLL32.EXE user32.dll, UpdatePerUserSystemParameters ,%%a ,True
pause