위치 스크립팅 끄기 레지스트리 값 DisableLocationScripting (HKLM LocationAndSensors)컴퓨터HKLM\Software\Policies\Microsoft\Windows\LocationAndSensors
- 정책 ID
- DisableLocationScripting_2
- 범위
- 컴퓨터 구성
- 지원 OS
- Windows Server 2008 R2 또는 Windows 7 이상
- 출처
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (버전 1.0)
- 카테고리
- Windows 구성 요소 › 위치 및 센서
레지스트리
DisableLocationScripting
REG_DWORD컴퓨터- 활성 값
- 1
- 비활성 값
- 0
.reg · CMD · PowerShell로 적용하기
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\LocationAndSensors] ; 선택 항목 (하나만 사용) ; 사용 "DisableLocationScripting"=dword:00000001 ; 사용 안 함 "DisableLocationScripting"=dword:00000000
CMD
:: 선택 항목 (하나만 사용) :: 사용 reg add "HKLM\Software\Policies\Microsoft\Windows\LocationAndSensors" /v "DisableLocationScripting" /t REG_DWORD /d 1 /f :: 사용 안 함 reg add "HKLM\Software\Policies\Microsoft\Windows\LocationAndSensors" /v "DisableLocationScripting" /t REG_DWORD /d 0 /f
PowerShell
# 공통: 키 만들기 New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\LocationAndSensors' -Force | Out-Null # 선택 항목 (하나만 사용) # 사용 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\LocationAndSensors' -Name 'DisableLocationScripting' -PropertyType DWord -Value 1 -Force | Out-Null # 사용 안 함 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\LocationAndSensors' -Name 'DisableLocationScripting' -PropertyType DWord -Value 0 -Force | Out-Null