IT/Windows(18)
-
[DNS] Zone 파일 Export.
전체 Zone 목록 조회 > dnscmd /EnumZones Zone 파일 Export > dnscmd /ZoneExport > dnscmd /ZoneExport domain domain.zone 전체 Record 목록 조회 > dnscmd /EnumRecords . > dnscmd /EnumRecords domain . // export > dnscmd /EnumRecords . > > dnscmd /EnumRecords domain . > domain.record.full 하위 Record 목록 조회 > dnscmd /EnumRecords . /Child > dnscmd /EnumRecords domain . /Child // export > dnscmd /EnumRecords . /Child > >..
2020.10.16 -
[Windows] *.DLL의 .NET Framework 버전 확인
IIS 웹 서버에서 BonCode 버전 업그레이드를 진행하던 중 다음과 같은 오류가 발생했다. 그래서 BonCodeAJP13.dll 의 런타임을 확인해 보았다. PS > $path = "D:\BonCodeAJP13.dll" PS > [Reflection.Assembly]::ReflectionOnlyLoadFrom($path).ImageRuntimeVersion 이제 IIS 응용 프로그램 풀에서 해당 사이트의 풀을 dll의 런타임과 동일한 버전으로 변경해주면 된다. 서비스 재시작 필요없이 바로 정상작동 하는 것을 확인할 수 있다.
2020.09.11 -
[CMD] 활성 코드 페이지 영구 변경하기
CMD에서 현재 페이지 코드를 변경해도 CMD를 다시 킬 경우 설정 값이 초기화 된다. 이런 경우 레지스트리를 이용하여 자동으로 변경되게끔 해주면 된다. 1. [실행] - 'regedit' - HKEY_LOCAL_MACHINE\Software\Microsoft\Command Processor 2. [새로 만들기] - [문자열 값] 3. 레지스트리 생성 - 이름: Autorun / 값: chcp 437 & cls 이제 CMD를 실행하면, 원하는 코드 값으로 변경된 것을 확인할 수 있다. 현재 페이지 코드 확인하기 > chcp 명령줄로 설정하기 > reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Command Processor" /v Autorun /d "chcp 437 ..
2020.08.19 -
[Windows] 'Windows\Temp' directory is full of cab_xxxxx files
The system drive usage was very high, so I started looking for the cause, and the cause was the cab_xxxxx files in the Windows temporary folder. However, those files were not easily erased. I checked a little more, the cab_xxxxx files were creating when the CBS log file was compressing. Usually, the temporary folder files are automatically deleted, but it is confirmed as an error that occurred b..
2020.08.12 -
[Windows] Location of the Startup folder
On Windows Server, I found that the schedule that is executed when the system boots up is registered in the task scheduler, so I used another method to register the startup program to clean the task scheduler. It is a method to register in the startup program like a common PC without using the task scheduler. But I couldn't register startup program same way as the PC, so I had to directly add st..
2020.07.29 -
[Windows] TLS 1.0, TLS 1.1 비활성화 / TLS 1.2 활성화
SSL, TLS의 경우 서버와 클라이언트 중 한 쪽에서라도 프로토콜이 비활성화되면 연결에 사용하지 않는다. 따라서 위의 메시지가 뜰 경우, 웹 서버 측에서 하위 버전 프로토콜을 비활성화하면 해결 된다:D 레지스트리를 수정하여 비활성화 하도록 하자. 기존에 설정된 레지스트리가 있는지 확인. > reg query "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols" (레지스트리 수정은 항상 조심하기) 아래 명령어에는 값을 무조건 변경하는 '/f' 옵션이 추가되어있습니다. > reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityPr..
2020.07.28