네트워크 액세스: 익명으로 액세스할 수 있는 공유 레지스트리 값 NullSessionShares컴퓨터HKLM\System\CurrentControlSet\Services\LanManServer\Parameters

카테고리
보안 설정 › 로컬 정책 › 보안 옵션
범위
컴퓨터 구성
출처
Windows 11 (버전 26H2 · 26300.9457)

레지스트리

NullSessionShares

REG_MULTI_SZ컴퓨터
활성 값
선택 값에 따름
요소
네트워크 액세스: 익명으로 액세스할 수 있는 공유
값 타입
REG_MULTI_SZ
.reg · CMD · PowerShell로 적용하기
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\LanManServer\Parameters]

; hex(2)·hex(7) 값은 16진수(UTF-16LE)로 적어야 함
"NullSessionShares"=hex(7):<값 입력>
CMD
reg add "HKLM\System\CurrentControlSet\Services\LanManServer\Parameters" /v "NullSessionShares" /t REG_MULTI_SZ /d "<값 입력>" /f
PowerShell
New-Item -Path 'HKLM:\System\CurrentControlSet\Services\LanManServer\Parameters' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Services\LanManServer\Parameters' -Name 'NullSessionShares' -PropertyType MultiString -Value '<값 입력>' -Force | Out-Null