CNG 해시 알고리즘 지정 레지스트리 값 hashalgorithm (access\security\crypto)사용자HKCU\software\policies\microsoft\office\16.0\access\security\crypto
- 정책 ID
- L_SpecifyCNGHashAlgorithm
- 범위
- 사용자 구성
- 지원 OS
- Windows Server 2008 R2 또는 Windows 7 이상
- 출처
- Microsoft 365 Apps / Office Administrative Templates (버전 5568.1000)
- 카테고리
- Microsoft Access 2016 › 응용 프로그램 설정 › 보안 › 암호화
레지스트리
hashalgorithm
REG_SZ사용자- 활성 값
- 선택 값에 따름
- 요소
- -
| 항목 | 저장 값 |
|---|---|
| SHA1 | SHA1 |
| SHA256 | SHA256 |
| SHA384 | SHA384 |
| SHA512 | SHA512 |
.reg · CMD · PowerShell로 적용하기
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\access\security\crypto] ; 선택 항목 (하나만 사용) ; SHA1 "hashalgorithm"="SHA1" ; SHA256 "hashalgorithm"="SHA256" ; SHA384 "hashalgorithm"="SHA384" ; SHA512 "hashalgorithm"="SHA512"
CMD
:: 선택 항목 (하나만 사용) :: SHA1 reg add "HKCU\software\policies\microsoft\office\16.0\access\security\crypto" /v "hashalgorithm" /t REG_SZ /d "SHA1" /f :: SHA256 reg add "HKCU\software\policies\microsoft\office\16.0\access\security\crypto" /v "hashalgorithm" /t REG_SZ /d "SHA256" /f :: SHA384 reg add "HKCU\software\policies\microsoft\office\16.0\access\security\crypto" /v "hashalgorithm" /t REG_SZ /d "SHA384" /f :: SHA512 reg add "HKCU\software\policies\microsoft\office\16.0\access\security\crypto" /v "hashalgorithm" /t REG_SZ /d "SHA512" /f
PowerShell
# 공통: 키 만들기 New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\access\security\crypto' -Force | Out-Null # 선택 항목 (하나만 사용) # SHA1 New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\access\security\crypto' -Name 'hashalgorithm' -PropertyType String -Value 'SHA1' -Force | Out-Null # SHA256 New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\access\security\crypto' -Name 'hashalgorithm' -PropertyType String -Value 'SHA256' -Force | Out-Null # SHA384 New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\access\security\crypto' -Name 'hashalgorithm' -PropertyType String -Value 'SHA384' -Force | Out-Null # SHA512 New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\access\security\crypto' -Name 'hashalgorithm' -PropertyType String -Value 'SHA512' -Force | Out-Null