Windows

pscp

1. Intro When you need to upload files from your computer (Windows) to the server.   2. Prerequirements Install putty   3. How to use? pscp -P [Port] [source server/directory] [target server/directory]  

Continue Reading
Windows

Windows Alarm using slack

# Windows Startup/Shutdown, Logon/Logoff 시 알람 # Startup/Shutdown gpedit.msc – Computer Configuration – Windows Settings – Scripts (Startup/Shutdown) C:\Windows\System32\curl.exe -X POST –data-urlencode “payload={\”channel\”: \”[#channel]\”, \”username\”: \”[username]\”, \”text\”: \”[text]\”, \”icon_emoji\”: \”:watermelon:\”}” “[Slack api address]” # Logon/Logoff gpedit.msc – User Configuration – Windows Settings – Scripts (Logon/Logoff) C:\Windows\System32\curl.exe -X POST –data-urlencode “payload={\”channel\”: \”[#channel]\”, \”username\”: \”[username]\”, \”text\”: \”[text]\”, […]

Continue Reading
Windows

[command] sc

Command Command Description sc start [service name] Start service sc stop [service name] Stop service sc config [service name] start=[auto/system/demand/disabled] service 시작 유형 설정 sc failure [service name] action=[/O] reset=O service 복구 옵션 O ; 동작하지 않음

Continue Reading
Windows

Remove Auto Share Folder on Windows

Intro Windows share default folder like C$, D$, IPC$, ADMIN$.But Security aspect that is very weak. Then remove share folder Command net share ; show share folder net share /delete [Share Folder Name] ; delete share folder(Not delete Original folder, Just Delete share link) reg add HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters /v AutoShareWks /t REG_DWORD /d 0   Firewall […]

Continue Reading
Back To Top