Configure monitoring for incoming and outgoing file and program activity(들어오는/나가는 파일 및 프로그램 작업에 대한 모니터링 구성) 레지스트리 값 RealtimeScanDirection컴퓨터HKLM\Software\Policies\Microsoft\Windows Defender\Real-Time Protection
- 정책 ID
- RealtimeProtection_RealtimeScanDirection
- 범위
- 컴퓨터 구성
- 지원 OS
- Windows Server 2012, Windows 8 또는 Windows RT 이상
- 출처
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (버전 1.0)
- 카테고리
- Windows 구성 요소 › Microsoft Defender 바이러스 백신 › 실시간 보호 기능
레지스트리
RealtimeScanDirection
-컴퓨터RealtimeScanDirection
REG_DWORD컴퓨터- 활성 값
- 선택 값에 따름
- 요소
- Configure monitoring for incoming and outgoing file and program activity(들어오는/나가는 파일 및 프로그램 작업에 대한 모니터링 구성)
| 항목 | 저장 값 |
|---|---|
| 양방향(전체 실시간) | 0 |
| 들어오는 파일만 검사(열린 쪽 사용 안 함) | 1 |
| 나가는 파일만 검사(닫힌 쪽 사용 안 함) | 2 |
.reg · CMD · PowerShell로 적용하기
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows Defender\Real-Time Protection] ; 선택 항목 (하나만 사용) ; 양방향(전체 실시간) "RealtimeScanDirection"=dword:00000000 ; 들어오는 파일만 검사(열린 쪽 사용 안 함) "RealtimeScanDirection"=dword:00000001 ; 나가는 파일만 검사(닫힌 쪽 사용 안 함) "RealtimeScanDirection"=dword:00000002
CMD
:: 선택 항목 (하나만 사용) :: 양방향(전체 실시간) reg add "HKLM\Software\Policies\Microsoft\Windows Defender\Real-Time Protection" /v "RealtimeScanDirection" /t REG_DWORD /d 0 /f :: 들어오는 파일만 검사(열린 쪽 사용 안 함) reg add "HKLM\Software\Policies\Microsoft\Windows Defender\Real-Time Protection" /v "RealtimeScanDirection" /t REG_DWORD /d 1 /f :: 나가는 파일만 검사(닫힌 쪽 사용 안 함) reg add "HKLM\Software\Policies\Microsoft\Windows Defender\Real-Time Protection" /v "RealtimeScanDirection" /t REG_DWORD /d 2 /f
PowerShell
# 공통: 키 만들기 New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Real-Time Protection' -Force | Out-Null # 선택 항목 (하나만 사용) # 양방향(전체 실시간) New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Real-Time Protection' -Name 'RealtimeScanDirection' -PropertyType DWord -Value 0 -Force | Out-Null # 들어오는 파일만 검사(열린 쪽 사용 안 함) New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Real-Time Protection' -Name 'RealtimeScanDirection' -PropertyType DWord -Value 1 -Force | Out-Null # 나가는 파일만 검사(닫힌 쪽 사용 안 함) New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Real-Time Protection' -Name 'RealtimeScanDirection' -PropertyType DWord -Value 2 -Force | Out-Null