RemoteApp 세션의 로그오프에 시간 제한 설정 레지스트리 값 RemoteAppLogoffTimeLimit (HKCU Terminal Services)사용자HKCU\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services

정책 ID
TS_SESSIONS_RemoteApp_End_Timeout
범위
사용자 구성
지원 OS
Windows Server 2008 이상
출처
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (버전 1.0)
카테고리
Windows 구성 요소 › 터미널 서비스 › 원격 데스크톱 세션 호스트 › 세션 시간 제한

레지스트리

RemoteAppLogoffTimeLimit

REG_SZ사용자
비활성 값
0
.reg · CMD · PowerShell로 적용하기
사용 안 함
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services]
"RemoteAppLogoffTimeLimit"="0"
CMD · 사용 안 함
reg add "HKCU\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "RemoteAppLogoffTimeLimit" /t REG_SZ /d 0 /f
PowerShell · 사용 안 함
New-Item -Path 'HKCU:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Name 'RemoteAppLogoffTimeLimit' -PropertyType String -Value '0' -Force | Out-Null

RemoteAppLogoffTimeLimit

REG_DWORD사용자
활성 값
선택 값에 따름
요소
RemoteApp 세션 로그오프 지연:
선택 값
항목저장 값
즉시0
1분60000
5분300000
10분600000
15분900000
30분1800000
1시간3600000
2시간7200000
3시간10800000
6시간21600000
8시간28800000
12시간43200000
16시간57600000
18시간64800000
1일86400000
2일172800000
3일259200000
4일345600000
5일432000000
.reg · CMD · PowerShell로 적용하기
.reg
Windows Registry Editor Version 5.00

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

; 선택 항목 (하나만 사용)
; 즉시
"RemoteAppLogoffTimeLimit"=dword:00000000
; 1분
"RemoteAppLogoffTimeLimit"=dword:0000ea60
; 5분
"RemoteAppLogoffTimeLimit"=dword:000493e0
; 10분
"RemoteAppLogoffTimeLimit"=dword:000927c0
; 15분
"RemoteAppLogoffTimeLimit"=dword:000dbba0
; 30분
"RemoteAppLogoffTimeLimit"=dword:001b7740
; 1시간
"RemoteAppLogoffTimeLimit"=dword:0036ee80
; 2시간
"RemoteAppLogoffTimeLimit"=dword:006ddd00
; 3시간
"RemoteAppLogoffTimeLimit"=dword:00a4cb80
; 6시간
"RemoteAppLogoffTimeLimit"=dword:01499700
; 8시간
"RemoteAppLogoffTimeLimit"=dword:01b77400
; 12시간
"RemoteAppLogoffTimeLimit"=dword:02932e00
; 16시간
"RemoteAppLogoffTimeLimit"=dword:036ee800
; 18시간
"RemoteAppLogoffTimeLimit"=dword:03dcc500
; 1일
"RemoteAppLogoffTimeLimit"=dword:05265c00
; 2일
"RemoteAppLogoffTimeLimit"=dword:0a4cb800
; 3일
"RemoteAppLogoffTimeLimit"=dword:0f731400
; 4일
"RemoteAppLogoffTimeLimit"=dword:14997000
; 5일
"RemoteAppLogoffTimeLimit"=dword:19bfcc00
CMD
:: 선택 항목 (하나만 사용)

:: 즉시
reg add "HKCU\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "RemoteAppLogoffTimeLimit" /t REG_DWORD /d 0 /f
:: 1분
reg add "HKCU\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "RemoteAppLogoffTimeLimit" /t REG_DWORD /d 60000 /f
:: 5분
reg add "HKCU\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "RemoteAppLogoffTimeLimit" /t REG_DWORD /d 300000 /f
:: 10분
reg add "HKCU\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "RemoteAppLogoffTimeLimit" /t REG_DWORD /d 600000 /f
:: 15분
reg add "HKCU\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "RemoteAppLogoffTimeLimit" /t REG_DWORD /d 900000 /f
:: 30분
reg add "HKCU\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "RemoteAppLogoffTimeLimit" /t REG_DWORD /d 1800000 /f
:: 1시간
reg add "HKCU\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "RemoteAppLogoffTimeLimit" /t REG_DWORD /d 3600000 /f
:: 2시간
reg add "HKCU\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "RemoteAppLogoffTimeLimit" /t REG_DWORD /d 7200000 /f
:: 3시간
reg add "HKCU\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "RemoteAppLogoffTimeLimit" /t REG_DWORD /d 10800000 /f
:: 6시간
reg add "HKCU\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "RemoteAppLogoffTimeLimit" /t REG_DWORD /d 21600000 /f
:: 8시간
reg add "HKCU\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "RemoteAppLogoffTimeLimit" /t REG_DWORD /d 28800000 /f
:: 12시간
reg add "HKCU\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "RemoteAppLogoffTimeLimit" /t REG_DWORD /d 43200000 /f
:: 16시간
reg add "HKCU\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "RemoteAppLogoffTimeLimit" /t REG_DWORD /d 57600000 /f
:: 18시간
reg add "HKCU\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "RemoteAppLogoffTimeLimit" /t REG_DWORD /d 64800000 /f
:: 1일
reg add "HKCU\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "RemoteAppLogoffTimeLimit" /t REG_DWORD /d 86400000 /f
:: 2일
reg add "HKCU\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "RemoteAppLogoffTimeLimit" /t REG_DWORD /d 172800000 /f
:: 3일
reg add "HKCU\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "RemoteAppLogoffTimeLimit" /t REG_DWORD /d 259200000 /f
:: 4일
reg add "HKCU\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "RemoteAppLogoffTimeLimit" /t REG_DWORD /d 345600000 /f
:: 5일
reg add "HKCU\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "RemoteAppLogoffTimeLimit" /t REG_DWORD /d 432000000 /f
PowerShell
# 공통: 키 만들기
New-Item -Path 'HKCU:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Force | Out-Null

# 선택 항목 (하나만 사용)
# 즉시
New-ItemProperty -Path 'HKCU:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Name 'RemoteAppLogoffTimeLimit' -PropertyType DWord -Value 0 -Force | Out-Null
# 1분
New-ItemProperty -Path 'HKCU:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Name 'RemoteAppLogoffTimeLimit' -PropertyType DWord -Value 60000 -Force | Out-Null
# 5분
New-ItemProperty -Path 'HKCU:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Name 'RemoteAppLogoffTimeLimit' -PropertyType DWord -Value 300000 -Force | Out-Null
# 10분
New-ItemProperty -Path 'HKCU:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Name 'RemoteAppLogoffTimeLimit' -PropertyType DWord -Value 600000 -Force | Out-Null
# 15분
New-ItemProperty -Path 'HKCU:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Name 'RemoteAppLogoffTimeLimit' -PropertyType DWord -Value 900000 -Force | Out-Null
# 30분
New-ItemProperty -Path 'HKCU:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Name 'RemoteAppLogoffTimeLimit' -PropertyType DWord -Value 1800000 -Force | Out-Null
# 1시간
New-ItemProperty -Path 'HKCU:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Name 'RemoteAppLogoffTimeLimit' -PropertyType DWord -Value 3600000 -Force | Out-Null
# 2시간
New-ItemProperty -Path 'HKCU:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Name 'RemoteAppLogoffTimeLimit' -PropertyType DWord -Value 7200000 -Force | Out-Null
# 3시간
New-ItemProperty -Path 'HKCU:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Name 'RemoteAppLogoffTimeLimit' -PropertyType DWord -Value 10800000 -Force | Out-Null
# 6시간
New-ItemProperty -Path 'HKCU:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Name 'RemoteAppLogoffTimeLimit' -PropertyType DWord -Value 21600000 -Force | Out-Null
# 8시간
New-ItemProperty -Path 'HKCU:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Name 'RemoteAppLogoffTimeLimit' -PropertyType DWord -Value 28800000 -Force | Out-Null
# 12시간
New-ItemProperty -Path 'HKCU:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Name 'RemoteAppLogoffTimeLimit' -PropertyType DWord -Value 43200000 -Force | Out-Null
# 16시간
New-ItemProperty -Path 'HKCU:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Name 'RemoteAppLogoffTimeLimit' -PropertyType DWord -Value 57600000 -Force | Out-Null
# 18시간
New-ItemProperty -Path 'HKCU:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Name 'RemoteAppLogoffTimeLimit' -PropertyType DWord -Value 64800000 -Force | Out-Null
# 1일
New-ItemProperty -Path 'HKCU:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Name 'RemoteAppLogoffTimeLimit' -PropertyType DWord -Value 86400000 -Force | Out-Null
# 2일
New-ItemProperty -Path 'HKCU:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Name 'RemoteAppLogoffTimeLimit' -PropertyType DWord -Value 172800000 -Force | Out-Null
# 3일
New-ItemProperty -Path 'HKCU:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Name 'RemoteAppLogoffTimeLimit' -PropertyType DWord -Value 259200000 -Force | Out-Null
# 4일
New-ItemProperty -Path 'HKCU:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Name 'RemoteAppLogoffTimeLimit' -PropertyType DWord -Value 345600000 -Force | Out-Null
# 5일
New-ItemProperty -Path 'HKCU:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Name 'RemoteAppLogoffTimeLimit' -PropertyType DWord -Value 432000000 -Force | Out-Null