전체 글

몇 달만 지나도 가물가물해서 만든 곳
특정 사이트나 전체 사이트에 아래와 같은 인증서 오류가 발생하는 경우가 생깁니다. 컴퓨터 루트 인증서 만료 또는 오류로 인한 증상입니다. 이때는 인증서 자동업데이트를 활성화 시켜서 해결할수 있습니다. 컴퓨터\HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\SystemCertificates\AuthRoot\DisableRootAutoUpdate DisableRootAutoUpdate 1(false)를 0(true)으로 변경하면 바로 루트 인증서 갱신이 이루어집니다. 인증서 오류 해결후 다시 false로 바꾸면 될것 같습니다.
· Windows
특정 시간으로 기준으로 이벤트 발생하는 방법입니다. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Diagnostics; using System.Drawing; using System.Linq; using System.Text; using System.Threading..
· Windows
// process가 이미 종료되었는지 확인후 process가 살아 있을경우 CloseMainWindows,kill작업 시작 // 실행한 프로세스 정상종료(CloseMainWindow())를 하고난뒤에도 process가 살아 있을경우 // 강제 kill public void KillProcess(int pid) { try { ManagementObjectSearcher procSearcher = new ManagementObjectSearcher("SELECT * FROM Win32_Process WHERE ParentProcessID=" + pid); if (procSearcher.Get().Count > 0) { Process proc = Process.GetProcessById(pid); proc...
· Windows
C#에서 외부 프로그램을 실행시 외부 프로그램의 프로세스 부모&자식 PID를 찾는 방법입니다. 프로그램 종료시 자식 프로세스가 종료되지 못하는 경우 PID찾아 kill하면 될것 같습니다. 샘플은 크롬 브라우져 실행해서 PID를 가져오는 방법입니다. using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Management; using System.IO; using System.Diagnostics; using System.Threading; using Microsoft.Win32; namespace ConsoleProcess { /..
프로세스 세부항목을 볼수 있는 유틸리티 - 좀비 프로세스 확인 및 kill - 실행 프로세스 세부 옵션 확인 https://docs.microsoft.com/en-us/sysinternals/downloads/process-explorer Process Explorer - Windows Sysinternals Find out what files, registry keys and other objects processes have open, which DLLs they have loaded, and more. docs.microsoft.com
Clear CMOS and clear password jumper location PSW bridged (closed) = Default state (password enabled) PSW unbridged (open) = Password cleared on startup SW_CMOS unbridged (open) = Default state SW_CMOS bridged (closed) = CMOS reset to default settings during next restart https://support.hp.com/us-en/document/c05066299 HP and Compaq Desktop PCs - motherboard specifications, Hamar | HP® Customer S..
zosystem
동방노트