콘솔 세션에 로그인한 관리자의 로그오프 거부 레지스트리 값 fDisableForcibleLogoff컴퓨터HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services

정책 ID
TS_FORCIBLE_LOGOFF
범위
컴퓨터 구성
지원 OS
Windows XP 또는 Windows Server 2003 이상 전용
출처
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (버전 1.0)
카테고리
Windows 구성 요소 › 터미널 서비스 › 원격 데스크톱 세션 호스트 › 연결

레지스트리

fDisableForcibleLogoff

REG_DWORD컴퓨터
활성 값
1
비활성 값
0
.reg · CMD · PowerShell로 적용하기
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services]

; 선택 항목 (하나만 사용)
; 사용
"fDisableForcibleLogoff"=dword:00000001
; 사용 안 함
"fDisableForcibleLogoff"=dword:00000000
CMD
:: 선택 항목 (하나만 사용)

:: 사용
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "fDisableForcibleLogoff" /t REG_DWORD /d 1 /f
:: 사용 안 함
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "fDisableForcibleLogoff" /t REG_DWORD /d 0 /f
PowerShell
# 공통: 키 만들기
New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Force | Out-Null

# 선택 항목 (하나만 사용)
# 사용
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Name 'fDisableForcibleLogoff' -PropertyType DWord -Value 1 -Force | Out-Null
# 사용 안 함
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Name 'fDisableForcibleLogoff' -PropertyType DWord -Value 0 -Force | Out-Null