如何使用CMD kill Process
因公司會定期掃到一些有弱點的軟體,但那些軟體都是免安裝版,推論是下班沒有關閉而被掃到,所以就寫一的定時排程關閉那些軟體吧!!
taskkill 參數
這邊會使用到/IM與/F參數
包裝成bat file
1 | taskkill /IM "redis-server.exe" /F |
設定windows排程就大功告成
step01
step02
step03
step04
step05
step06
step07
step08
step09
step10
reference
All articles in this blog are licensed under CC BY-NC-SA 4.0 unless stating additionally.
Comment